CacheManager: Failed to download file from https://harbor.alpha.stylewe.com/image_cache/resize/335x445/image/catalog/2015-04-01/new pic/15-4-1-15-3.JPG with error:
Connection closed before full header was received
Version: 1.x
Platform:
but brower can open it , pic url
any solutions for this issue ?
this is really issue.
when I get over 30 images, some images are stuck and not represent.
Is this issue is flutter's http issue or cache library's issue?
same issue here, the fix to change request from https to HTTP is not helping
Same here, pls fix it :)
I think it might be a problem that the server closes the connections when to many images are downloaded at the same time. So I guess it could be solved with queuing as proposed in #453
@renefloor This issue is still occurring on Flutter 1.22.1, with CachedNetworkImage 2.3.3
Which version of flutter_cache_manager is in your pubspec.lock?
flutter_cache_manager:
dependency: transitive
description:
name: flutter_cache_manager
url: "https://pub.dartlang.org"
source: hosted
version: "2.0.0"
Are you requesting a lot of images? I guess there can be more reasons why a connection is dropped. Can you give me a small reproducible example?
Apparently it is not really related to doing to many requests, as it is reproduced with doing just 1 request as well. I'll reopen this issue, but you'll should keep track (and thumbs up) this issue: https://github.com/flutter/flutter/issues/41573
Most helpful comment
Apparently it is not really related to doing to many requests, as it is reproduced with doing just 1 request as well. I'll reopen this issue, but you'll should keep track (and thumbs up) this issue: https://github.com/flutter/flutter/issues/41573