MetaCubeX / mihomo

A simple Python Pydantic model for Honkai: Star Rail parsed data from the Mihomo API.
https://wiki.metacubex.one
MIT License
16.95k stars 2.67k forks source link

tart Tun interface timeout: The device is not ready for use #751

Open alsojin0806 opened 1 year ago

alsojin0806 commented 1 year ago

[2023-09-14 10:10:23][Information] 启动服务(2023/9/14 10:10:23)...... [2023-09-14 10:12:51][Information] Guard---------------: time="2023-09-14T10:12:51.0744574+08:00" level=info msg="Start initial configuration in progress" [2023-09-14 10:12:51][Information] Guard---------------: time="2023-09-14T10:12:51.0888775+08:00" level=info msg="Geodata Loader mode: memconservative" [2023-09-14 10:12:51][Information] Guard---------------: time="2023-09-14T10:12:51.0956655+08:00" level=info msg="Initial configuration complete, total time: 7ms" [2023-09-14 10:12:51][Information] Guard---------------: time="2023-09-14T10:12:51.0966476+08:00" level=info msg="Sniffer is closed"

[2023-09-14 10:12:51][Information] Guard---------------: time="2023-09-14T10:12:51.1016309+08:00" level=warning msg="[TUN] default interface changed by monitor, => 以太网" [2023-09-14 10:13:06][Information] Guard---------------: time="2023-09-14T10:13:06.2866198+08:00" level=warning msg="Start Tun interface timeout: The device is not ready for use. [retrying 1/3]" [2023-09-14 10:13:21][Information] Guard---------------: time="2023-09-14T10:13:21.4283698+08:00" level=warning msg="Start Tun interface timeout: The device is not ready for use. [retrying 2/3]" [2023-09-14 10:13:36][Information] Guard---------------: time="2023-09-14T10:13:36.5758831+08:00" level=warning msg="Start Tun interface timeout: The device is not ready for use. [retrying 3/3]" [2023-09-14 10:13:36][Information] Guard---------------: time="2023-09-14T10:13:36.5764071+08:00" level=error msg="Start TUN listening error: configure tun interface: The device is not ready for use."

有没有哪个遇到这种问题 查看代码是wintun创建失败 .singbox那边的代码

stevejohnson7 commented 1 year ago

管理员权限给了吗,我这里tun正常