[GH-ISSUE #2026] 请教一下,请问是否支持 socket.io 服务的代理? #1607

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

Originally created by @linwenchao on GitHub (Oct 11, 2020).
Original GitHub issue: https://github.com/fatedier/frp/issues/2026

客户端与服务器的 socket.io 服务连接,直连应用服务或者用Nginx代理时正常成功连接,
加上 frp 后一直失败,无论是 frp 反代到 Nginx 或者直接反代到应用服务器都无法成功。

经测试,socket.io连接时只使用polling进行握手能成功,使用websocket就会失败

frpc / frps 均是最新 0.34 版本

frps 跑在 Ubuntu,frpc 跑在Mac(也有其它Go应用在跑)

Originally created by @linwenchao on GitHub (Oct 11, 2020). Original GitHub issue: https://github.com/fatedier/frp/issues/2026 客户端与服务器的 socket.io 服务连接,直连应用服务或者用Nginx代理时正常成功连接, 加上 frp 后一直失败,无论是 frp 反代到 Nginx 或者直接反代到应用服务器都无法成功。 > 经测试,socket.io连接时只使用polling进行握手能成功,使用websocket就会失败 frpc / frps 均是最新 0.34 版本 frps 跑在 Ubuntu,frpc 跑在Mac(也有其它Go应用在跑)
Author
Owner

@linwenchao commented on GitHub (Oct 11, 2020):

单独设了一个tcp端口供websocket握手,问题解决

<!-- gh-comment-id:706757990 --> @linwenchao commented on GitHub (Oct 11, 2020): 单独设了一个tcp端口供websocket握手,问题解决
Author
Owner

@chengfeng311 commented on GitHub (Mar 31, 2023):

能详细讲下配置吗?最近也碰到了这个问题 @linwenchao

<!-- gh-comment-id:1491174170 --> @chengfeng311 commented on GitHub (Mar 31, 2023): 能详细讲下配置吗?最近也碰到了这个问题 @linwenchao
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#1607
No description provided.