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

frpc启动失败 #4

Open
yunxzh opened this issue Apr 16, 2024 · 4 comments
Open

frpc启动失败 #4

yunxzh opened this issue Apr 16, 2024 · 4 comments

Comments

@yunxzh
Copy link

yunxzh commented Apr 16, 2024

Screenshot_20240416-191515

2024/04/16 10:54:40 [W] [service.go:133] login to server failed: dial tcp 127.0.0.1:7000: connect: connection refused
2024/04/16 10:55:01 [W] [service.go:133] login to server failed: dial tcp 127.0.0.1:7000: connect: connection refused
2024/04/16 10:56:00 [W] [service.go:133] login to server failed: dial tcp 127.0.0.1:7000: connect: connection refused
2024/04/16 10:57:00 [W] [service.go:133] login to server failed: dial tcp 127.0.0.1:7000: connect: connection refused
2024/04/16 10:58:01 [W] [service.go:133] login to server failed: dial tcp 127.0.0.1:7000: connect: connection refused
2024/04/16 10:59:00 [W] [service.go:133] login to server failed: dial tcp 127.0.0.1:7000: connect: connection refused
2024/04/16 11:00:01 [W] [service.go:133] login to server failed: dial tcp 127.0.0.1:7000: connect: connection refused
2024/04/16 11:01:01 [W] [service.go:133] login to server failed: dial tcp 127.0.0.1:7000: connect: connection refused
2024/04/16 11:02:01 [W] [service.go:133] login to server failed: EOF
2024/04/16 11:03:01 [W] [service.go:133] login to server failed: EOF
2024/04/16 11:04:10 [W] [service.go:133] login to server failed: dial tcp 我的服务器IP:端口: connect: network is unreachable
2024/04/16 11:05:01 [W] [service.go:133] login to server failed: EOF
2024/04/16 11:06:00 [W] [service.go:133] login to server failed: EOF
2024/04/16 11:07:00 [W] [service.go:133] login to server failed: EOF

@Yang2635
Copy link
Owner

frpc.ini配置文件没配置连接服务器

@Ran-Xing
Copy link

好像确实是login_fail_exit false 启动的时候 报错 network is unreachable,应该需要延迟启动

@Ran-Xing
Copy link

破案了,dial_server_timeout = 10
login_fail_exit false 要放在服务前面

@Ran-Xing
Copy link

Ran-Xing commented Oct 13, 2024

@Yang2635 请教一些知识,我准备写个插件,监听wifi状态是否连接,有没有省电方案推荐,目前比较直接的就是cron定时任务 1h检测一次,我看还有什么 BroadcastReceiver 监听,但是要写Java类,我不太会,而且主要的功能就是 wifi断开则启动magisk-zerotier 功能,还得调用脚本

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

3 participants