Holepunching issues: "failed to negotiate protocol: protocols not supported: [/libp2p/dcutr]" even though it is enabled #2824
Unanswered
felix314159
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Usually if you see Haven't taken a close look yet at your code, but some qs:
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, I am trying to get holepunching to work. I have made three code examples and a more detailed writeup of my struggles here: https://github.com/felix314159/golibp2p-holepunchingTest
So basically I am running my node with "export GOLOG_LOG_LEVEL=p2p-holepunch=debug" and it shows that other nodes seem to be able to holepunch through to me, but when I run my own code on two computers in different networks I always get "failed to negotiate protocol: protocols not supported: [/libp2p/dcutr]". The main problem for me here is that I am building a gossipsub-based application and it seems that no topic messages can be sent or received by nodes that are not in the same network as me (and I think it is due to the holepunching issues). Can someone look at the node setup in the code I linked and check on your machine if you get the same issues? I do not understand how at the same time it claims dcutr is not supported while it also prints successful holepunches from nodes I do not control.. I have seen multiple holepunch related discussions popping up in the last few weeks and I wonder if they are related.
Thanks for any reply, have a nice day!
Beta Was this translation helpful? Give feedback.
All reactions