mirror of
https://jihulab.com/DGP-Studio/Snap.Hutao.Docs.git
synced 2025-11-19 21:16:31 +08:00
2 lines
5.2 KiB
JavaScript
2 lines
5.2 KiB
JavaScript
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-1212a57a.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('<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="return-code-1034-verification-failed" tabindex="-1"><a class="header-anchor" href="#return-code-1034-verification-failed" aria-hidden="true">#</a> Return Code: 1034 Verification Failed</h2><ul><li>If Snap Hutao returns <code>1034</code> status code and hints verification failed (usually during the operation of Realtime Notes), it means the operation is blocked by MiHoYo BBS anti-bot system</li><li>Solution: <ul><li>Enter <code>Realtime Notes</code></li><li>Click on <code>Verify Current User and Role</code> button</li><li>Follow the instruction in MiHoYo BBS to verify</li><li>After finishing the verification process, click <code>Complete</code> to close the verification window</li><li>Now, the account should back to normal; If not, process the step above again</li></ul></li></ul><div class="hint-container tip"><p class="hint-container-title">Tips</p><p>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</p></div><div class="hint-container warning"><p class="hint-container-title">Note</p><ul><li>You hardly cannot pass imperceptible verification when your account is <strong>login at other remote Genshin tools</strong> or <strong>login at multiple devices</strong>. This is a security designing of MiHoYo BBS, and cannot bypass</li><li>If you are using <strong>multiple MiHoYo BBS account in your device</strong>, <strong>frequent usage with MiHoYo BBS API</strong> will result in your IP address being banned for a period of time (usually no more than 24 hours). This is a security designing of MiHoYo BBS, and cannot bypass</li></ul></div><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>',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};
|