[GH-ISSUE #2674] do http proxy request error: no such domain: 8.xxx.xxx.105 #2136

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

Originally created by @ddxl123 on GitHub (Nov 23, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2674

Bug Description

出现这个问题:do http proxy request error: no such domain: 8.xxx.xxx.105 /

防火墙也放行了那些端口。

如果 domain 必须要是域名的话,还得域名备案完后才行,不能直接用 ip 吗?
还是其他地方配置有问题,找了好久没找到。

frpc Version

frp_0.38.0_windows_amd64

frps Version

frp_0.38.0_linux_amd64

System Architecture

linux/amd64, windows/x64

Configurations

客户端配置:

[common]
server_addr = 8.xxx.xxx.105
server_port = 7000

[test_https2http]
type = https
custom_domains = 8.xxx.xxx.105:8888
plugin = https2http
plugin_local_addr = 127.0.0.1:9999
plugin_crt_path = my_crt.crt
plugin_key_path =my_key.key
plugin_host_header_rewrite = 127.0.0.1
plugin_header_X-From-Where = frp

阿里云服务器 tocmat 服务端配置:

[common]
bind_port = 7000
vhost_http_port = 7777
vhost_https_port = 8888

Logs

阿里云服务器 tocmat 服务端异常输出:

Nov 24 00:58:14 iZ7xv76g9qv6sxh6iptadrZ frps[2025]: 2021/11/24 00:58:14 [I] [https.go:51] [991f512dab2799a3] [test_https2http] https proxy listen for host [8.xxx.xxx.105:8888]
Nov 24 00:58:14 iZ7xv76g9qv6sxh6iptadrZ frps[2025]: 2021/11/24 00:58:14 [I] [control.go:444] [991f512dab2799a3] new proxy [test_https2http] success
Nov 24 00:58:15 iZ7xv76g9qv6sxh6iptadrZ frps[2025]: 2021/11/24 00:58:15 [W] [http.go:92] do http proxy request error: no such domain: 8.xxx.xxx.105 /
Nov 24 01:07:12 iZ7xv76g9qv6sxh6iptadrZ frps[2025]: 2021/11/24 01:07:12 [W] [http.go:92] do http proxy request error: no such domain: 8.xxx.xxx.105 /favicon.ico

Steps to reproduce

  1. 自己搭建本机后台服务器项目 127.0.0.1:9999
  2. 配置 frps
  3. 配置 frpc
  4. 阿里云服务器防火墙已放行端口
  5. 单独 http 请求内网穿透测试正常,而测试 https 请求出现上面问题。
    ...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @ddxl123 on GitHub (Nov 23, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2674 ### Bug Description 出现这个问题:do http proxy request error: no such domain: 8.xxx.xxx.105 / 防火墙也放行了那些端口。 如果 domain 必须要是域名的话,还得域名备案完后才行,不能直接用 ip 吗? 还是其他地方配置有问题,找了好久没找到。 ### frpc Version frp_0.38.0_windows_amd64 ### frps Version frp_0.38.0_linux_amd64 ### System Architecture linux/amd64, windows/x64 ### Configurations 客户端配置: ```frpc [common] server_addr = 8.xxx.xxx.105 server_port = 7000 [test_https2http] type = https custom_domains = 8.xxx.xxx.105:8888 plugin = https2http plugin_local_addr = 127.0.0.1:9999 plugin_crt_path = my_crt.crt plugin_key_path =my_key.key plugin_host_header_rewrite = 127.0.0.1 plugin_header_X-From-Where = frp ``` 阿里云服务器 tocmat 服务端配置: ```frps [common] bind_port = 7000 vhost_http_port = 7777 vhost_https_port = 8888 ``` ### Logs 阿里云服务器 tocmat 服务端异常输出: ``` Nov 24 00:58:14 iZ7xv76g9qv6sxh6iptadrZ frps[2025]: 2021/11/24 00:58:14 [I] [https.go:51] [991f512dab2799a3] [test_https2http] https proxy listen for host [8.xxx.xxx.105:8888] Nov 24 00:58:14 iZ7xv76g9qv6sxh6iptadrZ frps[2025]: 2021/11/24 00:58:14 [I] [control.go:444] [991f512dab2799a3] new proxy [test_https2http] success Nov 24 00:58:15 iZ7xv76g9qv6sxh6iptadrZ frps[2025]: 2021/11/24 00:58:15 [W] [http.go:92] do http proxy request error: no such domain: 8.xxx.xxx.105 / Nov 24 01:07:12 iZ7xv76g9qv6sxh6iptadrZ frps[2025]: 2021/11/24 01:07:12 [W] [http.go:92] do http proxy request error: no such domain: 8.xxx.xxx.105 /favicon.ico ``` ### Steps to reproduce 1. 自己搭建本机后台服务器项目 127.0.0.1:9999 2. 配置 frps 3. 配置 frpc 4. 阿里云服务器防火墙已放行端口 5. 单独 http 请求内网穿透测试正常,而测试 https 请求出现上面问题。 ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [x] Security - [ ] User Experience - [x] Test and Release - [x] Developer Infrastructure - [X] Client Plugin - [X] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:22:29 -06:00
Author
Owner

@github-actions[bot] commented on GitHub (Dec 24, 2021):

Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.

<!-- gh-comment-id:1000580282 --> @github-actions[bot] commented on GitHub (Dec 24, 2021): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
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#2136
No description provided.