question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

"Failed - network error" when downloading large png using toImage button

See original GitHub issue

I haven’t yet found the actual limiting condition, but after some threshold of plot width/height/number of data points, I am unable to download a png of a Plotly plot. See following codepen:

https://codepen.io/anon/pen/WWZBOB

With n = 20000, I can’t download the png, Chrome just shows the following message: image

With n = 10000, it works. It also works with a 2000x2000 figure layout and 20000 points.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:8 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
etpinardcommented, Jul 2, 2019

Things seems to now work ok in Safari off https://github.com/plotly/plotly.js/commit/ecf3ac7c739c2e1a4ae0a840c83cfd6c1731a2d2 on browserstack.

Still, before I make a PR, I would appreciate if someone with access to a Mac could test out https://codepen.io/etpinard/pen/QXraeW in Safari.

Thanks!

1reaction
antoinergcommented, Jun 28, 2019

Taking a snapshot of 14.json on Safari works off master: it downloads the image to the filesystem

Read more comments on GitHub >

github_iconTop Results From Across the Web

6 Ways to Fix the “Download Failed Network Error” on Chrome
In this article, we'll explore the "Download Failed - Network Error" issue. This error message usually pops up in the middle of a...
Read more >
How to Fix 'Failed - Network Error' When Downloading on ...
The “Download Failed: Network Error” appears when users are trying to download something using the Google Chrome browser.
Read more >
network Error" while downloading large size of data as image ...
I have one function which convert data into image and download it. It works fine when data is small, but when data is...
Read more >
Not able to download files. In Chrome I get 'Network Failed' error
The “Download Failed: Network Error” appears when users are ... The error often appears when trying to download larger files but that is...
Read more >
Chrome: Failed - Network Error on downloads - Avast WEBforum
I'm using Chrome as a my browser, and Avast and malwarebytes are the only antivirus/malware things that I am aware of using. I've...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found