import{_ as a}from"./plugin-vue_export-helper-x3n3nnut.js";import{r,o as s,c as l,a as e,b as o,d as n,e as i}from"./app-lN74vCyq.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),p=e("h2",{id:"runtimeenvironmentexception",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#runtimeenvironmentexception","aria-hidden":"true"},"#"),o(" RuntimeEnvironmentException")],-1),h=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),f={href:"https://d.hut.ao/d/tools/EnableLongPaths.zip",target:"_blank",rel:"noopener noreferrer"},g=e("code",null,".reg",-1),b=i('
Return Code: -10001Return Code: -100Refresh Cookies1034 status code and hints verification failed (usually during the operation of Realtime Notes), it means the operation is blocked by MiHoYo BBS anti-bot systemRealtime NotesVerify Current User and Role buttonComplete to close the verification windowTips
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
:::
Warning
Solution: Update your Snap Hutao to latest version
You can also execute the following PowerShell script to remove all container loopback limits
FOR /F "tokens=11 delims=\\" %p IN ('REG QUERY "HKCU\\Software\\Classes\\Local Settings\\Software\\Microsoft\\Windows\\CurrentVersion\\AppContainer\\Mappings"') DO CheckNetIsolation.exe LoopbackExempt -a -p=%p
When user launching game with unlock frame-rate feature on, the game may be failed to be launched with the following error shows up:
This issue only occurs when Genshin Impact's anti-cheat module starts earlier than frame-rate-unlocker module. When these errors happen, Snap Hutao will exit game process, and you can re-launch the game.
`,6);function S(E,C){const t=r("ExternalLinkIcon");return s(),l("div",null,[d,u,p,e("ul",null,[h,m,e("li",null,[o("Solution: Download "),e("a",f,[o("EnableLongPaths.zip"),n(t)]),o(", unzip it and run "),g,o(" file")])]),b,e("blockquote",null,[e("p",null,[o("Associated Issue: "),e("a",_,[o("https://github.com/DGP-Studio/Snap.Hutao/issues/100"),n(t)])])]),y,w,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",k,[o("Windows 8 AppContainer Loopback Utility"),n(t)]),o(" to remove "),e("a",x,[o("Windows APP Container Loopback limits"),n(t)]),o(".")]),v])}const R=a(c,[["render",S],["__file","exceptions.html.vue"]]);export{R as default};