plotly.js icon indicating copy to clipboard operation
plotly.js copied to clipboard

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

Open shaedmorgan opened this issue 3 years ago • 22 comments

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?

shaedmorgan avatar Jun 21 '23 01:06 shaedmorgan

Same issue!

bgrgndzz avatar Jun 21 '23 01:06 bgrgndzz

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

arda-bulut avatar Jun 21 '23 01:06 arda-bulut

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!

shaedmorgan avatar Jun 21 '23 02:06 shaedmorgan

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>

lucasnetau avatar Jun 21 '23 02:06 lucasnetau

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

nomadiq avatar Jun 21 '23 03:06 nomadiq

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

imdex-brett-debeer avatar Jun 21 '23 04:06 imdex-brett-debeer

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

zidlier avatar Jun 21 '23 05:06 zidlier

im having the same problem here. image

MuriloChianfa avatar Jun 21 '23 06:06 MuriloChianfa

Other CDN assets are also currently unavailable

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

xta avatar Jun 21 '23 06:06 xta

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

kkoomen avatar Jun 21 '23 07:06 kkoomen

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

aliiakaay avatar Jun 21 '23 08:06 aliiakaay

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!

gigouni avatar Jun 21 '23 09:06 gigouni

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)

alimanfoo avatar Jun 21 '23 10:06 alimanfoo

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

arif98741 avatar Jun 21 '23 11:06 arif98741

This could be used as an alternative,

Alternative cdnjs for plotly

KarthikaRavindran avatar Jun 21 '23 11:06 KarthikaRavindran

This could be used as an alternative,

Alternative cdnjs for plotly

yes. it works also

arif98741 avatar Jun 21 '23 11:06 arif98741

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

angiopteris avatar Jun 21 '23 11:06 angiopteris

Thanks all - we're working on it.

alexcjohnson avatar Jun 21 '23 12:06 alexcjohnson

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

alexcjohnson avatar Jun 21 '23 12:06 alexcjohnson

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

Its working. Thanks for quick support

arif98741 avatar Jun 21 '23 12:06 arif98741