frp icon indicating copy to clipboard operation
frp copied to clipboard

重启后第一次启动失败frpc

Open xxhh07 opened this issue 2 years ago • 4 comments

Bug Description

重启电脑第一次都是启动失败frpc

frpc Version

0.59.0

frps Version

0.59.0

System Architecture

windows

Configurations

1

Logs

2024-07-29 11:47:13.163 [I] [sub/root.go:142] start frpc service for config file [frpc.toml] 2024-07-29 11:47:13.207 [I] [client/service.go:294] try to connect to server... 2024-07-29 11:47:13.216 [W] [client/service.go:297] connect to server error: dial tcp: lookup xxxx.cn: no such host 2024-07-29 11:47:13.216 [I] [sub/root.go:160] frpc service for config file [frpc.toml] stopped login to the server failed: dial tcp: lookup xxxxx.cn: no such host. 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

xxhh07 avatar Jul 29 '24 03:07 xxhh07

0.54 版本,后面升级到0.59版本 还是一样的,重启后自动启动失败,都要手工启动就正常

xxhh07 avatar Jul 29 '24 06:07 xxhh07

是不是电脑重启后没连上网就启动frpc了 试试这个参数为设置false

# Decide if exit program when first login failed, otherwise continuous relogin to frps
# default is true
loginFailExit = false

subei12 avatar Jul 29 '24 08:07 subei12

我试试。台式机电脑,是接网线的

xxhh07 avatar Jul 29 '24 08:07 xxhh07

可以了 谢谢

xxhh07 avatar Jul 29 '24 08:07 xxhh07