-
Notifications
You must be signed in to change notification settings - Fork 417
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
iframe CORS error #1172
Comments
Is there something else running on port 8081? What happens if you curl the root? |
Nothing else listens on |
Running via dockers works as expected. Via docker |
Does http://localhost:8081/iframe/v2.html work for you locally? |
Maybe I am doing something wrong but: When running livebook via docker (Docker Desktop on Windows) both When running livebook on Windows itself via Now if I attach to the docker container itself |
Oh, the hex package doesn't include the iframes :( I didn't notice it when testing livebook from hex, because the iframes got cached. Fixed in #1174, though we need a new version. |
Thank you both for your quick replies! #1174 fixed it for me 😊 |
I've just released 0.6.1, should work as expected from Hex :) |
Environment
livebook server
git rev-parse HEAD
if running with mix): 0.6.0TypeError: NetworkError when attempting to fetch resource.
Current behavior
VegaLite do not render.
Chromes displays the most detailed error in the browser console:
Fetching http://localhost:8081/iframe/v3.html manually via curl or Browser results in a
HTTP 404
"Not Found".I noticed that there are existing issues #1014 and #971 describing a similar error but it looks like the issue was to be fixed in version 0.6.0. For me the issue persists. Deleting
Path.join(System.tmp_dir!(), "livebook")
did not work for me.Expected behavior
I expect the plots render and no CORS error to occur.
The text was updated successfully, but these errors were encountered: