mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #305] getsockopt: no route to host错误 #226
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#226
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @694982827 on GitHub (Apr 23, 2017).
Original GitHub issue: https://github.com/fatedier/frp/issues/305
我所处服务器所在网络有的时候会有点小波动,出现no route to host的错误后一直卡在这里,当网络恢复正常后依然一直报这个错误,重新启动frpc客户端程序才正常。
日志如下
2017/04/23 00:00:11 [control.go:81] [I] ProxyName [6000], try to reconnect to frps [xx.xx.xx.xx:7000]...
2017/04/23 00:00:11 [control.go:81] [I] ProxyName [6001], try to reconnect to frps [xx.xx.xx.xx:7000]...
2017/04/23 00:00:14 [control.go:151] [E] ProxyName [6000], connect to server [xx.xx.xx.xx:7000] error, dial tcp xx.xx.xx.xx:7000: getsockopt: no route to host
2017/04/23 00:00:14 [control.go:151] [E] ProxyName [6001], connect to server [xx.xx.xx.xx:7000] error, dial tcp xx.xx.xx.xx:7000: getsockopt: no route to host
2017/04/23 00:00:44 [control.go:81] [I] ProxyName [6001], try to reconnect to frps [xx.xx.xx.xx:7000]...
2017/04/23 00:00:44 [control.go:81] [I] ProxyName [6000], try to reconnect to frps [xx.xx.xx.xx:7000]...
2017/04/23 00:00:47 [control.go:151] [E] ProxyName [6000], connect to server [xx.xx.xx.xx:7000] error, dial tcp xx.xx.xx.xx:7000: getsockopt: no route to host
2017/04/23 00:00:47 [control.go:151] [E] ProxyName [6001], connect to server [xx.xx.xx.xx:7000] error, dial tcp xx.xx.xx.xx:7000: getsockopt: no route to host
2017/04/23 00:01:17 [control.go:81] [I] ProxyName [6000], try to reconnect to frps [xx.xx.xx.xx:7000]...
2017/04/23 00:01:17 [control.go:81] [I] ProxyName [6001], try to reconnect to frps [xx.xx.xx.xx:7000]...
2017/04/23 00:01:20 [control.go:151] [E] ProxyName [6001], connect to server [xx.xx.xx.xx:7000] error, dial tcp xx.xx.xx.xx:7000: getsockopt: no route to host
2017/04/23 00:01:20 [control.go:151] [E] ProxyName [6000], connect to server [xx.xx.xx.xx:7000] error, dial tcp xx.xx.xx.xx:7000: getsockopt: no route to host
2017/04/23 00:01:50 [control.go:81] [I] ProxyName [6001], try to reconnect to frps [xx.xx.xx.xx:7000]...
2017/04/23 00:01:50 [control.go:81] [I] ProxyName [6000], try to reconnect to frps [xx.xx.xx.xx:7000]...
2017/04/23 00:01:53 [control.go:151] [E] ProxyName [6001], connect to server [xx.xx.xx.xx:7000] error, dial tcp xx.xx.xx.xx:7000: getsockopt: no route to host
2017/04/23 00:01:53 [control.go:151] [E] ProxyName [6000], connect to server [xx.xx.xx.xx:7000] error, dial tcp xx.xx.xx.xx:7000: getsockopt: no route to host
请问是什么原因?
@fatedier commented on GitHub (May 21, 2017):
日志上看是网络问题,连不上服务器。