[GH-ISSUE #4940] 突然显示无法找到主机 #3896

Closed
opened 2026-05-05 14:29:12 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @baizhougod on GitHub (Aug 15, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4940

Bug Description

在配置没动的情况下突然无法访问
`The page you requested was not found.
Sorry, the page you are looking for is currently unavailable.
Please try again later.

The server is powered by frp.

Faithfully yours, frp.`
重启机器,重启软件,均没用,上午的时候就有这种情况,没管他下午自动恢复了,晚上又出现这种情况,长时间无法恢复

frpc Version

0.61.1

frps Version

0.61.1

System Architecture

linux/amd64

Configurations

linux/amd64
frpc
`serverAddr = "xx"
serverPort = xx

auth.method = "token"
auth.token = "xx"

loginFailExit = false

transport.tls.enable = true #是否和服务端之间启用TLS连接
transport.tls.disableCustomTLSFirstByte = false
#当配置为true时,无法和vhostHTTPSPort端口复用

proxies
name = "11"
type = "http"
localIP = "127.0.0.1"
localPort = xx
customDomains = ["xx"]
transport.useEncryption = true
transport.useCompression = true
frpsbindPort = xx#服务端监听端口,默认7000
auth.method = "token" #服务端连接身份认证,默认token
auth.token = "xx" #服务端token密码
transport.tls.force = false #是否只接受启用了TLS的客户端连接
vhostHTTPPort = xx
#vhostHTTPSPort = 443

`

Logs

frpc无报错,如
`[I] [client/service.go:287] [f1d794bac5f47829] login to server success, get run id [f1d794bac5f47829]

[I] [proxy/proxy_manager.go:173] [f1d794bac5f47829] proxy added: [11]

[I] [client/control.go:168] [f1d794bac5f47829] [11] start proxy success

[I] [client/service.go:295] [f1d794bac5f47829] try to connect to server...

[I] [client/service.go:287] [f1d794bac5f47829] login to server success, get run id [f1d794bac5f47829]

[I] [proxy/proxy_manager.go:173] [f1d794bac5f47829] proxy added: [11]

[I] [client/control.go:168] [f1d794bac5f47829] [11] start proxy success

[I] [client/service.go:295] [f1d794bac5f47829] try to connect to server...

[I] [client/service.go:287] [f1d794bac5f47829] login to server success, get run id [f1d794bac5f47829]

[I] [proxy/proxy_manager.go:173] [f1d794bac5f47829] proxy added: [11]

[I] [client/control.go:168] [f1d794bac5f47829] [11] start proxy successfprs日志有问题为如下,ocation [] group [], routeByHTTPUser []
2025-08-16 01:37:55.651 [I] [server/control.go:399] [f1d794bac5f47829] new proxy [11] type [http] success
2025-08-16 01:38:29.268 [W] [httputil/reverseproxy.go:486] do http proxy request [host: xx] error: context canceled
2025-08-16 01:38:35.546 [I] [proxy/proxy.go:115] [f1d794bac5f47829] [11] proxy closing
2025-08-16 01:38:35.546 [I] [server/control.go:357] [f1d794bac5f47829] client exit success
2025-08-16 01:38:35.547 [W] [server/control.go:283] [f1d794bac5f47829] no work connections available, control is closed
2025-08-16 01:38:35.547 [W] [proxy/proxy.go:128] [f1d794bac5f47829] [11] failed to get work connection: control is closed
2025-08-16 01:38:35.547 [W] [httputil/reverseproxy.go:486] do http proxy request [host: xx] error: control is closed
2025-08-16 01:38:35.546 [W] [server/control.go:283] [f1d794bac5f47829] no work connections available, control is closed
2025-08-16 01:38:35.547 [W] [proxy/proxy.go:128] [f1d794bac5f47829] [11] failed to get work connection: control is closed
2025-08-16 01:38:35.547 [W] [httputil/reverseproxy.go:486] do http proxy request [host: xx] error: control is closed
2025-08-16 01:38:35.622
`

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 @baizhougod on GitHub (Aug 15, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/4940 ### Bug Description 在配置没动的情况下突然无法访问 `The page you requested was not found. Sorry, the page you are looking for is currently unavailable. Please try again later. The server is powered by [frp](https://github.com/fatedier/frp). Faithfully yours, frp.` 重启机器,重启软件,均没用,上午的时候就有这种情况,没管他下午自动恢复了,晚上又出现这种情况,长时间无法恢复 ### frpc Version 0.61.1 ### frps Version 0.61.1 ### System Architecture linux/amd64 ### Configurations linux/amd64 frpc `serverAddr = "xx" serverPort = xx auth.method = "token" auth.token = "xx" loginFailExit = false transport.tls.enable = true #是否和服务端之间启用TLS连接 transport.tls.disableCustomTLSFirstByte = false #当配置为true时,无法和vhostHTTPSPort端口复用 [[proxies]] name = "11" type = "http" localIP = "127.0.0.1" localPort = xx customDomains = ["xx"] transport.useEncryption = true transport.useCompression = true ` frps `bindPort = xx#服务端监听端口,默认7000 auth.method = "token" #服务端连接身份认证,默认token auth.token = "xx" #服务端token密码 transport.tls.force = false #是否只接受启用了TLS的客户端连接 vhostHTTPPort = xx #vhostHTTPSPort = 443 ` ### Logs frpc无报错,如 `[I] [client/service.go:287] [f1d794bac5f47829] login to server success, get run id [f1d794bac5f47829] [I] [proxy/proxy_manager.go:173] [f1d794bac5f47829] proxy added: [11] [I] [client/control.go:168] [f1d794bac5f47829] [11] start proxy success [I] [client/service.go:295] [f1d794bac5f47829] try to connect to server... [I] [client/service.go:287] [f1d794bac5f47829] login to server success, get run id [f1d794bac5f47829] [I] [proxy/proxy_manager.go:173] [f1d794bac5f47829] proxy added: [11] [I] [client/control.go:168] [f1d794bac5f47829] [11] start proxy success [I] [client/service.go:295] [f1d794bac5f47829] try to connect to server... [I] [client/service.go:287] [f1d794bac5f47829] login to server success, get run id [f1d794bac5f47829] [I] [proxy/proxy_manager.go:173] [f1d794bac5f47829] proxy added: [11] [I] [client/control.go:168] [f1d794bac5f47829] [11] start proxy success` fprs日志有问题为如下, `ocation [] group [], routeByHTTPUser [] 2025-08-16 01:37:55.651 [I] [server/control.go:399] [f1d794bac5f47829] new proxy [11] type [http] success 2025-08-16 01:38:29.268 [W] [httputil/reverseproxy.go:486] do http proxy request [host: xx] error: context canceled 2025-08-16 01:38:35.546 [I] [proxy/proxy.go:115] [f1d794bac5f47829] [11] proxy closing 2025-08-16 01:38:35.546 [I] [server/control.go:357] [f1d794bac5f47829] client exit success 2025-08-16 01:38:35.547 [W] [server/control.go:283] [f1d794bac5f47829] no work connections available, control is closed 2025-08-16 01:38:35.547 [W] [proxy/proxy.go:128] [f1d794bac5f47829] [11] failed to get work connection: control is closed 2025-08-16 01:38:35.547 [W] [httputil/reverseproxy.go:486] do http proxy request [host: xx] error: control is closed 2025-08-16 01:38:35.546 [W] [server/control.go:283] [f1d794bac5f47829] no work connections available, control is closed 2025-08-16 01:38:35.547 [W] [proxy/proxy.go:128] [f1d794bac5f47829] [11] failed to get work connection: control is closed 2025-08-16 01:38:35.547 [W] [httputil/reverseproxy.go:486] do http proxy request [host: xx] error: control is closed 2025-08-16 01:38:35.622 ` ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [x] User Experience - [ ] Test and Release - [x] Developer Infrastructure - [x] Client Plugin - [x] Server Plugin - [x] Extensions - [x] Others
Author
Owner

@baizhougod commented on GitHub (Aug 15, 2025):

内网打开需要穿透的服务是正常的,内外网机器也能互相ping通,防火墙也问题,之前一直正常,现在突然出现这种情况

<!-- gh-comment-id:3192360335 --> @baizhougod commented on GitHub (Aug 15, 2025): 内网打开需要穿透的服务是正常的,内外网机器也能互相ping通,防火墙也问题,之前一直正常,现在突然出现这种情况
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#3896
No description provided.