[GH-ISSUE #2276] [W] [http.go:92] do http proxy request error: no such domain: any url #1808

Closed
opened 2026-05-05 13:10:01 -06:00 by gitea-mirror · 4 comments
Owner

Originally created by @dodois on GitHub (Mar 4, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2276

[REQUIRED] hat version of frp are you using

Version: 0.35.1

[REQUIRED] What operating system and processor architecture are you using

OS: Client windows , Server ubuntu

CPU architecture: x64

[REQUIRED] description of errors

I want frpC to forward external http requests to socks5

2021/03/04 13:30:21 [W] [http.go:92] do http proxy request error: no such domain: 112.46.25.179
2021/03/04 13:30:21 [W] [http.go:92] do http proxy request error: no such domain: 120.241.139.207
2021/03/04 13:30:22 [W] [http.go:92] do http proxy request error: no such domain: 2402
2021/03/04 13:30:22 [W] [http.go:92] do http proxy request error: no such domain: 36.155.233.222
2021/03/04 13:30:23 [W] [http.go:92] do http proxy request error: no such domain: 112.46.25.226
2021/03/04 13:30:24 [W] [http.go:92] do http proxy request error: no such domain: 120.232.33.235
2021/03/04 13:30:24 [W] [http.go:92] do http proxy request error: no such domain: 112.46.25.165
2021/03/04 13:30:25 [W] [http.go:92] do http proxy request error: no such domain: 112.46.25.236
....

confile

Client :

[common]
server_addr = xxx.xxx.xxx.xxx
server_port = 8809

[socks5]
type = http
plugin = socks5
use_encryption = true
use_compression = true
local_ip = 127.0.0.1
local_port = 1080
subdomain = v2

Server:

[common]
bind_port = 8809
vhost_http_port = 8809
subdomain_host = domian.com

log file

omit
Steps to reproduce the issue

  1. omit
  2. omit
  3. omit

Supplementary information
omit
Can you guess what caused this issue
omit
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 @dodois on GitHub (Mar 4, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2276 <!-- 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.35.1 **[REQUIRED] What operating system and processor architecture are you using** ### OS: Client windows , Server ubuntu ### CPU architecture: x64 **[REQUIRED] description of errors** ### I want frpC to forward external http requests to socks5 ``` 2021/03/04 13:30:21 [W] [http.go:92] do http proxy request error: no such domain: 112.46.25.179 2021/03/04 13:30:21 [W] [http.go:92] do http proxy request error: no such domain: 120.241.139.207 2021/03/04 13:30:22 [W] [http.go:92] do http proxy request error: no such domain: 2402 2021/03/04 13:30:22 [W] [http.go:92] do http proxy request error: no such domain: 36.155.233.222 2021/03/04 13:30:23 [W] [http.go:92] do http proxy request error: no such domain: 112.46.25.226 2021/03/04 13:30:24 [W] [http.go:92] do http proxy request error: no such domain: 120.232.33.235 2021/03/04 13:30:24 [W] [http.go:92] do http proxy request error: no such domain: 112.46.25.165 2021/03/04 13:30:25 [W] [http.go:92] do http proxy request error: no such domain: 112.46.25.236 .... ``` **confile** <!-- Please pay attention to hiding the token, server_addr and other privacy information --> Client : ``` [common] server_addr = xxx.xxx.xxx.xxx server_port = 8809 [socks5] type = http plugin = socks5 use_encryption = true use_compression = true local_ip = 127.0.0.1 local_port = 1080 subdomain = v2 ``` Server: ``` [common] bind_port = 8809 vhost_http_port = 8809 subdomain_host = domian.com ``` **log file** <!-- If the file is too large, use Pastebin, for example https://pastebin.ubuntu.com/ --> omit **Steps to reproduce the issue** 1. omit 2. omit 3. omit **Supplementary information** omit **Can you guess what caused this issue** omit **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:10:01 -06:00
Author
Owner

@yuyulei commented on GitHub (Mar 5, 2021):

ref: https://gofrp.org/docs/features/http-https/subdomain/

<!-- gh-comment-id:791134743 --> @yuyulei commented on GitHub (Mar 5, 2021): ref: https://gofrp.org/docs/features/http-https/subdomain/
Author
Owner

@dodois commented on GitHub (Mar 5, 2021):

@yuyulei
Thanks for your reply, but it's not what I was looking for
image

<!-- gh-comment-id:791152151 --> @dodois commented on GitHub (Mar 5, 2021): @yuyulei Thanks for your reply, but it's not what I was looking for ![image](https://user-images.githubusercontent.com/73285310/110068884-9bb5d300-7db1-11eb-94d4-3f93d3669ed7.png)
Author
Owner

@yuyulei commented on GitHub (Mar 10, 2021):

@dodois, two things:

  1. the host "v2.domian.com" is expected, but logs show that frps receive request host like:"112.46.25.179", "36.155.233.222", .... So you can capture network packages,make sure that what the request domain or host(http header).
  2. socks5 belongs to TCP/IP protocol family, subdomain belongs to HTTP protocal, conflict! You can try
[socks5]
type = tcp
plugin = socks5
...
<!-- gh-comment-id:794908437 --> @yuyulei commented on GitHub (Mar 10, 2021): @dodois, two things: 1. the host "v2.domian.com" is expected, but logs show that frps receive request host like:"112.46.25.179", "36.155.233.222", .... So you can capture network packages,make sure that what the request domain or host(http header). 2. `socks5` belongs to TCP/IP protocol family, `subdomain` belongs to HTTP protocal, conflict! You can try ``` [socks5] type = tcp plugin = socks5 ... ```
Author
Owner

@github-actions[bot] commented on GitHub (Apr 25, 2021):

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

<!-- gh-comment-id:826174009 --> @github-actions[bot] commented on GitHub (Apr 25, 2021): Issues go stale after 45d of inactivity. Stale issues rot after an additional 10d 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#1808
No description provided.