mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #3162] 望考虑 https2http 插件支持 wss #2535
Labels
No labels
In Progress
WIP
WaitingForInfo
bug
doc
duplicate
easy
enhancement
future
help wanted
invalid
lifecycle/stale
need-issue-template
need-usage-help
no plan
proposal
pull-request
question
todo
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/frp#2535
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @whwnow on GitHub (Nov 6, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/3162
Describe the feature request
我在本地部署 Rocket.Chat 时,本地服务是 http + ws,然后使用 https2http 插件转成 https 对外,wss 协议的状态码一直为101 。看到 issues 里有不少都在提这个功能。给的方案是是自己在加一层 nginx,然后 frp 使用 tcp 协议。这个从易用性上牺牲好多,本来使用 https2http 插件,证书的问题全都解决了,现在还要自己再加一套 nginx,做 https 转发。望考虑一下这个需求
Describe alternatives you've considered
No response
Affected area
@fatedier commented on GitHub (Nov 7, 2022):
如果解决方案不复杂的话,可以考虑。
@whwnow commented on GitHub (Nov 7, 2022):
感谢支持!期待早日可以用上这个功能。我现在的转发机服务很干净,就一个frp,这样就不用再起一套nginx了
@welearner commented on GitHub (Nov 30, 2022):
+1,啥时候能支持 wss 啊,现在通过 frp 运行 code-server 根本用不了 https,有点小抓狂
@TaoRone commented on GitHub (Apr 11, 2023):
同求……https2http 插件转不了ws很难受
@ningfdx commented on GitHub (Apr 19, 2023):
@fatedier 可否提供一下思路,是否需要再 frp/pkg/plugin/client/https2http.go:78 增加Transport以支持长连接?
,我可以帮助开发和贡献
@haodiao commented on GitHub (May 8, 2023):
@fatedier https2http 插件很好用,但用户访问时只有 http1.1 的tls,能否升级到http/2,甚至是最新基于udp的http/3
@fatedier commented on GitHub (Jun 28, 2023):
排查到是由于 yamux 的一个问题导致 wss 无法正常使用: https://github.com/hashicorp/yamux/pull/121
会在这个 PR 中修复: https://github.com/fatedier/frp/pull/3503
@whwnow commented on GitHub (Jun 29, 2023):
给力,这个问题终于解决了,哈哈
@rebron1900 commented on GitHub (Apr 21, 2025):
@whwnow 大佬,如何才能在插件里启用wss呢?
@FocusProgram commented on GitHub (Jun 16, 2025):
@rebron1900 请问下最终解决了吗?看了半天https2http插件是不是还是不支持wss啊
@PhDLuffy commented on GitHub (Jul 6, 2025):
@FocusProgram 问题解决了,更新frp 0.51之后的版本就OK了,正常使用https2http就可以,非常完美。
@rebron1900 commented on GitHub (Jul 20, 2025):
你具体怎么配置的?我现在是下面这个配置,但是minio前端提示
objectBrowserWSMiddleware.ts:78 WebSocket connection to 'wss://miniow.test.com:1234/ws/objectManager' failed: