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]: FATAL[0000] start service: initialize inbound/tun[tun-in]: configure tun interface: set ipv4 dns: The RPC server is unavailable. #5362

Closed
2 tasks done
jujubeja opened this issue Jul 15, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@jujubeja
Copy link

预期情况

TUN无法使用

实际情况

启动服务(2024/07/15 10:31:56)...
Xray 1.8.16 (Xray, Penetrates Everything.) 9432a60 (go1.22.4 windows/amd64)
A unified platform for anti-censorship.
2024/07/15 10:31:56 Using default config: C:\Users\ais\Downloads\v2rayN-With-Core\guiConfigs\config.json
2024/07/15 10:31:56 [Info] infra/conf/serial: Reading config: C:\Users\aiss\Downloads\v2rayN-With-Core\guiConfigs\config.json
2024/07/15 10:31:56 [Warning] core: Xray 1.8.16 started
FATAL[0000] start service: initialize inbound/tun[tun-in]: configure tun interface: set ipv4 dns: The RPC server is unavailable.

复现方法

启用TUN模式

日志信息

启动服务(2024/07/15 10:31:56)...
Xray 1.8.16 (Xray, Penetrates Everything.) 9432a60 (go1.22.4 windows/amd64)
A unified platform for anti-censorship.
2024/07/15 10:31:56 Using default config: C:\Users\ais\Downloads\v2rayN-With-Core\guiConfigs\config.json
2024/07/15 10:31:56 [Info] infra/conf/serial: Reading config: C:\Users\aiss\Downloads\v2rayN-With-Core\guiConfigs\config.json
2024/07/15 10:31:56 [Warning] core: Xray 1.8.16 started
FATAL[0000] start service: initialize inbound/tun[tun-in]: configure tun interface: set ipv4 dns: The RPC server is unavailable.

额外信息

No response

我确认已更新至最新版本

我确认已查询历史issues

@jujubeja jujubeja added the bug Something isn't working label Jul 15, 2024
@2dust
Copy link
Owner

2dust commented Jul 16, 2024

#4539

@2dust 2dust closed this as completed Jul 16, 2024
@atlantis451
Copy link

atlantis451 commented Aug 14, 2024

我怀疑 你的 C:\Windows\System32\drivers\etc\hosts 超过3MB, hosts 过大导致你计算机 ,,开机 "ip dns 或网络 变更" 在10分钟内都没有网络, 连接上v2rayN 也会10分钟内没有网络.

这是你停用 注册表 计算机\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Dnscache 导致的, 你的Start 应该是4

停用 注册表 Dnscache 就算hosts 过大也不会没有网络。

v2rayN依赖Dnscache 才会出现这个错误

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

3 participants