mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #2235] 某些客户端通过frp远程连接服务器后30s掉线的问题 #1778
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#1778
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 @shminer on GitHub (Feb 5, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2235
[REQUIRED] hat version of frp are you using
Version: 0.35.1
[REQUIRED] What operating system and processor architecture are you using
OS: server is windows server 2019 and client is windows 7
CPU architecture: amd64
[REQUIRED] description of errors
FIN_WAIT_2。
confile
log file
Steps to reproduce the issue
1.
2.
3.
Supplementary information
Can you guess what caused this issue
Checklist:
@zsinba commented on GitHub (Feb 5, 2021):
是不是你使用的移动的网络,他是共享外网ip,造成了你的对外ip一直在变化 .
电信的adsl试试尼.
@shminer commented on GitHub (Feb 5, 2021):
双方都是固定IP,看了源码应该是作者30s中断一次链接防止长连接。
@github-actions[bot] commented on GitHub (Mar 23, 2021):
Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d of inactivity and eventually close.
@HellowBoy commented on GitHub (Feb 7, 2025):
我是这样解决的,目前测试没问题了。
1、客户端和服务器端关闭端口复用,下面只给出了服务端的配置,客户端也有相应的设置
transport.tcpMux = false
transport.tcpMuxKeepaliveInterval = 60
transport.heartbeatTimeout = 60
2、部分客户端插件注册间隔时间设置为0。如openwrt中
大家可以试试,有用点赞呢
@dream-one commented on GitHub (Feb 19, 2025):
加上第一点配置之后可以多连接几秒,但是还是会断线,第二点怎么设置?