Skip to content

[Crash] ImageStreamCompleter.reportError #1148

@darshanpp

Description

@darshanpp

Is there an existing issue for this?

  • I have searched the existing issues

Package

youtube_player_flutter

What happened?

I’m encountering a crash related to ImageStreamCompleter.reportError in a Flutter application. The crash is reported in Firebase Crashlytics.

Stacktrace

ClientException: Connection closed before full header was received, uri=

ClientException with SocketException: Failed host lookup: '---.amazonaws.com'
(OS Error: nodename nor servname provided, or not known, errno = 8), uri=

Logs:
Instance of 'DiagnosticsProperty<ImageProvider>'
Instance of 'DiagnosticsProperty'

What is the expected behaviour?

The application should handle this error gracefully without throwing a fatal FlutterError or crashing the app.

How to reproduce?

At the moment, this issue is not consistently reproducible. It has only been observed in production via Firebase Crashlytics, and no reliable reproduction steps are available.

A similar crash was previously reported and closed by referring to another library:
#872

Flutter Doctor Output

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions