[GH-ISSUE #4355] 重启后第一次启动失败frpc #3436

Closed
opened 2026-05-05 14:12:50 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @xxhh07 on GitHub (Jul 29, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4355

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
Originally created by @xxhh07 on GitHub (Jul 29, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4355 ### 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 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

@xxhh07 commented on GitHub (Jul 29, 2024):

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

<!-- gh-comment-id:2255080443 --> @xxhh07 commented on GitHub (Jul 29, 2024): 0.54 版本,后面升级到0.59版本 还是一样的,重启后自动启动失败,都要手工启动就正常
Author
Owner

@subei12 commented on GitHub (Jul 29, 2024):

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

# Decide if exit program when first login failed, otherwise continuous relogin to frps
# default is true
loginFailExit = false
<!-- gh-comment-id:2255293370 --> @subei12 commented on GitHub (Jul 29, 2024): 是不是电脑重启后没连上网就启动`frpc`了 试试这个参数为设置`false` ``` # Decide if exit program when first login failed, otherwise continuous relogin to frps # default is true loginFailExit = false ```
Author
Owner

@xxhh07 commented on GitHub (Jul 29, 2024):

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

<!-- gh-comment-id:2255298581 --> @xxhh07 commented on GitHub (Jul 29, 2024): 我试试。台式机电脑,是接网线的
Author
Owner

@xxhh07 commented on GitHub (Jul 29, 2024):

可以了 谢谢

<!-- gh-comment-id:2255315671 --> @xxhh07 commented on GitHub (Jul 29, 2024): 可以了 谢谢
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#3436
No description provided.