-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Web UI hangs indefinitely when opening it in a browser after starting the js ipfs daemon #2796
Comments
I considered using IPFS Desktop as an alternative, but that's an upcoming feature for In the meantime, is |
Does this still happen for you? I can't replicate it. |
@achingbrain Yep. Trying it in Chrome with the latest version of the
|
@hugomrdias Can you reproduce this? |
no works here |
Maybe it's a Mac issue? Does @alanshaw have a Mac to try it on? |
Thoughts on how we can move forward with this? @Schwartz10 Can you check if you can reproduce this issue? Thanks! |
No, I have a Mac, I've tried with multiple browsers, it all seems fine.
If you can figure out how to replicate it reliably it can certainly be fixed. |
Steps to reproduce this
Using nvm to pick node versions, run:
cd into Open a
Navigate to URI output when running the js ipfs daemon, and it hangs forever. |
@Schwartz10 tried it and it took ~5 minutes to load but eventually loaded when using node.js I just tried with node.js The only other strange thing I can think of that's specific to my config is that I am using I've tried running the daemon without a VPN connection, so that's not the problem. |
@Schwartz10 and I chatted. We think the most likely explanation is that you're using a set of peers that already can serve the file corresponding to that Maybe |
When @Schwartz runs
and here are mine:
|
Just to add on to what @pcowgill said with some more explicit observations (and this may have already been obvious to everyone), we ran a series of tests - the problem isn't the web UI itself, it's that Paul's js-ipfs instance can't resolve the content behind |
^ This definitely isn't the problem, given that the web UI is working for me with |
Did this info help with reproducing the issue? Thanks! |
I wasn't able to reproduce but I am also connected to the preload nodes, if you're losing connection to the preload nodes that may be the issue. @pcowgill are you still having this issue? |
Closing this, please reopen if you're still encountering this. |
well... I have the same problem... |
ok..I solve this problem. |
After 2 hours trial, I solve this problem finally. I find that there are some attributes missing in js-ipfs's config, compared with go-ipfs.
|
I met the same issue as ipfs#2796 , then I added this piece of code and problem was solved. Environment: macOS 10.15.3 js-ipfs version: 0.4.2 System version: x64/darwin Node.js version: 15.8.0
@LehaoLin can confirm the issue. Why was this closed? |
This is still an issue for me, plase reopen. |
After using
js-ipfs
to start a daemon, it says the web UI will be available herehttp://127.0.0.1:5002/webui
, but when you go to that page in a browser it never finishes loading.The text was updated successfully, but these errors were encountered: