mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #3571] frpc以wss方式连接ipv6的frps服务不正常 #2850
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#2850
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 @qiangbro on GitHub (Aug 12, 2023).
Original GitHub issue: https://github.com/fatedier/frp/issues/3571
Bug Description
版本:frp_0.51.2_windows_amd64
windows端frpc连接ipv4的wss一切正常,
把地址改成ipv6,不论ipv6地址带不带方括号都报错
本地frpc报错
[W] [service.go:133] login to server failed: parse "ws://----------------ipv6----------------/~!frp": invalid port ":3e00" after host
同时服务端frpc报错,服务端frpc搞了个https2http
http: TLS handshake error from 127.0.0.1:5690: EOF
加方括号效果如下:
2023/08/12 22:18:15 [W] [service.go:133] login to server failed: dial tcp: address ----------------ipv6----------------:5691: missing port in address
frpc Version
0.51.2
frps Version
0.51.2
System Architecture
windows_amd64
Configurations
frpc
[common]
server_addr = [----------------ipv6----------------]
server_port = 5691
protocol = wss
login_fail_exit = false
pool_count = 16
@github-actions[bot] commented on GitHub (Sep 12, 2023):
Issues go stale after 30d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.