File Sharing Example: Getter can't see providers #4233
-
Hey. I've been interested in learning more about Libp2p for work and for personal use. I thought I'd go through some of the examples and trying fidgeting with the code to understand how it works and add my own functionality. I've been looking at the I started instrumenting the code (adding print statements) and found that the getter instance was stalling when asking for the providers. It appears that it is successfully asking for the providers, but the response back is I've confirmed that a connection is being made between the getter instance and the provider instance. I've also confirmed that the provider is running I can keep fidgeting with this, but I kinda wonder if the example is broken? It's more likely PEBKAC :) but figured I'd check. |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 3 replies
-
Thanks for reporting @MitchTurner! Also happy that libp2p sparks your curiosity. Would you mind posting the logs of the file provider and the file receiver here? |
Beta Was this translation helpful? Give feedback.
-
I am sorry for the delay here. Are you testing with #4197. If not, that should fix your problem. In case it doesn't, please run with Thank you @MitchTurner. |
Beta Was this translation helpful? Give feedback.
-
That works! Thank you! |
Beta Was this translation helpful? Give feedback.
-
Great. Closing here. Thank you for reporting the issue. |
Beta Was this translation helpful? Give feedback.
I am sorry for the delay here. Are you testing with #4197. If not, that should fix your problem.
In case it doesn't, please run with
RUST_LOG=debug
and post the logs here once more.Thank you @MitchTurner.