mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3994] QUIC Working but TCP Not Working: connect to server error: session shutdown #3169
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#3169
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 @clarkmcc on GitHub (Feb 15, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/3994
Bug Description
I'm trying to use frp as a library and have been using it for several years in production, however I've just recently upgraded from 0.3x to 0.54.0 and can't seem to get TCP working again. I get the following errors
If I change the client to connect via quic, then it works just fine. This error appears to be coming from yamux. Is there some configuration that I'm missing?
frpc Version
v0.54.0
frps Version
v0.54.0
System Architecture
darwin/arm64
Configurations
Server
Client
Logs
2024/02/15 10:57:38 [I] [service.go:287] try to connect to server...
2024/02/15 10:57:38 [W] [service.go:290] connect to server error: session shutdown
Steps to reproduce
No response
Affected area
@clarkmcc commented on GitHub (Feb 15, 2024):
Apparently I needed to call
.Complete()on my cfg before using it.