-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Error: DHT is not available #967
Comments
@konsumer I see you are running with full logs on. The The actual issue is that since you removed some of the bootstraper nodes, you now have a probability of hitting the right gateway that your js-ipfs node connected to. I managed to get your app working by adding the full list of bootstrapers again:
Note, until we have DHT and Relay on, the node that wants to retrieve content from the browser needs to be connected to it. |
I can't seem to to get it to work with those |
I managed to replicate it locally too. @lgierth it seems I can get it to 100% work if I ask nodes to pin the hash that is randomly being generated every time the page loads. Did something change between bootstraper and gateway nodes? |
Please tell me how I can help debug -- stuff changes all the time so the answer to that would be yes of course |
With websockets in particular there've been a number of different reports over the last few weeks, so there definitely is something going on. |
@lgierth How to repro:
|
Yeah so I'm having this issue too: content isn't available on the gateway once you click that link in the example. We've been struggling in general to access IPFS content that is created by browser nodes. I did get content available out of the browser by manually connecting to a remote websocket, Go node from the browser Also, @konsumer gets |
Ah, good hint. We switched the ipfs.io gateway to different hosts a few weeks ago. The websockets bootstrappers aren't actually used as gateways anymore. And the actual gateways (called scrappy and chappy) likely just can't figure out how to connect to the browser node. |
This is the main issue. We were under the assumption that there was a direct connection which was the reason why the gateways could indeed fetch things from the browsers. I'll be meeting with Lars today and we will figure a solution for this |
This switches pull-to-stream to v0.1.1 which includes a fix for ipfs#967 License: MIT Signed-off-by: Marcin Rataj <[email protected]>
I made a demo that worked up until very recently. It demonstrated serving files from the browser-side. The piece of info I needed to get it to work was to pre-configure the
Bootstrap
. Now the files are not available on the gateway, and I am getting tons of error in the console:The text was updated successfully, but these errors were encountered: