-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
swarm connect will use any available address not just the given multiaddress #9895
Comments
I've renamed the issue to describe what's going on, but high level:
How to better get the same debugging information from kubo
You could take one of the nodes (e.g. the dialing node), disable QUIC on the node https://github.com/ipfs/kubo/blob/master/docs/config.md#swarmtransportsnetwork and then reboot it. If the nodes do not find each other over mDNS you could then do Note: there are a variety of tools that use similar components as kubo under the hood that can help you exercise your kubo node. https://github.com/ipfs-shipyard/vole is one of these that I tend to use for poking at individual nodes for testing purposes which while not as end-to-end as using kubo as described above is easier and doesn't require the debugging tools to all get bundled into kubo. What's going on under the hood
Given this the more appropriate CLI UX here would probably have been Unless there becomes a way within go-libp2p to dial a specific multiaddr there's nothing to be done here. However, it's not obvious what the correct user contract for this would be in go-libp2p or in kubo. I will open an issue there linking here shortly and if you have any UX recommendations for some of the issue below it would be great to hear them. Notes on why changing this behavior is probably not a good ideaIf the idea was for Some examples:
Historical notes
|
Checklist
Installation method
ipfs-update or dist.ipfs.tech
Version
Config
Description
Trying to debug a speed issue in a transfer between two nodes, locally connected in wifi (one
0.20.0
, one0.19.0
). I tried disconnecting fromquic
to isolate, and reconnect w/ tcp. But no, kubo disregards the user commands and insists on using quic. Disregarding clear user commands and intent is not a feature -- it is a bug.The text was updated successfully, but these errors were encountered: