You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 18, 2023. It is now read-only.
The CID bafkreia5so3urvs3o5mvguua7othrzg5ssz6djdwqtywrmc6m5l7h7wlnm is getting provided. Check that the CID is in store with curl http://machine1:9050/ipfs/bafkreia5so3urvs3o5mvguua7othrzg5ssz6djdwqtywrmc6m5l7h7wlnm
Then from machine2, wait for both peer counts to reflect the mDNS discovery, and try to fetch the same CID locally: curl http://localhost:9050/ipfs/bafkreia5so3urvs3o5mvguua7othrzg5ssz6djdwqtywrmc6m5l7h7wlnm
But nothing relevant on machine1, and the request times out.
@dignifiedquire in p2p/src/node.rs the BitswapEvent::FindProviders triggers a RpcMessage::ProviderRequest with a ProviderKey::Dht only, could that be why mDNS providers discovery is not working?
The text was updated successfully, but these errors were encountered:
@dignifiedquire in p2p/src/node.rs the BitswapEvent::FindProviders triggers a RpcMessage::ProviderRequest with a ProviderKey::Dht only, could that be why mDNS providers discovery is not working?
No that is not the reason, this part of finding providers is only used as a fallback by bitswap to find providers if it can not find them via bitswap.
Configuration: running
iroh-one
on 2 machines on the same local network, with no p2p bootstrap peers. Discovery happens just fine over mDNS.Use the branch at capyloon/iroh@a7c3b15#diff-4d226c1c8b9372b073d09fa48265e9826c6886a744b6b892eb2c2d800af9d18a to push some content to machine1with:
The CID bafkreia5so3urvs3o5mvguua7othrzg5ssz6djdwqtywrmc6m5l7h7wlnm is getting provided. Check that the CID is in store with
curl http://machine1:9050/ipfs/bafkreia5so3urvs3o5mvguua7othrzg5ssz6djdwqtywrmc6m5l7h7wlnm
Then from machine2, wait for both peer counts to reflect the mDNS discovery, and try to fetch the same CID locally:
curl http://localhost:9050/ipfs/bafkreia5so3urvs3o5mvguua7othrzg5ssz6djdwqtywrmc6m5l7h7wlnm
I see that log in machine2:
But nothing relevant on machine1, and the request times out.
@dignifiedquire in p2p/src/node.rs the
BitswapEvent::FindProviders
triggers aRpcMessage::ProviderRequest
with aProviderKey::Dht
only, could that be why mDNS providers discovery is not working?The text was updated successfully, but these errors were encountered: