[GH-ISSUE #2585] https2http wss无法连接 #2060

Closed
opened 2026-05-05 13:19:39 -06:00 by gitea-mirror · 2 comments
Owner

Originally created by @ghycn on GitHub (Sep 23, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2585

Bug Description

image
https网站访问正常,但是wss无法连接

内网nginx日志,表明可以收到转发,就是无法连接成功
image

frpc Version

0.37.1

frps Version

0.37.1

System Architecture

linux/amd64

Configurations

frps配置

[common]
bind_port = 7000
server_addr = x.x.x.x
privilege_token = kXZOPxFvieYYCPtX4sWhdZlW5
vhost_http_port = 9080
vhost_https_port = 9081

frpc配置

[common]
server_addr = 服务端IP
server_port = 7000
privilege_token = kXZOPxFvieYYCPtX4sWhdZlW5


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

#[web1]
#type = http
#local_ip = 127.0.0.1
#local_port = 80
#remote_port = 9080
#custom_domains = xx.xx.com

[test_htts2http]
type = https
custom_domains = xx.xx.com

plugin = https2http
plugin_local_addr = 127.0.0.1:80

# HTTPS 证书相关的配置
plugin_crt_path = /opt/app/aipoc/docker/conf/nginx/cert/server.pem
plugin_key_path = /opt/app/aipoc/docker/conf/nginx/cert/server.key
plugin_host_header_rewrite = 127.0.0.1
plugin_header_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 @ghycn on GitHub (Sep 23, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2585 ### Bug Description ![image](https://user-images.githubusercontent.com/20291615/134451658-44695e57-1ce7-4664-84de-eb849912be2b.png) https网站访问正常,但是wss无法连接 内网nginx日志,表明可以收到转发,就是无法连接成功 ![image](https://user-images.githubusercontent.com/20291615/134451968-9e33c2a0-08ae-4817-b2f3-3fbd0dba52ca.png) ### frpc Version 0.37.1 ### frps Version 0.37.1 ### System Architecture linux/amd64 ### Configurations frps配置 ``` [common] bind_port = 7000 server_addr = x.x.x.x privilege_token = kXZOPxFvieYYCPtX4sWhdZlW5 vhost_http_port = 9080 vhost_https_port = 9081 ``` frpc配置 ``` [common] server_addr = 服务端IP server_port = 7000 privilege_token = kXZOPxFvieYYCPtX4sWhdZlW5 [ssh] type = tcp local_ip = 127.0.0.1 local_port = 22 remote_port = 7001 #[web1] #type = http #local_ip = 127.0.0.1 #local_port = 80 #remote_port = 9080 #custom_domains = xx.xx.com [test_htts2http] type = https custom_domains = xx.xx.com plugin = https2http plugin_local_addr = 127.0.0.1:80 # HTTPS 证书相关的配置 plugin_crt_path = /opt/app/aipoc/docker/conf/nginx/cert/server.pem plugin_key_path = /opt/app/aipoc/docker/conf/nginx/cert/server.key plugin_host_header_rewrite = 127.0.0.1 plugin_header_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 - [ ] Client Plugin - [ ] Server Plugin - [ ] Extensions - [ ] Others
gitea-mirror 2026-05-05 13:19:39 -06:00
Author
Owner

@iTQuanNet commented on GitHub (Sep 24, 2021):

#2125 看这里

<!-- gh-comment-id:926274355 --> @iTQuanNet commented on GitHub (Sep 24, 2021): #2125 看这里
Author
Owner

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

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

<!-- gh-comment-id:950429944 --> @github-actions[bot] commented on GitHub (Oct 25, 2021): Issues go stale after 30d 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#2060
No description provided.