mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #1985] frp客户端不断重连 #1579
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#1579
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 @PatHoo on GitHub (Sep 16, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/1985
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)?
What operating system and processor architecture are you using (
go env)?Configures you used:
Steps to reproduce the issue:
1.
2.
3.
Describe the results you received:
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)
@PatHoo commented on GitHub (Sep 16, 2020):
服务端Dashboard如下:

@blizard863 commented on GitHub (Sep 16, 2020):
看日志有点像 https://github.com/fatedier/frp/issues/1199 https://github.com/fatedier/frp/issues/1178 这 2 个 issue 提到的问题。
可以观察下是否有防火墙。 另外这个版本的 frp 在这个场景下可能会内存泄露,建议升级到 https://github.com/fatedier/frp/releases/tag/v0.32.1 这个版本之后。
@PatHoo commented on GitHub (Sep 16, 2020):
我有20台客户端,只是随机几台客户端有问题,我在怀疑是不是客户端链接不能太多?
---Original---
From: "vesta"<notifications@github.com>
Sent at: 2020年9月16日(Wed) PM2:31
To: "fatedier/frp"<frp@noreply.github.com>;
Cc: "Author"<author@noreply.github.com>;"PatHoo"<quith@qq.com>;
Subject: Re: [fatedier/frp] frp客户端不断重连 (#1985)
看日志有点像 #1199 #1178 这 2 个 issue 提到的问题。
可以观察下是否有防火墙。 另外这个版本的 frp 在这个场景下可能会内存泄露,建议升级到 https://github.com/fatedier/frp/releases/tag/v0.32.1 这个版本之后。
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
@blizard863 commented on GitHub (Sep 16, 2020):
客户端是在几个不同的机器上? 可以对比下出问题的机器的网络配置,比如防火墙这些。 不过还是建议 frp 升下级,这种不停重连在这个版本下可能会泄露。
@PatHoo commented on GitHub (Sep 16, 2020):
机器都不同的,同一个网段的内网机器,没啥特别的网络配置。我找机会升级试试吧。
---Original---
From: "vesta"<notifications@github.com>
Sent at: 2020年9月16日(Wed) Evening9:42
To: "fatedier/frp"<frp@noreply.github.com>;
Cc: "Author"<author@noreply.github.com>;"PatHoo"<quith@qq.com>;
Subject: Re: [fatedier/frp] frp客户端不断重连 (#1985)
客户端是在几个不同的机器上? 可以对比下出问题的机器的网络配置,比如防火墙这些。 不过还是建议 frp 升下级,这种不停重连在这个版本下可能会泄露。
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
@PatHoo commented on GitHub (Sep 17, 2020):
客户端及服务端均升级到 0.33.0, 但问题依旧,还是一会断开然后几秒钟之内又连接成功。。。
@PatHoo commented on GitHub (Sep 17, 2020):
服务端配置:
客户端配置:
@blizard863 commented on GitHub (Sep 17, 2020):
配置看着没啥毛病, 有一条日志
reconnect to server error: dial tcp X.X.X.X:8686: connect: connection timed out
有点怀疑是不是网络环境不太好,有超时问题。
这种情况可能得通过 tcpdump 抓包然后到 wireshark 分析一下。
@PatHoo commented on GitHub (Sep 17, 2020):
这个是我升级frps的版本的时候停止再启动服务导致的吧?
@PatHoo commented on GitHub (Sep 17, 2020):
找出问题了!内网IP冲突了,我两个网络通过其中一个网络跳转,没关注第二个网络,还是得细致检查。。。
@blizard863 commented on GitHub (Sep 17, 2020):
恩。
@PatHoo commented on GitHub (Sep 18, 2020):
非常感谢!
@blizard863 commented on GitHub (Sep 18, 2020):
/solve
@Jingxu-Li commented on GitHub (Nov 23, 2021):
@PatHoo 可以麻烦问下怎么看出内网ip冲突的吗 我这边有一样的问题 还没解决 谢谢了!