mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #399] 启动时连接服务器端超时,建议增加连接重试功能 #295
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#295
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 @jjldc on GitHub (Jul 13, 2017).
Original GitHub issue: https://github.com/fatedier/frp/issues/399
What version of frp are you using (./frpc -v or ./frps -v)?
frpc 0.12.0
What operating system and processor architecture are you using (
go env)?Windows 10 amd64
Configures you used:
`[common]
server_addr = 21.21.29.162
server_port = 7000
privilege_token = 113325
[telnet]
type = tcp
local_ip = 192.168.2.108
local_port = 23
remote_port = 23680
`
Steps to reproduce the issue:
网络质量不佳时,连接到服务器经常超时退出。
我使用脚本将frpc设置为自启动后,有很大概率因为连接不上服务器而退出客户端,无法做到无人值守。
Describe the results you received:
建议:
目前frpc在连接到服务器后如果出现断线,有自动恢复措施,但在第一次连接失败时没有相应的重试机制。
建议增加首次连接时的重试功能,方便把frpc作为系统服务添加,实现无人值守的启动。
@fatedier commented on GitHub (Jul 13, 2017):
https://github.com/fatedier/frp/blob/master/conf/frpc_full.ini#L34
配置此参数。
@jjldc commented on GitHub (Jul 13, 2017):
谢谢,文档里没看到这个参数,没注意到
已经解决了~