import{_ as i,Y as a,Z as r,$ as e,a0 as o,a1 as n,a3 as l,F as s}from"./framework-8be3ab77.js";const d={},c=e("h1",{id:"common-program-exceptions",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#common-program-exceptions","aria-hidden":"true"},"#"),o(" Common Program Exceptions")],-1),u=e("p",null,[o("This document covers solutions of "),e("strong",null,"foreseeable client error")],-1),h=e("h2",{id:"runtimeenvironmentexception",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#runtimeenvironmentexception","aria-hidden":"true"},"#"),o(" RuntimeEnvironmentException")],-1),p=e("li",null,[o("Exception: "),e("code",null,"RuntimeEnvironmentException"),e("ul",null,[e("li",null,[o("Hint: "),e("code",null,"Unable to set registry key without enabling long path")])])],-1),m=e("li",null,"Issue source: Windows long path limit is set to be limited at 256 characters by default",-1),_={href:"https://d.hut.ao/d/tools/EnableLongPaths.zip",target:"_blank",rel:"noopener noreferrer"},f=e("code",null,".reg",-1),x=l('

Return Code: -10001

HttpRequestException Metadata Download Failed

403 (Forbidden) / 404 (Not Found)

Solution: Update your Snap Hutao to latest version

502 (Bad Gateway)

',6),g={href:"https://github.com/DGP-Studio/Snap.Hutao/issues/100",target:"_blank",rel:"noopener noreferrer"},b=e("p",null,"This HTTP Exception occurs when Snap Hutao failed to fetch remote resource (usually static image and configuration)",-1),y=e("p",null,[e("img",{src:"https://img.alicdn.com/imgextra/i3/1797064093/O1CN01Tb2RUm1g6du5YeNuy_!!1797064093.jpg",alt:"HttpRequestException",loading:"lazy"})],-1),w={href:"https://www.telerik.com/fiddler/add-ons",target:"_blank",rel:"noopener noreferrer"},k={href:"https://learn.microsoft.com/zh-CN/windows/iot-core/develop-your-app/loopback",target:"_blank",rel:"noopener noreferrer"};function E(S,v){const t=s("ExternalLinkIcon");return a(),r("div",null,[c,u,h,e("ul",null,[p,m,e("li",null,[o("Solution: Download "),e("a",_,[o("EnableLongPaths.zip"),n(t)]),o(", unzip it and run "),f,o(" file as administrator")])]),x,e("blockquote",null,[e("p",null,[o("Associated Issue: "),e("a",g,[o("https://github.com/DGP-Studio/Snap.Hutao/issues/100"),n(t)])])]),b,y,e("p",null,[o("If you are using proxy software, you may need to turn it off or using TUN mode proxy; otherwise you need to use "),e("a",w,[o("Windows 8 AppContainer Loopback Utility"),n(t)]),o(" to remove "),e("a",k,[o("Windows APP Container Loopback limits"),n(t)]),o(".")])])}const N=i(d,[["render",E],["__file","exceptions.html.vue"]]);export{N as default};