-
-
Notifications
You must be signed in to change notification settings - Fork 672
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
App CRASH: MultiImageStreamCompleter: Connection refused. Error thrown Instance of 'ErrorDescription'. #830
Comments
same error I think Fatal Exception: io.flutter.plugins.firebase.crashlytics.FlutterError: Software caused connection abort. Error thrown Instance of 'ErrorDescription'. |
same in Flutter 3.7.10 with cached_network_image 3.2.3:
|
Flutter 3.7.6 with cached_network_image 3.2.3:
|
have the same issue |
hello? |
have the same issue |
I also faced the same issue. |
waiting too |
I am also facing this issue |
Everyone else: This is a critical bug, and I have removed this package from my project and instead used this basic code below as a workaround, which surprisingly does NOT crash the app.
|
Same issue posted here as well: |
@jpetro416 version 3.2.3 is already published but the issue still exist ... |
i am seeing this crash on ios in production, not debug. $ flutter doctorDoctor summary (to see all details, run flutter doctor -v): • No issues found! |
+1 |
have the same issue |
Same issue here:
and in the details:
|
We also have a lot of this bugs in production on Android |
What I'm testing now is this: cached_network_image: # Temporary until they fix it here
git:
url: https://github.com/iballan/flutter_cached_network_image
path: cached_network_image
ref: develop I added error listener to the image: return CachedNetworkImage(
imageUrl: url ?? Constants.defaultImageUrl,
fit: fit,
width: width,
height: height,
progressIndicatorBuilder: (context, url, downloadProgress) => LoadingIndicator(),
errorListener: (error) { // <- this is the listener needed to not rethrow errors in my modification
Timber.w('Error loading image: $error');
},
errorWidget: (context, url, error) => Center(
child: ErrorWidget(width: width, height: height),
),
); The change I've done on the original repo is this commit: Link if (errorListener != null) {
errorListener(e);
} else {
rethrow;
} I'm hoping that this fixed it. Otherwise i will have to remove more error handling and suppress error more in this library! I'm not sure why even though on top of errorListener, and errorWidget the error is thrown out !? Why would that be the case? I don't think anybody want to crash the app if the image didn't load tho |
I released an update with the fix above and until now it looks like the issue didn't appear on the latest version! |
Yess, after the fix above I can say that it was fixed for me! I don't see related crash reports anymore! EDIT: |
I'm in the latest version 3.3.1 and the issue not fixed |
Any solution?, My Crashlytics dashboard shows a lot of exceptions. Please provide a solution. |
Will someone patch this? I don't use the package anymore, but this package needs this patch |
I still have the same issue. Versions: Flutter 3.24.2 From Crashlytics: ClientException with SocketException: Software caused connection abort (OS Error: Software caused connection abort, errno = 103), new MultiImageStreamCompleter. (multi_image_stream_completer.dart:26) |
I still have the same issue |
🐛 Bug Report
Rapid scrolling produces this crash:
Expected behavior
Image url's are fine and work most of the time, rapid scrolling produces this crash
Reproduction steps
Rapid scrolling of grid images/list images over 20 produces this crash:
Configuration
Version:
cached_network_image: ^3.2.3
Platform:
The text was updated successfully, but these errors were encountered: