Skip to content

Crash with hot restart #452

@joachimvalente

Description

@joachimvalente

Hi,

I am seeing problems when using hot restart on Android and the error points to this package. (A similar issue was reported here.)

Output:

Lost connection to device.
Performing hot restart...                                              ⣷ERROR - 2024-10-16 16:31:32.361736
PUT /yuYm0Wv-E4Q=/
Error thrown by handler.
Connection closed before full header was received
package:shelf/shelf_io.dart 138:16  handleRequest

flutter --version:

Flutter 3.24.3 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 2663184aa7 (5 weeks ago) • 2024-09-11 16:27:48 -0500
Engine • revision 36335019a8
Tools • Dart 3.5.3 • DevTools 2.37.3

I'm using a Pixel 6. This happens whether I launch from VSCode or from the terminal via flutter run. This happens for hot restart but not hot reload. My version of shelf is 1.4.1.

Do you know if this is actually due to this package, or if the problem could be somewhere else?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions