Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

serverAddr 配置域名连接不上,用IP就可以 #4195

Closed
11 tasks
dossec opened this issue Apr 30, 2024 · 1 comment
Closed
11 tasks

serverAddr 配置域名连接不上,用IP就可以 #4195

dossec opened this issue Apr 30, 2024 · 1 comment

Comments

@dossec
Copy link

dossec commented Apr 30, 2024

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
@xqzr
Copy link

xqzr commented Apr 30, 2024

#3778 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants