mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 16:15:49 -06:00
[GH-ISSUE #4423] wss 协议 connect to server error: unexpected EOF #3493
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#3493
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 @xqzr on GitHub (Sep 6, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4423
Bug Description
frpc 使用 wss 协议,连接 frps 出现
unexpected EOF错误,随后退出。frpc Version
0.60.0
frps Version
0.60.0
System Architecture
frps: linux/amd64;frpc: windows/amd64
Configurations
frps
frpc
见下文。
Logs
<协议>使用tcp、websocket、quic都能获得,以下类似的输出<协议>使用wss获得以下错误输出Steps to reproduce
frpc tcp -p wss -s frp.wo25.net -P 27100 -t xqzr -n 0Affected area
@fatedier commented on GitHub (Sep 6, 2024):
这就是为什么之前一直不希望支持 wss 的原因,预期中就肯定会一直有人提出这样的问题。 https://github.com/fatedier/frp/issues/3519#issuecomment-1630052761
@xqzr commented on GitHub (Sep 6, 2024):
希望能够明确
unexpected EOF具体的错误(这让人很困惑)。@fatedier commented on GitHub (Sep 6, 2024):
有困惑是正常的,这个设计就不合理,不应该在这个层面上支持这个能力。EOF 就是断开连接了,只是这里是协议不匹配造成的,也可能是因为其他原因造成的,无法得知具体的原因。