[[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...
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