Skip to content

403: Forbidden Error - Plotly unavailable now for download/use? #6648

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

Closed
shaedmorgan opened this issue Jun 21, 2023 · 22 comments
Closed

403: Forbidden Error - Plotly unavailable now for download/use? #6648

shaedmorgan opened this issue Jun 21, 2023 · 22 comments

Comments

@shaedmorgan
Copy link

shaedmorgan commented Jun 21, 2023

Whenever I try to use/access Plotly, whether by CDN, NPM, or direct download from their site, it shows up as a 403 ERR_ABORTED code. Is Fastly or other resource down that we should be aware of?

@bgrgndzz
Copy link

Same issue!

@arda-bulut
Copy link

Same. All of a sudden, I'm getting Access Denied.

@shaedmorgan
Copy link
Author

Edit: NPM install works - used to download a hard copy to deploy and read in via script locally instead of using CDN - but would still appreciate follow-up on what's going on!

@lucasnetau
Copy link

Same here. https://cdn.plot.ly/ is giving Access Denied for

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>ZNEE2ZPGZG8R8ZFJ</RequestId>
<HostId>cEHu/w6jp0kidjR4ejIEQ6awUXzfVr4q9XVbQFIdIo+AUf9RBwzTvDD+m2T5/Iu2CzFtvV0e6E4=</HostId>
</Error>

@nomadiq
Copy link

nomadiq commented Jun 21, 2023

Same problem here. Alternative location: https://cdnjs.cloudflare.com/ajax/libs/plotly.js/2.24.2/plotly.min.js

@imdex-brett-debeer
Copy link

We're using angular-plotly.js and have the same problem.

@zidlier
Copy link

zidlier commented Jun 21, 2023

I used the file in the dist folder and should still be working
https://raw.githubusercontent.com/plotly/plotly.js/master/dist/plotly.min.js

@MuriloChianfa
Copy link

MuriloChianfa commented Jun 21, 2023

im having the same problem here.
image

@xta
Copy link

xta commented Jun 21, 2023

Other CDN assets are also currently unavailable

GET https://cdn.plot.ly/usa_110m.json also is 403 status

@kkoomen
Copy link

kkoomen commented Jun 21, 2023

Would be nice if someone from the team could answer the current status and when this might be fixed.

@aliiakaay
Copy link

I have same issue, I can not also see the plots on plotly webpage https://plotly.com/python/line-and-scatter/

@gigouni
Copy link

gigouni commented Jun 21, 2023

A (temp) fix has been found by targeting another CDN: https://cdnjs.com/libraries/plotly.js

Tried with the first one and it worked back!

@alimanfoo
Copy link

alimanfoo commented Jun 21, 2023

For anyone hitting this from the plotly python space and trying to figure out how to configure plotly python to use a different CDN, here what I managed to hack (please say if there is a better way):

import plotly
import plotly.io
import plotly.io._utils
from plotly.offline import get_plotlyjs_version


def plotly_cdn_url_hacked(cdn_ver=get_plotlyjs_version()):
    """Return a valid plotly CDN url."""
    # Hack to use a CDN that works.
    # See also https://github.com/plotly/plotly.js/issues/6648
    return "https://cdnjs.cloudflare.com/ajax/libs/plotly.js/{cdn_ver}/plotly.min.js".format(
        cdn_ver=cdn_ver,
    )


setattr(plotly.io._utils, "plotly_cdn_url", plotly_cdn_url_hacked)

@arif98741
Copy link

arif98741 commented Jun 21, 2023

facing same issue. alternatively we are using cdnsjs for support as temporary

@KarthikaRavindran
Copy link

This could be used as an alternative,

Alternative cdnjs for plotly

@arif98741
Copy link

This could be used as an alternative,

Alternative cdnjs for plotly

yes. it works also

@angiopteris
Copy link

You could use the wayback machine for static files, the url to https://cdn.plot.ly/world_110m.json is also affected.
https://web.archive.org/web/20230620005513/https://cdn.plot.ly/world_110m.json

@alexcjohnson
Copy link
Collaborator

Thanks all - we're working on it.

@alexcjohnson
Copy link
Collaborator

Please try again, should be working now. Sorry for the inconvenience!

@arif98741
Copy link

Please try again, should be working now. Sorry for the inconvenience!

Its working. Thanks for quick support

@DanNeidle
Copy link

thank you!

@kkoomen
Copy link

kkoomen commented Jun 21, 2023

Works!

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