mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4214] 不能开机自启动 #3317
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#3317
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 @wjx0428 on GitHub (May 12, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4214
Bug Description
不能开机自启动
frpc Version
v0.57.0
frps Version
v0.57.0
System Architecture
linux/ard64
Configurations
serverAddr = "xxx"
serverPort = 7000
proxies
name = "ssh"
type = "tcp"
localIP = "127.0.0.1"
localPort = 22
remotePort = 8003
proxies
name = "ql"
type = "tcp"
localIP = "127.0.0.1"
localPort = 5700
remotePort = 8004
proxies
name = "rabbit"
type = "tcp"
localIP = "127.0.0.1"
localPort = 5702
remotePort = 8005
Logs
May 12 12:13:25 armbian systemd[1]: Started frpc.service - frpc server.
May 12 12:13:25 armbian frpc[1528]: 2024-05-12 12:13:25.716 [I] [sub/root.go:142] start frpc service for config file [/root/frp/frpc.toml]
May 12 12:13:25 armbian frpc[1528]: 2024-05-12 12:13:25.716 [I] [client/service.go:294] try to connect to server...
May 12 12:13:25 armbian frpc[1528]: 2024-05-12 12:13:25.719 [W] [client/service.go:297] connect to server error: dial tcp xxx: connect: network is unreachable
May 12 12:13:25 armbian frpc[1528]: 2024-05-12 12:13:25.720 [I] [sub/root.go:160] frpc service for config file [/root/frp/frpc.toml] stopped
May 12 12:13:25 armbian frpc[1528]: login to the server failed: dial tcp xxx: connect: network is unreachable. With loginFailExit enabled, no additional retries will be attempted
May 12 12:13:25 armbian systemd[1]: frpc.service: Main process exited, code=exited, status=1/FAILURE
May 12 12:13:25 armbian systemd[1]: frpc.service: Failed with result 'exit-code'.
Steps to reproduce
...
Affected area
@wjx0428 commented on GitHub (May 12, 2024):
添加到配置文件可以解决login_fail_exit = false
@Yo-gurts commented on GitHub (Oct 15, 2024):
20241016 配置选项名称为:loginFailExit = false
https://gofrp.org/zh-cn/docs/reference/client-configures/