[GH-ISSUE #4873] Set vhostHTTP(s)Port == bindPort, login failed #3842

Closed
opened 2026-05-05 14:27:26 -06:00 by gitea-mirror · 3 comments
Owner

Originally created by @Streamlet on GitHub (Jul 9, 2025).
Original GitHub issue: https://github.com/fatedier/frp/issues/4873

Bug Description

Set vhostHTTP(s)Port == bindPort, login failed

frpc Version

0.63

frps Version

0.63

System Architecture

frps:linux/amd64, frpc:windows/amd64

Configurations

frps.toml:

bindPort = 57000
#vhostHTTPPort = 57000
vhostHTTPSPort = 57000

frpc.toml:

serverAddr = "<server ip>"
serverPort = 57000

[[proxies]]
name = "https"
type = "https"
localIP = "<local ip>"
localPort = <local port>
customDomains = ["<domain name>"]

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 @Streamlet on GitHub (Jul 9, 2025). Original GitHub issue: https://github.com/fatedier/frp/issues/4873 ### Bug Description Set vhostHTTP(s)Port == bindPort, login failed ### frpc Version 0.63 ### frps Version 0.63 ### System Architecture frps:linux/amd64, frpc:windows/amd64 ### Configurations frps.toml: ```toml bindPort = 57000 #vhostHTTPPort = 57000 vhostHTTPSPort = 57000 ``` frpc.toml: ```toml serverAddr = "<server ip>" serverPort = 57000 [[proxies]] name = "https" type = "https" localIP = "<local ip>" localPort = <local port> customDomains = ["<domain name>"] ``` ### Logs _No response_ ### Steps to reproduce 1. 2. 3. ... ### Affected area - [ ] Docs - [ ] Installation - [ ] Performance and Scalability - [ ] Security - [ ] User Experience - [ ] Test and Release - [ ] Developer Infrastructure - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 14:27:26 -06:00
Author
Owner

@Streamlet commented on GitHub (Jul 9, 2025):

I have found out the reason:

frp control messages are tls encrypted since a certain version,
so the HTTPS mux receives the packets begin with 0x16

<!-- gh-comment-id:3051787585 --> @Streamlet commented on GitHub (Jul 9, 2025): I have found out the reason: frp control messages are tls encrypted since a certain version, so the HTTPS mux receives the packets begin with 0x16
Author
Owner

@fatedier commented on GitHub (Jul 9, 2025):

https://github.com/fatedier/frp?tab=readme-ov-file#tls

<!-- gh-comment-id:3052307511 --> @fatedier commented on GitHub (Jul 9, 2025): https://github.com/fatedier/frp?tab=readme-ov-file#tls
Author
Owner

@github-actions[bot] commented on GitHub (Jul 25, 2025):

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

<!-- gh-comment-id:3115425164 --> @github-actions[bot] commented on GitHub (Jul 25, 2025): Issues go stale after 14d of inactivity. Stale issues rot after an additional 3d 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#3842
No description provided.