[GH-ISSUE #3344] new proxy [web] type [http] error: type [http] not support when vhost_http_port is not set #2679

Closed
opened 2026-05-05 13:43:37 -06:00 by gitea-mirror · 7 comments
Owner

Originally created by @qwertor-5678 on GitHub (Mar 6, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3344

Bug Description

[W] [control.go:460] [a979649*******6e246] new proxy [web] type [http] error: type [http] not support when vhost_http_port is not set

frpc Version

0.47.0

frps Version

0.47.0

System Architecture

linux/amd64

Configurations

#######frps (tencent-cloud-Ubuntu Server 18.04.1 LTS 64bit)
[common]
bind_port = 7000
token = 1234567890

dashboard_port = 7500
dashboard_user = admin
dashboard_pwd = admin
enable_prometheus = true

log_file = /var/log/frps.log
log_level = info
log_max_days = 3

#######frpc (windows11-vmware-Ubuntu Server 18.04.1 LTS 64bit)
[common]
server_addr = xxxxxx-ip
server_port = 7000
token = 1234567890

[ssh]
type = tcp
local_ip = 127.0.0.1
local_port = 22
remote_port = 6000

[web]
type = http
local_ip = 127.0.0.1
local_port = 8080
subdomain = test.ggg456.com

Logs

error-out
XXXXXXXXXX [web] start error [http] not support when vhost_http_port is not set

Steps to reproduce

  1. ./frps -c frps.ini &
  2. ./frpc -c frpc.ini &
  3. error out

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @qwertor-5678 on GitHub (Mar 6, 2023). Original GitHub issue: https://github.com/fatedier/frp/issues/3344 ### Bug Description [W] [control.go:460] [a979649*******6e246] new proxy [web] type [http] error: type [http] not support when vhost_http_port is not set ### frpc Version 0.47.0 ### frps Version 0.47.0 ### System Architecture linux/amd64 ### Configurations #######frps (tencent-cloud-Ubuntu Server 18.04.1 LTS 64bit) [common] bind_port = 7000 token = 1234567890 dashboard_port = 7500 dashboard_user = admin dashboard_pwd = admin enable_prometheus = true log_file = /var/log/frps.log log_level = info log_max_days = 3 #######frpc (windows11-vmware-Ubuntu Server 18.04.1 LTS 64bit) [common] server_addr = xxxxxx-ip server_port = 7000 token = 1234567890 [ssh] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 6000 [web] type = http local_ip = 127.0.0.1 local_port = 8080 subdomain = test.ggg456.com ### Logs error-out XXXXXXXXXX [web] start error [http] not support when vhost_http_port is not set ### Steps to reproduce 1. ./frps -c frps.ini & 2. ./frpc -c frpc.ini & 3. error out ### Affected area - [ ] Docs - [X] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:43:37 -06:00
Author
Owner

@Becods commented on GitHub (Mar 7, 2023):

#Accessing Internal Web Services with Custom Domains in LAN

<!-- gh-comment-id:1458013268 --> @Becods commented on GitHub (Mar 7, 2023): [#Accessing Internal Web Services with Custom Domains in LAN](https://letmegooglethat.com/?q=frp+not+support+when+vhost_http_port+is+not+set)
Author
Owner

@superzjg commented on GitHub (Mar 9, 2023):

日志很清楚:服务器未配置vhost_http_port

<!-- gh-comment-id:1461524266 --> @superzjg commented on GitHub (Mar 9, 2023): 日志很清楚:服务器未配置vhost_http_port
Author
Owner

@hantwain commented on GitHub (Mar 28, 2023):

没用。加了一样报错。

<!-- gh-comment-id:1486593543 --> @hantwain commented on GitHub (Mar 28, 2023): 没用。加了一样报错。
Author
Owner

@Liuhuifeng commented on GitHub (Apr 14, 2023):

-c 指定配置文件

<!-- gh-comment-id:1507809664 --> @Liuhuifeng commented on GitHub (Apr 14, 2023): -c 指定配置文件
Author
Owner

@github-actions[bot] commented on GitHub (May 15, 2023):

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

<!-- gh-comment-id:1547048009 --> @github-actions[bot] commented on GitHub (May 15, 2023): Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
Author
Owner

@Doonkey commented on GitHub (Jul 3, 2023):

frps.ini文件中添加
vhost_http_port = 80

frpc.ini文件中添加
#服务器ip
custom_domains = xxx.xxx.xxx.xxx

<!-- gh-comment-id:1617655670 --> @Doonkey commented on GitHub (Jul 3, 2023): frps.ini文件中添加 vhost_http_port = 80 frpc.ini文件中添加 #服务器ip custom_domains = xxx.xxx.xxx.xxx
Author
Owner

@jiusiguer commented on GitHub (Nov 4, 2023):

Try to switch to the new version

<!-- gh-comment-id:1793391647 --> @jiusiguer commented on GitHub (Nov 4, 2023): Try to switch to the new version
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#2679
No description provided.