[GH-ISSUE #4195] serverAddr 配置域名连接不上,用IP就可以 #3306

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

Originally created by @Lumesky on GitHub (Apr 30, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4195

Bug Description

serverAddr 配置域名连接不上,用IP就可以连接,报错如下 ,有时候多重试几次又能连了,之前用的版本0.48版本的域名连接一直没问题
connect to server error: session shutdown

frpc Version

0.57.0

frps Version

0.57.0

System Architecture

linux/amd64

Configurations

serverAddr = "frp.xxx.com"
serverPort = 17000
loginFailExit = false

auth.method = "token"
auth.token = "12345678"

webServer.addr = "192.168.123.99"
webServer.port = 7400
webServer.user = "admin"
webServer.password = "admin"

#log.to = "./frpc.log"
#log.level = "info"
#log.maxDays = 3

proxies
name = "newpve8"
type = "tcp"
localIP = "127.0.0.1"
localPort = 22
remotePort = 6050

Logs

2024-04-30 09:04:38.139 [I] [sub/root.go:142] start frpc service for config file [frpc.toml]
2024-04-30 09:04:38.139 [I] [client/service.go:294] try to connect to server...
2024-04-30 09:04:38.155 [W] [client/service.go:297] connect to server error: read tcp 192.168.123.99:36722->x.x.x.x:17000: read: connection reset by peer
2024-04-30 09:04:40.336 [I] [client/service.go:294] try to connect to server...
2024-04-30 09:04:40.354 [W] [client/service.go:297] connect to server error: session shutdown
2024-04-30 09:04:44.855 [I] [client/service.go:294] try to connect to server...
2024-04-30 09:04:44.869 [W] [client/service.go:297] connect to server error: session shutdown
2024-04-30 09:04:54.444 [I] [client/service.go:294] try to connect to server...

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 @Lumesky on GitHub (Apr 30, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4195 ### Bug Description serverAddr 配置域名连接不上,用IP就可以连接,报错如下 ,有时候多重试几次又能连了,之前用的版本0.48版本的域名连接一直没问题 connect to server error: session shutdown ### frpc Version 0.57.0 ### frps Version 0.57.0 ### System Architecture linux/amd64 ### Configurations serverAddr = "frp.xxx.com" serverPort = 17000 loginFailExit = false auth.method = "token" auth.token = "12345678" webServer.addr = "192.168.123.99" webServer.port = 7400 webServer.user = "admin" webServer.password = "admin" #log.to = "./frpc.log" #log.level = "info" #log.maxDays = 3 [[proxies]] name = "newpve8" type = "tcp" localIP = "127.0.0.1" localPort = 22 remotePort = 6050 ### Logs 2024-04-30 09:04:38.139 [I] [sub/root.go:142] start frpc service for config file [frpc.toml] 2024-04-30 09:04:38.139 [I] [client/service.go:294] try to connect to server... 2024-04-30 09:04:38.155 [W] [client/service.go:297] connect to server error: read tcp 192.168.123.99:36722->x.x.x.x:17000: read: connection reset by peer 2024-04-30 09:04:40.336 [I] [client/service.go:294] try to connect to server... 2024-04-30 09:04:40.354 [W] [client/service.go:297] connect to server error: session shutdown 2024-04-30 09:04:44.855 [I] [client/service.go:294] try to connect to server... 2024-04-30 09:04:44.869 [W] [client/service.go:297] connect to server error: session shutdown 2024-04-30 09:04:54.444 [I] [client/service.go:294] try to connect to server... ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
Author
Owner
<!-- gh-comment-id:2084598600 --> @xqzr commented on GitHub (Apr 30, 2024): https://github.com/fatedier/frp/issues/3778#issuecomment-1817034440
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#3306
No description provided.