Skip to content
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

Crash with hot restart #452

Open
joachimvalente opened this issue Oct 17, 2024 · 0 comments
Open

Crash with hot restart #452

joachimvalente opened this issue Oct 17, 2024 · 0 comments

Comments

@joachimvalente
Copy link

joachimvalente commented Oct 17, 2024

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant