[GH-ISSUE #4166] Will service registratioin close opened connection? #3285

Closed
opened 2026-05-05 14:07:10 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @JobberRT on GitHub (Apr 17, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4166

Bug Description

I got a similar problem like https://github.com/fatedier/frp/issues/4061 , server log and client log not giving useful information. But I notice there are some connection join and service registration log around.

So whether client service registraiton close the opened connection?

frpc Version

0.57

frps Version

0.57

System Architecture

linux/amd64

Configurations

example configuration from official website

Logs

No response

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @JobberRT on GitHub (Apr 17, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4166 ### Bug Description I got a similar problem like https://github.com/fatedier/frp/issues/4061 , server log and client log not giving useful information. But I notice there are some connection join and service registration log around. So whether client service registraiton close the opened connection? ### frpc Version 0.57 ### frps Version 0.57 ### System Architecture linux/amd64 ### Configurations example configuration from official website ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [X] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner

@fatedier commented on GitHub (Apr 18, 2024):

I am not sure what your question is, but when an exception occurs between the client and the server, all connections associated with this client will be closed.

<!-- gh-comment-id:2063157110 --> @fatedier commented on GitHub (Apr 18, 2024): I am not sure what your question is, but when an exception occurs between the client and the server, all connections associated with this client will be closed.
Author
Owner

@JobberRT commented on GitHub (Apr 18, 2024):

@fatedier Thanks for reply, Sorry for the confuse, and I've found the reason:

I'm using LEDE, and found the code for Service Registration Interval :

8c6da73f0f/applications/luci-app-frpc/root/etc/init.d/frp (L153-L160)

This time param is the registration interval that I talk about, and it's a restart action, and, of course it will close the opened connection.

A bit of misunderstanding for this action, I thought it was some kind of keep-alive method

<!-- gh-comment-id:2063236900 --> @JobberRT commented on GitHub (Apr 18, 2024): @fatedier Thanks for reply, Sorry for the confuse, and I've found the reason: I'm using LEDE, and found the code for `Service Registration Interval` : https://github.com/coolsnowwolf/luci/blob/8c6da73f0f012a2a00c5e51adff77f2f1e10a713/applications/luci-app-frpc/root/etc/init.d/frp#L153-L160 This `time` param is the registration interval that I talk about, and it's a restart action, and, of course it will close the opened connection. A bit of misunderstanding for this action, I thought it was some kind of keep-alive method
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#3285
No description provided.