[GH-ISSUE #2360] 开启KCP之后,login_fail_exit=true失效 #1873

Closed
opened 2026-05-05 13:12:47 -06:00 by gitea-mirror · 0 comments
Owner

Originally created by @sola97 on GitHub (Apr 20, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2360

[REQUIRED] hat version of frp are you using

Version:0.36.2
[REQUIRED] What operating system and processor architecture are you using
OS:Win10
CPU architecture:Intel

[REQUIRED] description of errors
开启KCP之后,login_fail_exit=true失效

confile

[common]
server_addr = example.com
server_port = 7000
protocol = kcp
login_fail_exit = true

log file

2021/04/20 16:25:23 [W] [service.go:104] login to server failed: lookup example.com: no such host
lookup example.com: no such host

Steps to reproduce the issue

  1. 服务器域名绑定的ddns
  2. frpc配置 protocol = kcp,会出现IP地址变动,重连不上的情况
  3. 尝试配置login_fail_exit=true,登录失败后并不会退出程序

Supplementary information

Can you guess what caused this issue

Checklist:

  • I included all information required in the sections above
  • I made sure there are no duplicates of this report (Use Search)
Originally created by @sola97 on GitHub (Apr 20, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2360 <!-- From Chinese to English by machine translation, welcome to revise and polish. --> <!-- ⚠️⚠️ Incomplete reports will be marked as invalid, and closed, with few exceptions ⚠️⚠️ --> <!-- in addition, please use search well so that the same solution can be found in the feedback, we will close it directly --> <!-- for convenience of differentiation, use FRPS or FRPC to refer to the FRP server or client --> **[REQUIRED] hat version of frp are you using** <!-- Use ./frpc -v or ./frps -v --> Version:0.36.2 **[REQUIRED] What operating system and processor architecture are you using** OS:Win10 CPU architecture:Intel **[REQUIRED] description of errors** 开启KCP之后,login_fail_exit=true失效 **confile** <!-- Please pay attention to hiding the token, server_addr and other privacy information --> [common] server_addr = example.com server_port = 7000 protocol = kcp login_fail_exit = true **log file** <!-- If the file is too large, use Pastebin, for example https://pastebin.ubuntu.com/ --> 2021/04/20 16:25:23 [W] [service.go:104] login to server failed: lookup example.com: no such host lookup example.com: no such host **Steps to reproduce the issue** 1. 服务器域名绑定的ddns 2. frpc配置 protocol = kcp,会出现IP地址变动,重连不上的情况 3. 尝试配置login_fail_exit=true,登录失败后并不会退出程序 **Supplementary information** **Can you guess what caused this issue** **Checklist**: <!--- Make sure you've completed the following steps (put an "X" between of brackets): --> - [x] I included all information required in the sections above - [x] I made sure there are no duplicates of this report [(Use Search)](https://github.com/fatedier/frp/issues?q=is%3Aissue)
gitea-mirror 2026-05-05 13:12:47 -06:00
  • closed this issue
  • added the
    bug
    label
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#1873
No description provided.