mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #745] 在FRPS使用动态IP的情况下,IP变动之后FRPC连接被拒绝后并不会重新尝试连接 #584
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#584
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 @huxuansong on GitHub (May 6, 2018).
Original GitHub issue: https://github.com/fatedier/frp/issues/745
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.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)
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)?
FRPC和FRPS均为0.18.0
What operating system and processor architecture are you using (
go env)?FRPS : MT7620A
FRPC: ubuntu 14.05
Configures you used:
frps.ini
[common]
bind_port = ****
privilege_token = ***********
frpc.ini
[common]
server_addr = ddns.oicp.net
server_port = ********
privilege_token = ********8
log_file = frpc.log
log_level = info
log_max_days = 3
Steps to reproduce the issue:
2018/05/05 07:47:53 [W] [control.go:111] login to server failed: dial tcp 218.66.224.70:7060: connect: connection refused ,
并且不会重新尝试连接
Describe the results you expected:
希望能重新尝试连接,
希望能够支持动态DDNS的FRPS,当动态DDNS刷新之后会自动尝试新的IP连接(也就是不要像NGINX那样缓存DNS直到下次重启)
Additional information you deem important (e.g. issue happens only occasionally):
Can you point out what caused this issue (optional)
@newcastlecy commented on GitHub (May 6, 2018):
没有心跳包
@huxuansong commented on GitHub (May 6, 2018):
貌似是我自己的原因,不好意思,暂时关闭
@rickycm commented on GitHub (Jun 11, 2018):
这个问题怎么解决的?外网地址变了之后,客户端可以自动重连吗?
@JakkuSakura commented on GitHub (Oct 29, 2021):
这个问题还没解决。今天遇到了,需要到机房手动重启,比较麻烦。验证过了,可以重新连接,之前原因有两个:DNS用了有缓存的路由器DNS,并且AWS端口防火墙没有开