mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4195] serverAddr 配置域名连接不上,用IP就可以 #3306
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#3306
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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
@xqzr commented on GitHub (Apr 30, 2024):
https://github.com/fatedier/frp/issues/3778#issuecomment-1817034440