import{_ as n}from"./plugin-vue_export-helper-c27b6911.js";import{r as a,o as r,c as s,a as e,b as o,d as i,e as l}from"./app-e0e82de3.js";const c={},d=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),f=e("li",null,"Issue source: Windows long path limit is set to be limited at 256 characters by default",-1),m={href:"https://d.hut.ao/d/tools/EnableLongPaths.zip",target:"_blank",rel:"noopener noreferrer"},g=e("code",null,".reg",-1),_=l('

Return Code: -10001

Return Code: 1034 Verification Failed

Tips

If the risk prompt is too frequent, or the verification cannot be triggered at all, it means that the risk of your account is too high, please change the password, so that the simultaneous login status of multiple devices will be reset

Note

HttpRequestException Metadata Download Failed

403 (Forbidden) / 404 (Not Found)

Solution: Update your Snap Hutao to latest version

502 (Bad Gateway)

',10),b={href:"https://github.com/DGP-Studio/Snap.Hutao/issues/100",target:"_blank",rel:"noopener noreferrer"},y=e("p",null,"This HTTP Exception occurs when Snap Hutao failed to fetch remote resource (usually static image and configuration)",-1),x=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"},v={href:"https://learn.microsoft.com/zh-CN/windows/iot-core/develop-your-app/loopback",target:"_blank",rel:"noopener noreferrer"};function k(S,B){const t=a("ExternalLinkIcon");return r(),s("div",null,[d,u,h,e("ul",null,[p,f,e("li",null,[o("Solution: Download "),e("a",m,[o("EnableLongPaths.zip"),i(t)]),o(", unzip it and run "),g,o(" file as administrator")])]),_,e("blockquote",null,[e("p",null,[o("Associated Issue: "),e("a",b,[o("https://github.com/DGP-Studio/Snap.Hutao/issues/100"),i(t)])])]),y,x,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"),i(t)]),o(" to remove "),e("a",v,[o("Windows APP Container Loopback limits"),i(t)]),o(".")])])}const E=n(c,[["render",k],["__file","exceptions.html.vue"]]);export{E as default};