[GH-ISSUE #5081] session shutdown & EOF #3991

Closed
opened 2026-05-05 14:32:18 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @Hi-Jiang-a11y on GitHub (Nov 29, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/5081

Bug Description

when i start my frpc, sometimes it reports login to the server failed: session shutdown and sometimes login to the server failed: EOF
my frp version on both client and server is 0.65.0

frpc Version

0.65.0

frps Version

0.65.0

System Architecture

frps: Linux/amd64 frpc: Linux/amd64

Configurations

frps.toml:

bindAddr = "0.0.0.0"

bindPort = 7000

vhostHTTPPort = 80

vhostHTTPSPort = 443

webServer.addr = "0.0.0.0"

webServer.port = 7500

webServer.user = "xxx"

webServer.password = "xxx"

auth.method = "token"

auth.token = "xxx"

detailedErrorsToClient = true

frpc.toml:

serverAddr = "xxx"

serverPort = 7000

transport.protocol = "tcp"

auth.method = "token"

auth.token = "xxx"

log.to = "xxx"

log.level = "debug"

Logs

2025-11-29 14:22:50.102 [I] [sub/root.go:149] start frpc service for config file [frpc.toml]
2025-11-29 14:22:50.102 [I] [client/service.go:325] try to connect to server...
2025-11-29 14:22:55.104 [W] [client/service.go:328] connect to server error: EOF
2025-11-29 14:22:55.104 [I] [sub/root.go:167] frpc service for config file [frpc.toml] stopped
login to the server failed: EOF. With loginFailExit enabled, no additional retries will be attempted

and sometimes this:

2025-11-29 14:23:26.564 [I] [sub/root.go:149] start frpc service for config file [frpc.toml]
2025-11-29 14:23:26.564 [I] [client/service.go:325] try to connect to server...
2025-11-29 14:23:31.566 [W] [client/service.go:328] connect to server error: session shutdown
2025-11-29 14:23:31.566 [I] [sub/root.go:167] frpc service for config file [frpc.toml] stopped
login to the server failed: session shutdown. With loginFailExit enabled, no additional retries will be attempted

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 @Hi-Jiang-a11y on GitHub (Nov 29, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/5081 ### Bug Description when i start my frpc, sometimes it reports `login to the server failed: session shutdown` and sometimes `login to the server failed: EOF` my frp version on both client and server is 0.65.0 ### frpc Version 0.65.0 ### frps Version 0.65.0 ### System Architecture frps: Linux/amd64 frpc: Linux/amd64 ### Configurations frps.toml: ``` bindAddr = "0.0.0.0" bindPort = 7000 vhostHTTPPort = 80 vhostHTTPSPort = 443 webServer.addr = "0.0.0.0" webServer.port = 7500 webServer.user = "xxx" webServer.password = "xxx" auth.method = "token" auth.token = "xxx" detailedErrorsToClient = true ``` frpc.toml: ``` serverAddr = "xxx" serverPort = 7000 transport.protocol = "tcp" auth.method = "token" auth.token = "xxx" log.to = "xxx" log.level = "debug" ``` ### Logs ``` 2025-11-29 14:22:50.102 [I] [sub/root.go:149] start frpc service for config file [frpc.toml] 2025-11-29 14:22:50.102 [I] [client/service.go:325] try to connect to server... 2025-11-29 14:22:55.104 [W] [client/service.go:328] connect to server error: EOF 2025-11-29 14:22:55.104 [I] [sub/root.go:167] frpc service for config file [frpc.toml] stopped login to the server failed: EOF. With loginFailExit enabled, no additional retries will be attempted ``` and sometimes this: ``` 2025-11-29 14:23:26.564 [I] [sub/root.go:149] start frpc service for config file [frpc.toml] 2025-11-29 14:23:26.564 [I] [client/service.go:325] try to connect to server... 2025-11-29 14:23:31.566 [W] [client/service.go:328] connect to server error: session shutdown 2025-11-29 14:23:31.566 [I] [sub/root.go:167] frpc service for config file [frpc.toml] stopped login to the server failed: session shutdown. With loginFailExit enabled, no additional retries will be attempted ``` ### Steps to reproduce 1. 2. 3. ... ### 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:32:18 -06:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 14, 2025):

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

<!-- gh-comment-id:3649994751 --> @github-actions[bot] commented on GitHub (Dec 14, 2025): Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d 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#3991
No description provided.