mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3183] timeout when connecting to frps through the socks5 proxy with the kcp protocol #2554
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#2554
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 @aa51513 on GitHub (Nov 23, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/3183
Bug Description
When connecting to frps through the socks5 proxy, if kcp is specified, it will fail to connect
frpc Version
0.44.0
frps Version
0.44.0
System Architecture
linux/amd64
Configurations
[common]
log_file = /var/log/frp/frpc.log
http_proxy = socks5://hello:world@127.0.0.1:1080
server_addr = 10.0.0.173
server_port = 7000
token = frpToken123
protocol = kcp
[server_ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 6000
Logs
[W] [service.go:204] [f98f1934ed9f4b28] reconnect to server error: i/o deadline reached, wait 20s for another retry
[I] [service.go:201] [f98f1934ed9f4b28] try to reconnect to server...
[W] [service.go:204] [f98f1934ed9f4b28] reconnect to server error: i/o deadline reached, wait 20s for another retry
[I] [service.go:201] [f98f1934ed9f4b28] try to reconnect to server...
[W] [service.go:204] [f98f1934ed9f4b28] reconnect to server error: i/o deadline reached, wait 20s for another retry
[I] [service.go:201] [f98f1934ed9f4b28] try to reconnect to server...
[W] [service.go:204] [f98f1934ed9f4b28] reconnect to server error: i/o deadline reached, wait 20s for another retry
[I] [service.go:201] [f98f1934ed9f4b28] try to reconnect to server...
Steps to reproduce
when i changed the protocol from kcp to tcp it worked
[common]
log_file = /var/log/frp/frpc.log
http_proxy = socks5://hello:world@127.0.0.1:1080
server_addr = 10.0.0.173
server_port = 7000
token = frpToken123
protocol = tcp
[server_ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 6000
Affected area
@fatedier commented on GitHub (Nov 23, 2022):
https://github.com/fatedier/frp/blob/dev/conf/frpc_full.ini#L17
@aa51513 commented on GitHub (Nov 23, 2022):
Thanks for pointing out my oversight