mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #2936] client - server connection uses tcp even protocol = websocket applied in client configuration. #2342
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#2342
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 @anand-010 on GitHub (May 13, 2022).
Original GitHub issue: https://github.com/fatedier/frp/issues/2936
Bug Description
I am trying to connect frp client to server using WebSocket protocol because of some routing in server.

I've setted protocol = websocket in the client ini configuraion.
The connection was successfull but in the wireshark i've noted that there is no http or http upgradation requests send.
only tcp packts are visible.
frpc Version
0.38.0
frps Version
0.38.0
System Architecture
client windows/amd64 , server linux/amd64
Configurations
[common]
server_addr = xxxxxx
server_port = 7000
protocol = websocket
token = secrettoken
meta_token = 6204d237642c6d139c8b00bf
user = xxx
[web]
type = http
local_port = 8000
subdomain = xxx
Logs
2022/05/13 11:19:45 [I] [service.go:301] [72ba4091e96f96f8] login to server success, get run id [72ba4091e96f96f8], server udp port [0]
2022/05/13 11:19:45 [I] [proxy_manager.go:144] [72ba4091e96f96f8] proxy added: [xxxx]
2022/05/13 11:19:46 [I] [control.go:180] [72ba4091e96f96f8] [xxxx] start proxy success
Steps to reproduce
No response
Affected area
@anand-010 commented on GitHub (May 13, 2022):
I've found that WebSocket is not being implemented it yet.

service.go line 259.
Please add this feature.
@github-actions[bot] commented on GitHub (Jun 13, 2022):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.