Files
Snap.Hutao.Docs/assets/exceptions.html-1495f8ea.js

2 lines
3.3 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import{ac as i,H as l,I as r,F as e,V as t,O as n,ad as a,Y as s}from"./framework-3390b3d8.js";const c={},d=e("h1",{id:"常见的程序异常",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#常见的程序异常","aria-hidden":"true"},"#"),t(" 常见的程序异常")],-1),u=e("p",null,[t("该文档包含由"),e("strong",null,"用户端错误"),t("造成的问题")],-1),h=e("h2",{id:"runtimeenvironmentexception",tabindex:"-1"},[e("a",{class:"header-anchor",href:"#runtimeenvironmentexception","aria-hidden":"true"},"#"),t(" RuntimeEnvironmentException")],-1),p=e("li",null,[t("异常:"),e("code",null,"RuntimeEnvironmentException"),e("ul",null,[e("li",null,[t("提示:"),e("code",null,"未开启长路径功能,无法设置注册表键值")])])],-1),_=e("li",null,"问题来源:没有解除 Windows 目录长度限制",-1),m={href:"https://d.hut.ao/d/tools/EnableLongPaths.zip",target:"_blank",rel:"noopener noreferrer"},x=e("code",null,".reg",-1),f=a('<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>该异常实际上来源于米游社的返回信息,包括: <ul><li><code>Return Code: -10001</code></li><li><code>Return Code: -100</code></li></ul></li><li>问题来源Cookie 过期或网络异常</li><li>解决方案: <ul><li>在帐号面板中,点击<code>刷新 Cookie</code></li></ul></li></ul><h2 id="httprequestexception" tabindex="-1"><a class="header-anchor" href="#httprequestexception" aria-hidden="true">#</a> HttpRequestException</h2>',3),b={href:"https://github.com/DGP-Studio/Snap.Hutao/issues/100",target:"_blank",rel:"noopener noreferrer"},g=e("p",null,[t("当胡桃工具箱无法从远程服务器获取到必要资源时(通常是配置文件和图片缓存),会在用户界面抛出如下图所示的 "),e("code",null,"HttpRequestException"),t(" 错误。")],-1),k=e("p",null,[e("img",{src:"https://img.alicdn.com/imgextra/i3/1797064093/O1CN01Tb2RUm1g6du5YeNuy_!!1797064093.jpg",alt:"HttpRequestException",loading:"lazy"})],-1),E=e("p",null,"当你遇到该情况,且已经确定本地网络没有互联网连接问题时,请检查是否启用了系统代理程序。如果是,请关闭。胡桃工具箱的远程服务器在全世界范围内都有类似的体验效果, 你无需为了胡桃工具箱的网络连接而使用代理网络。",-1),C={href:"https://www.telerik.com/fiddler/add-ons",target:"_blank",rel:"noopener noreferrer"},R={href:"https://learn.microsoft.com/zh-CN/windows/iot-core/develop-your-app/loopback",target:"_blank",rel:"noopener noreferrer"};function v(w,N){const o=s("ExternalLinkIcon");return l(),r("div",null,[d,u,h,e("ul",null,[p,_,e("li",null,[t("解决方案:下载 "),e("a",m,[t("EnableLongPaths.zip"),n(o)]),t(" 后解压,以管理员身份运行解压后的 "),x,t(" 文件")])]),f,e("blockquote",null,[e("p",null,[t("相关 Issue: "),e("a",b,[t("https://github.com/DGP-Studio/Snap.Hutao/issues/100"),n(o)])])]),g,k,E,e("p",null,[t("如果系统代理是你的网络必须选项,请关闭系统代理而使用 TUN 模式代理;或者也可以通过 "),e("a",C,[t("Windows 8 AppContainer Loopback Utility"),n(o)]),t(" 解除 "),e("a",R,[t("Windows APP Container Loopback 的限制"),n(o)]),t(" 。")])])}const H=i(c,[["render",v],["__file","exceptions.html.vue"]]);export{H as default};