Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在启用Clash的TUN模式时,即使有网络也无法连接 #37

Open
Tug9559 opened this issue May 11, 2023 · 0 comments
Open

在启用Clash的TUN模式时,即使有网络也无法连接 #37

Tug9559 opened this issue May 11, 2023 · 0 comments

Comments

@Tug9559
Copy link

Tug9559 commented May 11, 2023

在Clash中启用TUN模式且配置为fake-ip而非系统代理时,即使网络连接正常,程序仍然会报错,由于AllLive在代码中忽略了记录网络请求的错误,本人不方便搭建调试环境,考虑到情况的类似性,使用BiliLite的日志举例:

2023-05-12 00:19:10.3373|INFO|2|StackTrace.LogRequest|网络请求: [GET]https://app.bilibili.com/x/v2/feed/index?...
2023-05-12 00:19:10.4384|ERROR|2|StackTrace.Send|GET请求失败https://app.bilibili.com/x/v2/feed/index?... Call failed. An error occurred while sending the request: GET https://app.bilibili.com/x/v2/feed/index?...  at Flurl.Http.FlurlRequest.<HandleExceptionAsync>d__35.MoveNext() + 0x21f
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at Flurl.Http.FlurlRequest.<SendAsync>d__29.MoveNext() + 0x551
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at Flurl.Http.FlurlRequest.<SendAsync>d__29.MoveNext() + 0x8e4
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x21
   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0x70
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task) + 0x38
   at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task) + 0x17
   at BiliLite.Models.Requests.BiliRequest.<Send>d__13.MoveNext() + 0x1b7

初步判断和Windows的网络探针有关,https://github.com/Fndroid/clash_for_windows_pkg/issues/3834#issuecomment-1544326291

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant