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

Exporting: 413 Request Entity Too Large #4614

Closed
KacperMadej opened this issue Oct 1, 2015 · 15 comments
Closed

Exporting: 413 Request Entity Too Large #4614

KacperMadej opened this issue Oct 1, 2015 · 15 comments
Assignees

Comments

@KacperMadej
Copy link

When trying to export big map with large amount of data (world-palestine-highres with population data in mapbubble series) exporting returns 413 Request Entity Too Large.

Example: http://jsfiddle.net/5mzd6dh2/

Workaround: use custom exporting server with increased size limit in nginx.conf

@pawelfus
Copy link
Contributor

+1

@TorsteinHonsi
Copy link
Collaborator

Workaround

In modern browsers, you can use the offline-exporting.js module: http://jsfiddle.net/highcharts/5mzd6dh2/1/

@gvaartjes
Copy link
Contributor

Hi @KacperMadej , we're moved to nginx that's right! I didn't think of this setting this option.

thx for pointing out.

+10

@raeinhashemi
Copy link

Hi guys, I have a large highstock with a large dataset. I tried both your server and offline-exporting but they don't seem to work. I know that there's the option of setting up an export server but not for me. Is there anyway that I can increase the size limit for the client-side exporting?

Thanks

@TorsteinHonsi
Copy link
Collaborator

To work around the issues, you may also try using data grouping or the boost module.

@raeinhashemi
Copy link

Thanks but they are of no use for the exporting part. I am processing 8GB of data and I'm already grouping so many chunks of data into one, still it is so big to export. And I want atleast a 300dpi print image, which means something like a 3300px * 5100px image. It is something like the picture below. It just lacks the resolution.

8

@gvaartjes
Copy link
Contributor

@raeenh2002
I would then recommend to use our PhantomJS script from the command line. Read more about this here: http://www.highcharts.com/docs/export-module/render-charts-serverside
It has never been tested against 8GB, though

@gvaartjes
Copy link
Contributor

Request entity has been increased on the server (Dec 29th 2015), closing issue now

@dreamalligator
Copy link

@gvaartjes what is the new limit? I still sometimes get this issue. That said though, we havent had opportunity to upgrade to newest Highcharts yet.

@gvaartjes
Copy link
Contributor

@nebulousdog This is an old thread dealing with our old exporting server running Java. We moved over to a NodeJS/NGinx server. The setting you're talking about is something we have to set on our servers running the exporting service to prevent misuse. It has nothing to do with running an older Highcharts version.
@cvasseng Can you tell Tommy what's the current limit is?

@cvasseng
Copy link
Contributor

cvasseng commented Aug 2, 2017

The limit is 2MB on the node server.

@dreamalligator
Copy link

thanks!

@andreyfomin
Copy link

andreyfomin commented Dec 17, 2018

Is the any example now to export a map from node.js app as pdf. I can't find it.
I think you should give more examples in README file of https://github.com/highcharts/node-export-server.

@KacperMadej
Copy link
Author

Internal note: the above comment is continued on the correct repo: highcharts/node-export-server#183

@hamzaayoub159
Copy link

Hi @KacperMadej , we're moved to nginx that's right! I didn't think of this setting this option.

thx for pointing out.

+10

hi can you please tell about nginx config how you managed to do it

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

No branches or pull requests

9 participants