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
Server not generating images: [notice] the client closed the connection before the chart was done processing #306
Comments
For me the currently working configuration is node 14 with highcharts 9.2.2. |
I'm having the same problem with node:16.13.2-buster, which I tried to upgrade from node:14.17.5-buster due to some vulnerabilities and to keep Node in a LTS version |
+1 |
Can you share your docker config? |
This PR by @DominicAlthaus fixes the issue for me. |
I confirm that PR fixes the issue. |
This PR seems to solve it: #337 As I've written there: This should no longer be a problem in the latest Puppeteer-based version of the Export Server which I encourage you to try out. Here's a short setup guide: https://github.com/highcharts/node-export-server#puppeteer-version-information Please feel free to report any problems you encounter with the newest version and we will investigate it. If we notice any incompatibilities (or you report them by creating an issue) we will update our docs to include all the necessary information. |
I just did
Im running node 18.17.1 on Windows. |
@sjoshid if you encounter any issues with the Export Server please try to create a new issue for it with a full description. Could you please specify what is in your |
Expected behaviour
Running export server(latest in master) locally with Node 16, sending request to http://localhost:7801 should generate chart.
Actual behaviour
Client(Postman, .NET HttpClient, and curl) hangs while the server displays:
Reproduction steps
curl -H "Content-Type: application/json" -X POST -d '{"scale":8,"type":"png","infile":{"chart":{"type":"bar"},"title":{"text":"Bar Chart Sample"},"xAxis":{"categories":["Cat1","Cat2"]},"yAxis":{"min":0,"labels":{"overflow":"justify"}},"series":[{"name":"Cat1","data":[107,31]},{"name":"Cat2","data":[133,156]}]}}' http://localhost:7801 -o barchart.png
Notes
Switching to Node 14, it works as expected.
Node 15.14.0 also works, 16.0.0 seems to have introduced this behavior in Highcharts.
The text was updated successfully, but these errors were encountered: