Skip to content
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

Cannot deploy panel with with HoloViews Tile to binder - cross origin policy #2078

Closed
MarcSkovMadsen opened this issue Mar 12, 2021 · 4 comments

Comments

@MarcSkovMadsen
Copy link
Collaborator

MarcSkovMadsen commented Mar 12, 2021

Panel 0.11

I am still trying to get my Panel app deployed on binder :-) See

Things are getting much better. But my app does still not work fully as the TILE is not displaying due to a missing "cross origin policy".

[bokeh] unable to load http://3.api.cartocdn.com/base-midnight/3/3/2.png image after 1 attempts
_image.onerror @ bokeh.min.js?v=ada5d64938a63c435e537bbd83d34dfd3b1da9bfb3ca9c7b8e947f29983f2bd491f6a157b4613e727b5739396d69da58a21a56167d248c5ff99c5f3062545d11:483
bokeh.min.js?v=ada5d64938a63c435e537bbd83d34dfd3b1da9bfb3ca9c7b8e947f29983f2bd491f6a157b4613e727b5739396d69da58a21a56167d248c5ff99c5f3062545d11:483 [bokeh] attempting to load http://3.api.cartocdn.com/base-midnight/3/3/2.png without a cross origin policy
_image.onerror @ bokeh.min.js?v=ada5d64938a63c435e537bbd83d34dfd3b1da9bfb3ca9c7b8e947f29983f2bd491f6a157b4613e727b5739396d69da58a21a56167d248c5ff99c5f3062545d11:483

Reproduce

https://mybinder.org/v2/gh/MarcSkovMadsen/load-forecasts/HEAD?urlpath=/panel/app

Screenshot

image

FYI. @philippjfr

@philippjfr
Copy link
Member

This has nothing to do with Panel, Bokeh or HoloViews. The tile provider simply has not allowed cross-origin requests, but has likely allowed localhost access which is why it works for you.

@MarcSkovMadsen
Copy link
Collaborator Author

Any info why this was closed?

@philippjfr
Copy link
Member

This has nothing to do with Panel, Bokeh or HoloViews. The tile provider simply has not allowed cross-origin requests, but has likely allowed localhost access which is why it works for you.

@MarcSkovMadsen
Copy link
Collaborator Author

Is there any way to solve this issue?

@philippjfr
Copy link
Member

No, none whatsoever. If this is one of the default tiles then we will have to remove it (we already know we have to do so for the Wikipedia tiles).

1 similar comment
@philippjfr
Copy link
Member

No, none whatsoever. If this is one of the default tiles then we will have to remove it (we already know we have to do so for the Wikipedia tiles).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants