[GH-ISSUE #4395] frps和frpc点对点配置,挂载的三个ssh服务,会不定期同时中断。 #3469

Closed
opened 2026-05-05 14:13:52 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @sslzhou948 on GitHub (Aug 21, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4395

Bug Description

服务端和客户端分别安装在两套openwrt上,使用mobax访问服务端对应的三个ssh服务,不定期的会所有连接同时中断。

frpc Version

0.47.0

frps Version

0.47.0

System Architecture

Linux/X86_64

Configurations

image

Logs

1724220349323

Steps to reproduce

  1. frpc增加transport.tcpMuxKeepaliveInterval = 30 和transport.heartbeatInterval = 30 
  2. ssh 启用 keepalive,例如 ServerAliveInterval 60
  3. mobax打开链接保持
  4. 日志已经可以看到心跳记录
    ...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @sslzhou948 on GitHub (Aug 21, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4395 ### Bug Description 服务端和客户端分别安装在两套openwrt上,使用mobax访问服务端对应的三个ssh服务,不定期的会所有连接同时中断。 ### frpc Version 0.47.0 ### frps Version 0.47.0 ### System Architecture Linux/X86_64 ### Configurations ![image](https://github.com/user-attachments/assets/008d1855-19fb-4016-820b-57f8270f0b3e) ### Logs ![1724220349323](https://github.com/user-attachments/assets/968b484c-e1a1-4163-a46f-cca661f0aa59) ### Steps to reproduce 1. frpc增加transport.tcpMuxKeepaliveInterval = 30 和transport.heartbeatInterval = 30  2. ssh 启用 keepalive,例如 ServerAliveInterval 60 3. mobax打开链接保持 4. 日志已经可以看到心跳记录 ... ### Affected area - [ ] Docs - [ ] Installation - [X] Performance and Scalability - [ ] Security - [X] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 14:13:52 -06:00
Author
Owner

@firmament2008 commented on GitHub (Aug 23, 2024):

对于TCP长会话。 是否有中间防火墙,配置了最大持续时间? 通常来说KeepaliveInterval 需要大于 3倍的 heartbeatInterval 。

<!-- gh-comment-id:2306002042 --> @firmament2008 commented on GitHub (Aug 23, 2024): 对于TCP长会话。 是否有中间防火墙,配置了最大持续时间? 通常来说KeepaliveInterval 需要大于 3倍的 heartbeatInterval 。
Author
Owner

@xqzr commented on GitHub (Aug 23, 2024):

注意到心跳只有 接收,没有 发送(回复)

<!-- gh-comment-id:2306575029 --> @xqzr commented on GitHub (Aug 23, 2024): 注意到心跳只有 接收,没有 发送(回复)
Author
Owner

@sslzhou948 commented on GitHub (Aug 30, 2024):

注意到心跳只有 接收,没有 发送(回复)

我理解另一端的日志里应该有发送吧?

<!-- gh-comment-id:2320601687 --> @sslzhou948 commented on GitHub (Aug 30, 2024): > 注意到心跳只有 接收,没有 发送(回复) 我理解另一端的日志里应该有发送吧?
Author
Owner

@github-actions[bot] commented on GitHub (Sep 21, 2024):

Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:2364782904 --> @github-actions[bot] commented on GitHub (Sep 21, 2024): Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: github-starred/frp#3469
No description provided.