mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #1866] failed to get work connection: timeout trying to get work connection #1471
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#1471
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 @pomodory on GitHub (Jun 18, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1866
Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST
What version of frp are you using (./frpc -v or ./frps -v)?
0.33.0
What operating system and processor architecture are you using (
go env)?server: CentOS7 amd64
client: CentOS7 amd64
Configures you used:
server:
[common]
bind_port = 7000
kcp_bind_port = 7001
vhost_http_port = 8888
vhost_https_port = 443
subdomain_host = xx.xxx.xx
dashboard_port = 81
dashboard_user = admin
dashboard_pwd = admin
client:
[common]
server_addr = xx.xx.xx
protocol = kcp
server_port = 7001
tls_enable = true
[web]
type = https
custom_domains = xxx.xxx.xx
plugin_crt_path = xxxxxx
plugin_key_path = xxxxx
plugin = https2http
plugin_local_addr = 127.0.0.1:8080
plugin_host_header_rewrite = 127.0.0.1
plugin_header_X-From-Where = frp
Steps to reproduce the issue:
server启动了 client也可以连上 但是访问的时候就不行了
Describe the results you received:
2020/06/18 04:54:56 [I] [service.go:178] frps tcp listen on 0.0.0.0:7000
2020/06/18 04:54:56 [I] [service.go:187] frps kcp listen on udp 0.0.0.0:7001
2020/06/18 04:54:56 [I] [service.go:220] http service listen on 0.0.0.0:8888
2020/06/18 04:54:56 [I] [service.go:241] https service listen on 0.0.0.0:443
2020/06/18 04:54:56 [I] [service.go:277] Dashboard listen on 0.0.0.0:81
2020/06/18 04:54:56 [I] [root.go:209] start frps success
2020/06/18 04:55:01 [I] [service.go:432] [79dd3c4a01023753] client login info: ip [xx.xxx.xxx] version [0.33.0] hostname [] os [linux] arch [amd64]
2020/06/18 04:55:01 [I] [https.go:51] [79dd3c4a01023753] [web] https proxy listen for host [xx.xx.xxx]
2020/06/18 04:55:01 [I] [control.go:445] [79dd3c4a01023753] new proxy [web] success
2020/06/18 04:55:06 [I] [proxy.go:103] [79dd3c4a01023753] [web] get a new work connection: [xx.xx.xxx]
2020/06/18 04:55:16 [W] [control.go:269] [79dd3c4a01023753] timeout trying to get work connection
2020/06/18 04:55:16 [W] [proxy.go:100] [79dd3c4a01023753] [web] failed to get work connection: timeout trying to get work connection
2020/06/18 04:55:27 [W] [control.go:269] [79dd3c4a01023753] timeout trying to get work connection
2020/06/18 04:55:27 [W] [proxy.go:100] [79dd3c4a01023753] [web] failed to get work connection: timeout trying to get work connection
2020/06/18 04:55:31 [I] [control.go:308] [79dd3c4a01023753] control writer is closing
2020/06/18 04:55:31 [I] [proxy.go:87] [79dd3c4a01023753] [web] proxy closing
2020/06/18 04:55:31 [I] [control.go:383] [79dd3c4a01023753] client exit success
2020/06/18 04:55:31 [I] [proxy.go:159] [79dd3c4a01023753] [web] listener is closed
2020/06/18 04:55:31 [I] [service.go:432] [79dd3c4a01023753] client login info: ip [xx.xx.xxx] version [0.33.0] hostname [] os [linux] arch [amd64]
centos的client:
[I] [service.go:282] [79dd3c4a01023753] login to server success, get run id [79dd3c4a01023753], server udp port [0]
2020/06/18 16:55:01 [I] [proxy_manager.go:144] [79dd3c4a01023753] proxy added: [web]
2020/06/18 16:55:01 [I] [control.go:179] [79dd3c4a01023753] [web] start proxy success
2020/06/18 16:55:30 [I] [control.go:267] [79dd3c4a01023753] control writer is closing
2020/06/18 16:55:30 [E] [control.go:157] [79dd3c4a01023753] work connection closed before response StartWorkConn message: EOF
2020/06/18 16:55:30 [I] [service.go:174] [79dd3c4a01023753] try to reconnect to server...
2020/06/18 16:55:30 [I] [visitor_manager.go:60] [79dd3c4a01023753] gracefully shutdown visitor manager
2020/06/18 16:55:31 [I] [service.go:282] [79dd3c4a01023753] login to server success, get run id [79dd3c4a01023753], server udp port [0]
2020/06/18 16:55:31 [I] [proxy_manager.go:144] [79dd3c4a01023753] proxy added: [web]
2020/06/18 16:56:00 [I] [control.go:267] [79dd3c4a01023753] control writer is closing
2020/06/18 16:56:00 [E] [control.go:157] [79dd3c4a01023753] work connection closed before response StartWorkConn message: EOF
Describe the results you expected:
Additional information you deem important (e.g. issue happens only occasionally):
Can you point out what caused this issue (optional)
是不是server获取不到client的连接,具体需要怎么查?