[GH-ISSUE #4089] json: unknown field "vhostHTTPSPort" #3227

Closed
opened 2026-05-05 14:05:04 -06:00 by gitea-mirror · 6 comments
Owner

Originally created by @Jaydenha09 on GitHub (Mar 20, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4089

Bug Description

json: unknown field "vhostHTTPSPort"

frpc Version

0.55.1

frps Version

0.55.1

System Architecture

server: linux/amd64, client: windows/amd64

Configurations

frpc_https.toml

serverAddr = "x.x.x.x"
serverPort = 7000
vhostHTTPSPort = 443

proxies
name = "https2http"
type = "https"
customDomains = ["mydomain"]

[proxies.plugin]
type = "https2http"
localAddr = "192.168.5.111:5000"
crtPath = "./server.crt"
keyPath = "./server.key"
hostHeaderRewrite = "192.168.5.111"
requestHeaders.set.x-from-where = "frp"

Logs

No response

Steps to reproduce

...

Affected area

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • User Experience
  • Test and Release
  • Developer Infrastructure
  • Client Plugin
  • Server Plugin
  • Extensions
  • Others
Originally created by @Jaydenha09 on GitHub (Mar 20, 2024). Original GitHub issue: https://github.com/fatedier/frp/issues/4089 ### Bug Description json: unknown field "vhostHTTPSPort" ### frpc Version 0.55.1 ### frps Version 0.55.1 ### System Architecture server: linux/amd64, client: windows/amd64 ### Configurations # frpc_https.toml serverAddr = "x.x.x.x" serverPort = 7000 vhostHTTPSPort = 443 [[proxies]] name = "https2http" type = "https" customDomains = ["mydomain"] [proxies.plugin] type = "https2http" localAddr = "192.168.5.111:5000" crtPath = "./server.crt" keyPath = "./server.key" hostHeaderRewrite = "192.168.5.111" requestHeaders.set.x-from-where = "frp" ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [X] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 14:05:04 -06:00
Author
Owner

@jikunchong commented on GitHub (Mar 22, 2024):

# frps.toml
vhostHTTPSPort = 443
<!-- gh-comment-id:2014436332 --> @jikunchong commented on GitHub (Mar 22, 2024): ```toml # frps.toml vhostHTTPSPort = 443 ```
Author
Owner

@xqzr commented on GitHub (Mar 27, 2024):

vhostHTTPSPort 不在 frpc

<!-- gh-comment-id:2022340683 --> @xqzr commented on GitHub (Mar 27, 2024): `vhostHTTPSPort` 不在 frpc
Author
Owner

@github-actions[bot] commented on GitHub (Apr 18, 2024):

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

<!-- gh-comment-id:2062776574 --> @github-actions[bot] commented on GitHub (Apr 18, 2024): Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.
Author
Owner

@d4renk commented on GitHub (Apr 23, 2024):

Enable HTTPS for a local HTTP(S) service
image
vhostHTTPSPort = 443
文档写错了
按照实例写的话提示 json: unknown field "vhostHTTPSPort"
@fatedier

<!-- gh-comment-id:2072538569 --> @d4renk commented on GitHub (Apr 23, 2024): Enable HTTPS for a local HTTP(S) service ![image](https://github.com/fatedier/frp/assets/64531014/651d7be1-6351-41b4-af97-c0c6b69c0a5b) vhostHTTPSPort = 443 文档写错了 按照实例写的话提示 json: unknown field "vhostHTTPSPort" @fatedier
Author
Owner

@xqzr commented on GitHub (Apr 23, 2024):

Enable HTTPS for a local HTTP(S) service image vhostHTTPSPort = 443 文档写错了 按照实例写的话提示 json: unknown field "vhostHTTPSPort" @fatedier

可以自行更改文档

<!-- gh-comment-id:2072603146 --> @xqzr commented on GitHub (Apr 23, 2024): > Enable HTTPS for a local HTTP(S) service ![image](https://private-user-images.githubusercontent.com/64531014/324874988-651d7be1-6351-41b4-af97-c0c6b69c0a5b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTM4ODQ3NTcsIm5iZiI6MTcxMzg4NDQ1NywicGF0aCI6Ii82NDUzMTAxNC8zMjQ4NzQ5ODgtNjUxZDdiZTEtNjM1MS00MWI0LWFmOTctYzBjNmI2OWMwYTViLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA0MjMlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNDIzVDE1MDA1N1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTk5NTMwOWYwY2VmMzMxOTJmZWE0Nzg1YzFkMDYzODYwMjJhOTE4MDk3YjJkMjZkZmY4Y2M4OTUzM2RjNDM0ZjAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.eIk0NjlkP1paiAsUTFv-tmtBNWHPpYIufwMPH5tNb6Y) vhostHTTPSPort = 443 文档写错了 按照实例写的话提示 json: unknown field "vhostHTTPSPort" @fatedier 可以自行更改文档
Author
Owner

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

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

<!-- gh-comment-id:2111377002 --> @github-actions[bot] commented on GitHub (May 15, 2024): Issues go stale after 21d 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#3227
No description provided.