[GH-ISSUE #2193] 必须要配合nginx才能对服务器里的websocket进行内网穿透吗? 以下报错跟这点有关系吗?求指点 #1748

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

Originally created by @RussiaVk on GitHub (Jan 16, 2021).
Original GitHub issue: https://github.com/fatedier/frp/issues/2193

do http proxy request error: no such domain

do http proxy request error: backend tried to switch protocol "" when "websocket" was requested

Originally created by @RussiaVk on GitHub (Jan 16, 2021). Original GitHub issue: https://github.com/fatedier/frp/issues/2193 do http proxy request error: no such domain do http proxy request error: backend tried to switch protocol "" when "websocket" was requested
Author
Owner

@fatedier commented on GitHub (Jan 17, 2021):

需要按照 Websocket 的请求方式发送请求,报错信息已经提示你了,需要 switch 的 protocol 是 websocket,但是你请求你传的是空值。

<!-- gh-comment-id:761807028 --> @fatedier commented on GitHub (Jan 17, 2021): 需要按照 Websocket 的请求方式发送请求,报错信息已经提示你了,需要 switch 的 protocol 是 websocket,但是你请求你传的是空值。
Author
Owner

@fatedier commented on GitHub (Jan 17, 2021):

Duplicate of #2189

<!-- gh-comment-id:761808080 --> @fatedier commented on GitHub (Jan 17, 2021): Duplicate of #2189
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#1748
No description provided.