fatedier / frp

A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
Apache License 2.0
85.31k stars 13.23k forks source link

心跳为什么中断链接 关闭心跳也会中断 #4432

Open Jianfei-DinG opened 1 month ago

Jianfei-DinG commented 1 month ago

Bug Description

心跳为什么中断链接 关闭心跳也会中断,开启心跳会 根据心跳时间断开 关闭心跳会 长时间断开 但是 重启服务器 或者客户端 又正常 远程桌面特别 不友好 不是知道 怎么才能 爽快的使用

frpc Version

60

frps Version

60

System Architecture

x86

Configurations

frpc.toml

[common] server_addr = "47.243.108.30" server_port = 7000 token = "f9e7d334a60c974cdf39b8a57007d921"

[rdps] type = "tcp" local_ip = "127.0.0.1" local_port = 3389 remote_port = 6002

Logs

No response

Steps to reproduce

  1. ...

Affected area

xqzr commented 1 month ago

心跳需要,frpc 和 frps 使用相同的值

Jianfei-DinG commented 1 month ago

心率需要,frpc 和 frps 使用相同的值

frpc 也要配置 心跳吗 怎么配置

xqzr commented 4 weeks ago

心率需要,frpc 和 frps 使用相同的值

frpc 也要配置 心跳吗 怎么配置

https://gofrp.org/zh-cn/docs/reference/client-configures/#ClientTransportConfig

superzjg commented 3 weeks ago

60版本默认是关闭心跳的,采用tcpmux内置心跳,默认无需配置,使用没有问题。 另尝试采用 toml 版本格式重写配置试试。

github-actions[bot] commented 6 days ago

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