[GH-ISSUE #1266] websocket 如何配置 #1005

Closed
opened 2026-05-05 12:38:54 -06:00 by gitea-mirror · 1 comment
Owner

Originally created by @zjxpcyc on GitHub (May 28, 2019).
Original GitHub issue: https://github.com/fatedier/frp/issues/1266

Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly.
(为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。)

Use the commands below to provide key information from your environment:
You do NOT have to include this information if this is a FEATURE REQUEST

What version of frp are you using (./frpc -v or ./frps -v)?

0.21.0

What operating system and processor architecture are you using (go env)?

没有 go

Configures you used:

frps.ini

bind_port = 7000
vhost_http_port = 8001

frpc.ini

[common]
server_addr = x.x.x.x
server_port = 7000
protocol = websocket

[yansen-wss]
type = tcp
local_port = 8080
custom_domains = pawoma
locations = /wx/chat
remote_port = 55555

Steps to reproduce the issue:
1.
2.
3.

Describe the results you received:
websocket 正常

Describe the results you expected:
报错 501

Additional information you deem important (e.g. issue happens only occasionally):

no

Can you point out what caused this issue (optional)

no

Originally created by @zjxpcyc on GitHub (May 28, 2019). Original GitHub issue: https://github.com/fatedier/frp/issues/1266 Issue is only used for submiting bug report and documents typo. If there are same issues or answers can be found in documents, we will close it directly. (为了节约时间,提高处理问题的效率,不按照格式填写的 issue 将会直接关闭。) Use the commands below to provide key information from your environment: You do NOT have to include this information if this is a FEATURE REQUEST **What version of frp are you using (./frpc -v or ./frps -v)?** 0.21.0 **What operating system and processor architecture are you using (`go env`)?** 没有 go **Configures you used:** frps.ini ```[common] bind_port = 7000 vhost_http_port = 8001 ``` frpc.ini ``` [common] server_addr = x.x.x.x server_port = 7000 protocol = websocket [yansen-wss] type = tcp local_port = 8080 custom_domains = pawoma locations = /wx/chat remote_port = 55555 ``` **Steps to reproduce the issue:** 1. 2. 3. **Describe the results you received:** websocket 正常 **Describe the results you expected:** 报错 501 **Additional information you deem important (e.g. issue happens only occasionally):** no **Can you point out what caused this issue (optional)** no
Author
Owner

@fatedier commented on GitHub (Jun 4, 2019):

不需要任何配置,如果有异常,请先检查自身的服务。

<!-- gh-comment-id:498511298 --> @fatedier commented on GitHub (Jun 4, 2019): 不需要任何配置,如果有异常,请先检查自身的服务。
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#1005
No description provided.