mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #4632] 将您重定向的次数过多。 #3656
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#3656
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 @mliuchengyu on GitHub (Jan 12, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4632
Bug Description
我通过frp 映射内网的esxi 服务器控制台地址访问的时候会这样

我不确定是不是esxi 局域网访问会提示:不安全的连接提示那个问题导致的重定向

如果是局域网访问每次都要手动点击一次继续前往
frpc Version
0.22.0
frps Version
0.22.0
System Architecture
linux/amd64
Configurations
frps.ini
[common]
frp监听的端口,用作服务端和客户端通信
bind_port = 7000
HTTP 请求的端口
vhost_http_port = 80
HTTPS 请求的端口
vhost_https_port = 443
dashboard_port = 7500
dashboard 用户名密码
dashboard_user = *****
dashboard_pwd = *****
subdomain_host = co***g.cn
开启toke认证
authentication_method = token
authenticate_heartbeats = true
authenticate_new_work_conns = true
token = *****
开启tcp穿透端口范围
allow_ports = 2-30000
log_file = /home/ubuntu/frp/frps.log
log_max_days = 3
frpc.ini
[common]
server_addr = *****
server_port = 7000
authentication_method = token
authenticate_heartbeats = true
authenticate_new_work_conns = true
token = *****
[esxi]
type = http
local_port = 80
local_ip = 192.168.5.152
subdomain = esxi
Logs
2025/01/12 05:52:49 [W] [newhttp.go:209] http: proxy error: no such domain
2025/01/12 05:52:49 [I] [proxy.go:87] [3da14647d62a820d] [esxi] get a new work connection: [14.145.4.246:53735]
2025/01/12 05:52:50 [I] [proxy.go:87] [3da14647d62a820d] [esxi] get a new work connection: [14.145.4.246:53735]
2025/01/12 05:52:51 [I] [proxy.go:87] [3da14647d62a820d] [esxi] get a new work connection: [14.145.4.246:53735]
2025/01/12 05:52:52 [I] [proxy.go:87] [3da14647d62a820d] [esxi] get a new work connection: [14.145.4.246:53735]
2025/01/12 05:52:53 [I] [proxy.go:87] [3da14647d62a820d] [esxi] get a new work connection: [14.145.4.246:53735]
2025/01/12 05:52:54 [I] [proxy.go:87] [3da14647d62a820d] [esxi] get a new work connection: [14.145.4.246:53735]
2025/01/12 05:52:55 [I] [proxy.go:87] [3da14647d62a820d] [esxi] get a new work connection: [14.145.4.246:53735]
Steps to reproduce
...
Affected area
@mliuchengyu commented on GitHub (Jan 12, 2025):
curl -vk https://192.168.5.152
第一次请求会看到 跳转到/ui
@xqzr commented on GitHub (Jan 13, 2025):
local_port = 443@github-actions[bot] commented on GitHub (Jan 28, 2025):
Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d of inactivity and eventually close.