mirror of
https://github.com/fatedier/frp.git
synced 2026-05-15 08:05:49 -06:00
[GH-ISSUE #4180] IPv6 proxy weirdness #3296
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#3296
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 @dharapvj on GitHub (Apr 24, 2024).
Original GitHub issue: https://github.com/fatedier/frp/issues/4180
Bug Description
If frpc connects to frps server via IPv6 - I cannot connect to local services exposed via container e.g. nginx docker container. But same frpc connects to frps via IPv4, same local service can get connected.
More details can be found in the reproduction steps.
frpc Version
0.57.0
frps Version
0.57.0
System Architecture
linux/amd (client) linux/arm64 (server)
Configurations
Logs
Logs:
Logs when connected to IPv4 Server:
Steps to reproduce
podman run -p 9000:9000 -p 9001:9001 quay.io/minio/minio server /data --console-address ":9001"But anything else like nginx will also do. I can access service viacurl -v localhost:9000on the local machine host.Affected area
@fatedier commented on GitHub (Apr 25, 2024):
2024-04-25 00:11:03.177 [W] [client/control.go:168] [3dede59ef6706e74] [web] start error: port unavailableYou are not using the same configuration?
You need to check the error messages in the frps log.
@dharapvj commented on GitHub (Apr 25, 2024):
I think it was late in night and I pasted wrong logs.. I recreated the scenario again. I also removed ssh proxy so that logs can be simple to look at.
Here is config:
ipv4 server
ipv6 server
local client config
Here are logs:
Connecting to ipv4 machine:
Connecting to ipv6 machine
Corresponding ipv6 server logs:
The service is available locally
@xqzr commented on GitHub (Apr 25, 2024):
看起来 frps 所在的服务器,80 端口被其他进程占用
使用
ss -tlnp sport 80找到占用 80 端口的进程@xqzr commented on GitHub (Apr 25, 2024):
另外
不是必须的
@fatedier commented on GitHub (Apr 26, 2024):
@dharapvj You can refer to the comments above to confirm if port 80 has been occupied and try removing bindAddr.
@dharapvj commented on GitHub (Apr 28, 2024):
I just request you to try out such a scenario once. I have given detailed information and logs so that it could be easier for you to try and reproduce. Can you please try reproducing the issue once?
@fatedier commented on GitHub (Apr 29, 2024):
You cannot expect everyone to have the same environment as you do, there are tests related to IPv6 in end-to-end testing, and obvious errors will be directly detected.
If possible, please conduct more tests, try more ports or other configuration adjustments. Otherwise, I won't be able to provide much help.
@github-actions[bot] commented on GitHub (May 21, 2024):
Issues go stale after 21d of inactivity. Stale issues rot after an additional 7d of inactivity and eventually close.