Skip to content

Connection closed before full header was received Windows crash #3455

@kaciula

Description

@kaciula

Platform

Flutter Desktop Windows

Obfuscation

Enabled

Debug Info

Enabled

Doctor

Flutter 3.35.7
Windows 10

Version

9.9.0

Steps to Reproduce

I'm getting crash reports in Sentry that look like this:

ClientException: ClientException: Connection closed before full header was received, uri=https://o4508484832460800.ingest.us.sentry.io/api/4508484839145472/envelope/ #0 IOClient.send (package:http/src/io_client.dart:229) #1 (<asynchronous suspension>) #2 Response.fromStream (package:http/src/response.dart:58) #3 (<asynchronous suspension>) #4 HttpTransport.send (package:sentry/src/transport/http_transport.dart:42) #5 (<asynchronous suspension>) #6 ParsedPath._splitExtension.<fn> (package:path/src/parsed_path.dart:194)

This seems to happen only on Windows and not on the other platforms.

Expected Result

I don't want the app to crash if Sentry communication does not work well for various reasons.

Actual Result

App crashes with

ClientException: ClientException: Connection closed before full header was received, uri=https://o4508484832460800.ingest.us.sentry.io/api/4508484839145472/envelope/ #0 IOClient.send (package:http/src/io_client.dart:229) #1 (<asynchronous suspension>) #2 Response.fromStream (package:http/src/response.dart:58) #3 (<asynchronous suspension>) #4 HttpTransport.send (package:sentry/src/transport/http_transport.dart:42) #5 (<asynchronous suspension>) #6 ParsedPath._splitExtension.<fn> (package:path/src/parsed_path.dart:194)

Are you willing to submit a PR?

None

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Waiting for: Product Owner

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions