-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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 broken? #1883
Comments
Hrm, its working fine on my machine... (not that that means much). @victorbjelkholm your issues look like CORS problems, which is definitely strange. @jbenet what problems were you seeing? what do you mean by 'cant use the webui' does it not load? do things not come up? |
@whyrusleeping it's definitely not a CORS problem. First, the requests happen from one domain, to the same domain but different path. Also, get the same response using cURL. None of the pages is working since every single request except the static resources returns a 403 forbidden. To add some debug information, I'm accessing the webui on a different machine, not on my local machine, if that could be the issue. |
Are you running it with the CORS headers set correctly for that machine? by default the api requests the webui uses can only be made from the localhost, in your setup (accessing from a different machine) those calls would be made from your browser (on a different machine/host). |
@whyrusleeping I'm not supposed to have to set the Seems like the API that the webui is using is unnecessary restrictive. Looks like the request is invalid if I set the |
@victorbjelkholm i think you're right. |
I stopped using the webui before updating to 0.3.8 because i couldn't use it to add assets, list peers, and after a while it stopped listing new assets, etc, but it least it showed me my correct id and the assets I had initially added a month or more ago. I emphasize that from the shell, I can add assets, list assets, list swarm peers, but for some reason, only assets added before a certain date (on or shortly after Oct 20) appear on the webui files list. Maybe/maybe not relevant: But again, they do eventually make it. |
Ah excuse me, I just realized that |
I had the same problem, and after adding I'd say it should be added as default. |
@MichaelMure I believe that is because only 'localhost:5001' is whitelisted to bypass CORS |
I think someone can close this one as #2021 got merged. |
can't use the webui in 0.3.8 -- looks like some permission errors-- others seeing this?
The text was updated successfully, but these errors were encountered: