mateusz.mazurek.ocl
Posts: 3
Joined: Fri Nov 08, 2024 9:13 am

Having a problem with 403 forbidden for exporting

Hello, we have a problem currently with using the exporting server. This used to work previously but some time recently (not exactly sure when) it stopped working. We are getting this message on production server:
Image

I see we are missing the referrer header:
Image

So I have two questions:
Is it the referrer header missing causing this?
Or did we do too much requests and got blocked?

Any tips on how to add the referrer header?
jakub.s
Site Moderator
Posts: 1536
Joined: Fri Dec 16, 2022 11:45 am

Re: Having a problem with 403 forbidden for exporting

Hi,

Welcome to our forum & thanks for the question!

We've recently updated our Fair Usage Policy regarding Export Server. There is also rate limiting set up - you will get blocked if you send too many requests (or if you send a few incorrect requests).

Unfortunately, I cannot tell you which reason is it for you without having your IP address/+ domain from which you send your requests. If you'd like me to check that for you, please send me a private message on this forum and I will try to investigate that for you.

Best regards!
Jakub
Highcharts Developer
jbutler
Posts: 1
Joined: Wed Nov 13, 2024 5:45 pm

Re: Having a problem with 403 forbidden for exporting

I'm having the same problem. Works in production, but using localhost, trying to "Download PNG Image" generates a 403 (Forbidden).

At first I received this error: Access to fetch at 'https://export.highcharts.com/' from origin '<my localhost address>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
followed by POST https://export.highcharts.com/ net::ERR_FAILED 403 (Forbidden).

So, I followed instructions to add this command line argument -disable-web-security to chrome.exe command line, which I did, and now I don't get the CORS policy error, but still get the 403 Forbidden.
jakub.s
Site Moderator
Posts: 1536
Joined: Fri Dec 16, 2022 11:45 am

Re: Having a problem with 403 forbidden for exporting

@jbutler could you please share your IP via a private message on this forum? I will then forward it to our devops team and get back to you with the potential reason for it.

Regards!
Jakub
Highcharts Developer
kma47855
Posts: 1
Joined: Mon Nov 18, 2024 10:19 am

Re: Having a problem with 403 forbidden for exporting

I'm also facing the same issue in the exporting server. Previously it was working fine but now only on local environment it is generating a 403 (Forbidden) request error
In UAT environment & Production env its working fine.
mateusz.mazurek.ocl
Posts: 3
Joined: Fri Nov 08, 2024 9:13 am

Re: Having a problem with 403 forbidden for exporting

jakub.s wrote: Thu Nov 14, 2024 8:22 pm
Hello, did You get my message? I am sure I have sent it but I do not see in sent folder here on forums now.
srivani8888
Posts: 1
Joined: Mon Nov 18, 2024 4:41 pm

Re: Having a problem with 403 forbidden for exporting

I am also facing the same issue when exporting highcharts. It was working fine until few days before.
andrzej.b
Site Moderator
Posts: 307
Joined: Mon Jul 15, 2024 12:34 pm

Re: Having a problem with 403 forbidden for exporting

Hi,

Your question is missing, so could you please repeat it?

Kind regards,
Andrzej
Highcharts Developer
mateusz.mazurek.ocl
Posts: 3
Joined: Fri Nov 08, 2024 9:13 am

Re: Having a problem with 403 forbidden for exporting

@andrzej.b we have a problem currently with using the exporting server. This used to work previously but some time recently (not exactly sure when) it stopped working. We are getting this message on production server:
jakub.s
Site Moderator
Posts: 1536
Joined: Fri Dec 16, 2022 11:45 am

Re: Having a problem with 403 forbidden for exporting

@mateusz.mazurek.ocl,

Please attach the message that you're getting.

We've recently updated our Fair usage policy which is to ensure proper server health and fair & balanced usage by all users. You might have sent too many requests (or a few incorrect requests).

The good news is that the Highcharts Export Server is fully open-source so feel free to set up your own based on this setup guide: https://github.com/highcharts/node-export-server so that you can get rid of all the limits and use it internally without any problems.

Best regards!
Jakub
Highcharts Developer
[email protected]
Posts: 2
Joined: Mon Jul 22, 2024 7:55 am

Re: Having a problem with 403 forbidden for exporting

@andrzej.b we have a problem currently with using the exporting server. This used to work previously but some time recently (not exactly sure when) it stopped working. We are getting this message on production server:

I am also facing the same issue when exporting highcharts. It was working fine until few days before.

received this error: Access to fetch at 'https://export.highcharts.com/' from origin '<my localhost address>' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
followed by POST https://export.highcharts.com/ net::ERR_FAILED 403 (Forbidden).

Access to fetch at 'https://export.highcharts.com/' from origin .com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.
index.ts:31


POST https://export.highcharts.com/ net::ERR_FAILED 403 (Forbidden)
jakub.s
Site Moderator
Posts: 1536
Joined: Fri Dec 16, 2022 11:45 am

Re: Having a problem with 403 forbidden for exporting

Hi deepak,

There's currently an open issue for it on GitHub here: https://github.com/highcharts/node-expo ... issues/602 where you can track its progress. We're currently investigating it.

Best regards!
Jakub
Highcharts Developer

Return to “Highcharts Usage”