-
Notifications
You must be signed in to change notification settings - Fork 491
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
WebUI unpopulated #157
Comments
What version of IPFS are you running? |
Latest ver. on dev0.4.0 |
Have you set any custom http API headers via $ ipfs config API |
No, just installed and tried opening it.
|
Hmm interesting. I'm not sure what was happening then. If you run across this issue again, try opening your developer console and checking the console and network tab to see if there are any errors (best to just copy and paste them all). If I had to take a guess there was probably some 403 error, not sure why restarting the daemon would help unless a config value was changed at runtime. |
I think I have this with ipfs 0.3.11 but I haven't tried restarting the node yet. |
See the same effect with a fresh installed ipfs on Raspberry Pi and web gui runned as web broser addons - firefox and chrome, same effect.
Running on Raspbian (debian respin), via systemd,
|
I am having the same problem that @iav is describing, with ipfs also running in a raspberry pi. |
Ok, I make my webui work as expected, in the end it was a CORS (ipfs/kubo#1532) configuration problem. "API": {
"HTTPHeaders": {
"Access-Control-Allow-Credentials": [
"true"
],
"Access-Control-Allow-Methods": [
"PUT",
"GET",
"POST"
],
"Access-Control-Allow-Origin": [
"http://$HOSTNAME:5001",
"http://$FQDN:5001",
"http://$RASPBERRYPI_IP:5001",
"http://localhost",
"http://127.0.0.1"
]
}
}, And replace the upper case variables with the proper value. |
You need to configure access if you are accessing from another machine as it is only whitelisted for localhost. @NightRa I hope the solutions provided were helpful, let us know if you are still running against this. Closing the issue for now. |
I am also having this issue, and have tried setting the API settings as above aswell as setting the port to listen on further up in the config. page displays but is blank of all info |
FYI, with localhost the page hits a js error in Safari and fails to load. It works in Chrome for me. |
hai ! i want asking something, every time i access this link http://localhost:5001/webui on ubuntu nothing appears on web or sometimes failed, is there a special flow for Ubuntu? Is it the same as access in Windows? FYI i already run daemon on ubuntu when i access that link. |
After starting the IPFS daemon, the WebUI came up on localhost:5001 as usual, but with all the fields and all the pages unpopulated - as if it was disconnected from the local IPFS node.
Restarting the IPFS node fixed this.
The text was updated successfully, but these errors were encountered: