frp icon indicating copy to clipboard operation
frp copied to clipboard

[web] start error: type [http] not supported when vhost http port is not set

Open starsink-d opened this issue 1 year ago • 3 comments

Bug Description

客户端配置 serverAddr = "xxxx" serverPort = 7000

[[proxies]] name = "web" type = "http" localPort = 3000 customDomains = ["yc.xxxx.com"]

服务端配置 [common] bindPort = 7000 vhostHTTPPort = 80

FRPS 服务端 仪表盘 dashboard 登陆端口

dashboard_port = 7500

FRPS 服务端 仪表盘 dashboard 登陆用户名、密码

dashboard_user = admin dashboard_pwd = admin

frpc Version

0.53.2_windows_amd64.

frps Version

0.53.2_linux_amd64

System Architecture

windows/amd64

Configurations

然后报错[web] start error: type [http] not supported when vhost http port is not set

Logs

C:\frps>frpc -c frpc.toml 2024/01/22 17:02:31 [I] [root.go:141] start frpc service for config file [frpc.toml] 2024/01/22 17:02:31 [I] [service.go:287] try to connect to server... 2024/01/22 17:02:31 [I] [service.go:279] [65aceb84eaecac91] login to server success, get run id [65aceb84eaecac91] 2024/01/22 17:02:31 [I] [proxy_manager.go:173] [65aceb84eaecac91] proxy added: [web] 2024/01/22 17:02:31 [W] [control.go:167] [65aceb84eaecac91] [web] start error: type [http] not supported when vhost http port is not set 2024/01/22 17:03:01 [W] [control.go:167] [65aceb84eaecac91] [web] start error: type [http] not supported when vhost http port is not set 2024/01/22 17:03:31 [W] [control.go:167] [65aceb84eaecac91] [web] start error: type [http] not supported when vhost http port is not set 2024/01/22 17:04:02 [W] [control.go:167] [65aceb84eaecac91] [web] start error: type [http] not supported when vhost http port is not set 2024/01/22 17:04:32 [W] [control.go:167] [65aceb84eaecac91] [web] start error: type [http] not supported when vhost http port is not set 2024/01/22 17:05:02 [W] [control.go:167] [65aceb84eaecac91] [web] start error: type [http] not supported when vhost http port is not set 2024/01/22 17:05:35 [W] [control.go:167] [65aceb84eaecac91] [web] start error: type [http] not supported when vhost http port is not set 2024/01/22 17:06:05 [W] [control.go:167] [65aceb84eaecac91] [web] start error: type [http] not supported when vhost http port is not set 2024/01/22 17:06:35 [W] [control.go:167] [65aceb84eaecac91] [web] start error: type [http] not supported when vhost http port is not set

Steps to reproduce

...

Affected area

  • [ ] Docs
  • [ ] Installation
  • [ ] Performance and Scalability
  • [ ] Security
  • [ ] User Experience
  • [X] Test and Release
  • [ ] Developer Infrastructure
  • [ ] Client Plugin
  • [ ] Server Plugin
  • [ ] Extensions
  • [ ] Others

starsink-d avatar Jan 22 '24 09:01 starsink-d

服务端配置未生效,先阅读文档...

superzjg avatar Jan 23 '24 12:01 superzjg

~~[common]~~

xqzr avatar Jan 28 '24 15:01 xqzr

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

github-actions[bot] avatar Feb 19 '24 00:02 github-actions[bot]