mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.Docs.git
synced 2025-11-19 21:16:31 +08:00
2 lines
3.5 KiB
JavaScript
2 lines
3.5 KiB
JavaScript
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('<h2 id="return-code-10001" tabindex="-1"><a class="header-anchor" href="#return-code-10001" aria-hidden="true">#</a> Return Code: -10001</h2><ul><li>This error comes directly from MiHoYo BBS, hints include <ul><li><code>Return Code: -10001</code></li><li><code>Return Code: -100</code></li></ul></li><li>Issue source <ol><li>Cookie expired</li><li>Network error</li><li>System time is not accurate</li></ol></li><li>Solution <ol><li>In the account panel, execute <code>Refresh Cookies</code></li><li>Remove your account and add it again</li><li>Sync your system time</li></ol></li></ul><h2 id="httprequestexception-metadata-download-failed" tabindex="-1"><a class="header-anchor" href="#httprequestexception-metadata-download-failed" aria-hidden="true">#</a> HttpRequestException Metadata Download Failed</h2><h3 id="_403-forbidden-404-not-found" tabindex="-1"><a class="header-anchor" href="#_403-forbidden-404-not-found" aria-hidden="true">#</a> 403 (Forbidden) / 404 (Not Found)</h3><p>Solution: Update your Snap Hutao to latest version</p><h3 id="_502-bad-gateway" tabindex="-1"><a class="header-anchor" href="#_502-bad-gateway" aria-hidden="true">#</a> 502 (Bad Gateway)</h3>',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};
|