"Failed - network error" when downloading large png using toImage button
See original GitHub issueI 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:
With n = 10000
, it works. It also works with a 2000x2000 figure layout and 20000 points.
Issue Analytics
- State:
- Created 4 years ago
- Comments:8 (8 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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!
Taking a snapshot of
14.json
on Safari works offmaster
: it downloads the image to the filesystem