mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4391] 高版本(0.58.1和0.59)frps,在连接。到达心跳时间后会断开 #3466
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#3466
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 @haimian467 on GitHub (Aug 19, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4391
Bug Description
当frps的版本为0.58.1或者0.59时
当客户端进行连接开始计时,时间到达“heartbeat_timeout”后会断开连接。
0.57版本就不会出现这样的情况
当heartbeat_timeout = 90,会在连接的90秒后断开
当heartbeat_timeout = 30,会在连接的30秒后断开
frpc Version
all
frps Version
frps -0.58.1 and frps -0.59
System Architecture
linux/amd64
Configurations
** frps**
[common]
bind_addr = 0.0.0.0
bind_port = 7000
bind_udp_port = 7000
vhost_http_port = 8080
vhost_https_port = 443
dashboard_port = 1234
token = *************
dashboard_user = *************
dashboard_pwd = *************
#enablePrometheus = true
#enable_prometheus = true
heartbeat_timeout = 30
user_conn_timeout = 60
vhost_http_timeout = 90
frpc
[common]
server_addr=*************
server_port=7000
token=*************
user=admin
#TCP
[TCP]
type = tcp
local_ip = 127.0.0.1
local_port = 3389
remote_port = 3389
Logs
No response
Steps to reproduce
...
Affected area
@superzjg commented on GitHub (Aug 19, 2024):
0.58以上尝试都用toml配置,不用ini,且不指定心跳参数(默认关闭),不要关闭默认的tcpmux
@haimian467 commented on GitHub (Aug 20, 2024):
感谢您的回复,不指定 心跳是解决问题的关键。
将如下代码注释掉
#heartbeat_timeout = 30