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

[Bug]: Tun模式开启后重启电脑自动关闭 #5725

Closed
2 tasks done
David-plz opened this issue Sep 22, 2024 · 2 comments
Closed
2 tasks done

[Bug]: Tun模式开启后重启电脑自动关闭 #5725

David-plz opened this issue Sep 22, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@David-plz
Copy link

预期情况

重启电脑或重启软件后自动开启Tun模式

实际情况

手动退出软件重新打开,或重启电脑后软件随机启动后,Tun开关默认关闭

复现方法

重启Windows或退出软件后重新打开

日志信息

2024-09-22 10:20:12.8919-INFO subscription更新订阅结束
2024-09-22 16:08:41.5235-INFO MyAppExit Begin
2024-09-22 16:08:41.6525-INFO MyAppExit End
2024-09-22 16:08:41.6679-INFO OnExit
2024-09-22 16:10:54.4028-INFO v2rayN start up | v2rayN - V6.58.0.0 - 2024/09/08 | D:\zz_v2rayN-With-Core-SelfContained\v2rayN.exe
2024-09-22 16:10:54.4028-INFO Microsoft Windows NT 10.0.22631.0 - 64
2024-09-22 16:10:55.0907-DEBUG ,
2024-09-22 16:10:55.0907-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(ProfileItem node, CoreInfo coreInfo, String configPath, Boolean displayLog)
2024-09-22 16:11:54.8238-INFO MyAppExit Begin
2024-09-22 16:11:54.8238-INFO UpdateTaskRunSubscription
2024-09-22 16:11:54.8791-INFO MyAppExit End
2024-09-22 16:11:54.9144-INFO OnExit
2024-09-22 16:11:55.5358-INFO v2rayN start up | v2rayN - V6.58.0.0 - 2024/09/08 | D:\zz_v2rayN-With-Core-SelfContained\v2rayN.exe
2024-09-22 16:11:55.5472-INFO Microsoft Windows NT 10.0.22631.0 - 64
2024-09-22 16:12:56.1557-INFO UpdateTaskRunSubscription
2024-09-22 16:13:19.2534-INFO MyAppExit Begin
2024-09-22 16:13:19.3143-INFO MyAppExit End
2024-09-22 16:13:19.3427-INFO OnExit
2024-09-22 16:13:32.2152-INFO v2rayN start up | v2rayN - V6.58.0.0 - 2024/09/08 | D:\zz_v2rayN-With-Core-SelfContained\v2rayN.exe
2024-09-22 16:13:32.2268-INFO Microsoft Windows NT 10.0.22631.0 - 64
2024-09-22 16:13:32.8769-DEBUG ,
2024-09-22 16:13:32.8855-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(ProfileItem node, CoreInfo coreInfo, String configPath, Boolean displayLog)
2024-09-22 16:14:32.6427-INFO UpdateTaskRunSubscription
2024-09-22 16:15:32.6460-INFO UpdateTaskRunGeo
2024-09-22 16:35:44.1354-INFO MyAppExit Begin
2024-09-22 16:35:44.1818-INFO MyAppExit End
2024-09-22 16:35:44.2356-INFO OnExit
2024-09-22 16:35:44.8672-INFO v2rayN start up | v2rayN - V6.58.0.0 - 2024/09/08 | D:\zz_v2rayN-With-Core-SelfContained\v2rayN.exe
2024-09-22 16:35:44.8672-INFO Microsoft Windows NT 10.0.22631.0 - 64
2024-09-22 16:35:59.7335-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.)
2024-09-22 16:35:59.7335-DEBUG
2024-09-22 16:35:59.7335-ERROR System.IO.IOException: Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.
2024-09-22 16:35:59.7335-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.)
2024-09-22 16:35:59.7335-DEBUG
2024-09-22 16:35:59.7335-ERROR System.IO.IOException: Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.
2024-09-22 16:35:59.7335-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.)
2024-09-22 16:35:59.7335-DEBUG
2024-09-22 16:35:59.7335-ERROR System.IO.IOException: Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.
2024-09-22 16:35:59.7335-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.)
2024-09-22 16:35:59.7335-DEBUG
2024-09-22 16:35:59.7335-ERROR System.IO.IOException: Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.
2024-09-22 16:35:59.7335-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.)
2024-09-22 16:35:59.7335-DEBUG
2024-09-22 16:35:59.7335-ERROR System.IO.IOException: Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.
2024-09-22 16:35:59.7335-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.)
2024-09-22 16:35:59.7335-DEBUG
2024-09-22 16:35:59.7335-ERROR System.IO.IOException: Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.
2024-09-22 16:35:59.7335-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.)
2024-09-22 16:35:59.7335-DEBUG
2024-09-22 16:35:59.7335-ERROR System.IO.IOException: Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.
2024-09-22 16:35:59.7335-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.)
2024-09-22 16:35:59.7335-DEBUG
2024-09-22 16:35:59.7335-ERROR System.IO.IOException: Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.
2024-09-22 16:35:59.7335-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.)
2024-09-22 16:35:59.7335-DEBUG
2024-09-22 16:35:59.7335-ERROR System.IO.IOException: Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.
2024-09-22 16:35:59.7335-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.)
2024-09-22 16:35:59.7335-DEBUG
2024-09-22 16:35:59.7335-ERROR System.IO.IOException: Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.
2024-09-22 16:36:45.2851-INFO UpdateTaskRunSubscription
2024-09-22 16:37:27.4309-INFO MyAppExit Begin
2024-09-22 16:37:27.5043-INFO MyAppExit End
2024-09-22 16:37:27.5530-INFO OnExit
2024-09-22 16:37:34.8004-INFO v2rayN start up | v2rayN - V6.58.0.0 - 2024/09/08 | D:\zz_v2rayN-With-Core-SelfContained\v2rayN.exe
2024-09-22 16:37:34.8117-INFO Microsoft Windows NT 10.0.22631.0 - 64
2024-09-22 16:37:35.4243-DEBUG ,
2024-09-22 16:37:35.4309-DEBUG at ServiceLib.Handler.CoreHandler.RunProcess(ProfileItem node, CoreInfo coreInfo, String configPath, Boolean displayLog)
2024-09-22 16:38:32.3452-INFO MyAppExit Begin
2024-09-22 16:38:32.3832-INFO MyAppExit End
2024-09-22 16:38:32.3832-INFO OnExit
2024-09-22 16:39:29.0888-INFO v2rayN start up | v2rayN - V6.58.0.0 - 2024/09/08 | D:\zz_v2rayN-With-Core-SelfContained\v2rayN.exe
2024-09-22 16:39:29.0888-INFO Microsoft Windows NT 10.0.22631.0 - 64
2024-09-22 16:39:41.4547-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.)
2024-09-22 16:39:41.4547-DEBUG
2024-09-22 16:39:41.4547-ERROR System.IO.IOException: Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.
2024-09-22 16:39:41.4547-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.)
2024-09-22 16:39:41.4547-DEBUG
2024-09-22 16:39:41.4547-ERROR System.IO.IOException: Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.
2024-09-22 16:39:41.4547-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.)
2024-09-22 16:39:41.4547-DEBUG
2024-09-22 16:39:41.4547-ERROR System.IO.IOException: Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.
2024-09-22 16:39:41.4547-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.)
2024-09-22 16:39:41.4547-DEBUG
2024-09-22 16:39:41.4547-ERROR System.IO.IOException: Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.
2024-09-22 16:39:41.4547-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.)
2024-09-22 16:39:41.4547-DEBUG
2024-09-22 16:39:41.4547-ERROR System.IO.IOException: Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.
2024-09-22 16:39:41.4547-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.)
2024-09-22 16:39:41.4547-DEBUG
2024-09-22 16:39:41.4547-ERROR System.IO.IOException: Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.
2024-09-22 16:39:41.4547-DEBUG TaskScheduler_UnobservedTaskException,A Task's exception(s) were not observed either by Waiting on the Task or accessing its Exception property. As a result, the unobserved exception was rethrown by the finalizer thread. (Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.)
2024-09-22 16:39:41.4547-DEBUG
2024-09-22 16:39:41.4547-ERROR System.IO.IOException: Unable to read data from the transport connection: 远程主机强迫关闭了一个现有的连接。.
2024-09-22 16:40:29.4991-INFO UpdateTaskRunSubscription
2024-09-22 16:41:29.4997-INFO UpdateTaskRunGeo

额外信息

No response

我确认已更新至最新版本

我确认已查询历史issues

@David-plz David-plz added the bug Something isn't working label Sep 22, 2024
@2dust
Copy link
Owner

2dust commented Sep 22, 2024

重启要开tun,需要用管理员模式设置下开机自启,这个时候会用任务计划

@2dust 2dust closed this as completed Sep 22, 2024
@David-plz
Copy link
Author

重启要开tun,需要用管理员模式设置下开机自启,这个时候会用任务计划

用任务计划可以管理员模式启动了,但是tun开关默认是关的,每次重启还得自己打开一次,能把开关状态保留下来吗?

@2dust 2dust reopened this Sep 23, 2024
@2dust 2dust closed this as completed in 054f0f2 Sep 23, 2024
lowercase78 added a commit to lowercase78/v2rayN that referenced this issue Sep 23, 2024
commit 60a75d9
Author: 2dust <31833384+2dust@users.noreply.github.com>
Date:   Mon Sep 23 17:23:23 2024 +0800

    up 6.60

commit 2456690
Author: 2dust <31833384+2dust@users.noreply.github.com>
Date:   Mon Sep 23 17:22:14 2024 +0800

    up PackageReference

commit cc42861
Author: 2dust <31833384+2dust@users.noreply.github.com>
Date:   Mon Sep 23 17:17:12 2024 +0800

    Adjusting the text display

commit 4d330ce
Author: 2dust <31833384+2dust@users.noreply.github.com>
Date:   Mon Sep 23 17:05:03 2024 +0800

    Disable auto update geo

commit 2503583
Author: 2dust <31833384+2dust@users.noreply.github.com>
Date:   Mon Sep 23 17:03:28 2024 +0800

    System proxy and tun mode

    2dust#5651

commit 1b11916
Author: 2dust <31833384+2dust@users.noreply.github.com>
Date:   Mon Sep 23 15:16:32 2024 +0800

    Preparing to remove part of the core

    2dust#5703

commit 3dfd557
Author: 2dust <31833384+2dust@users.noreply.github.com>
Date:   Mon Sep 23 15:00:25 2024 +0800

    Fix the problem of showing and hiding statistics columns

commit cd6bea2
Author: 2dust <31833384+2dust@users.noreply.github.com>
Date:   Mon Sep 23 14:10:58 2024 +0800

    Improved font display

    2dust#5713

commit 054f0f2
Author: 2dust <31833384+2dust@users.noreply.github.com>
Date:   Mon Sep 23 13:37:18 2024 +0800

    Bug fix

    2dust#5725

commit 9734767
Author: 2dust <31833384+2dust@users.noreply.github.com>
Date:   Mon Sep 23 12:09:17 2024 +0800

    Bug fix

    2dust#5724

commit 36d1585
Author: 2dust <31833384+2dust@users.noreply.github.com>
Date:   Mon Sep 23 11:04:37 2024 +0800

    Setting up not to automatically update the GEO file on first run

    2dust#5704

commit 4813610
Author: 2dust <31833384+2dust@users.noreply.github.com>
Date:   Mon Sep 23 11:01:03 2024 +0800

    When running for the first time, switch the interface language to English when judging that the system language is not Chinese.

    2dust#5670
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants