import{_ as a}from"./plugin-vue_export-helper-c27b6911.js";import{r,o as s,c as l,a as e,b as o,d as n,e as i}from"./app-8966c29b.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: -10001

Return Code: 1034 Verification Failed

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)

',11),_={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),w=e("p",null,[e("img",{src:"https://img.alicdn.com/imgextra/i3/1797064093/O1CN01Tb2RUm1g6du5YeNuy_!!1797064093.jpg",alt:"HttpRequestException",loading:"lazy"})],-1),k={href:"https://www.telerik.com/fiddler/add-ons",target:"_blank",rel:"noopener noreferrer"},x={href:"https://learn.microsoft.com/zh-CN/windows/iot-core/develop-your-app/loopback",target:"_blank",rel:"noopener noreferrer"},v=i(`

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

Error Finding Required Modules

When user launching game with unlock frame-rate feature on, the game may be failed to be launched with the following error shows up:

  1. Error finding required modules: could not read any module, the protection driver may have been loaded
  2. Error finding required modules: timeout

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};