Skip to content

gRPC Errors after heavy usage #106

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

Closed
fertrig opened this issue Jun 2, 2023 · 0 comments · Fixed by #108
Closed

gRPC Errors after heavy usage #106

fertrig opened this issue Jun 2, 2023 · 0 comments · Fixed by #108
Assignees
Labels
bug Something isn't working macos Related to the macOS operating system

Comments

@fertrig
Copy link
Collaborator

fertrig commented Jun 2, 2023

On macOS, the user may see gRPC errors after heavy usage of Monarch, e.g. select many stories, make many changes to trigger hot reloads, launch dev tools, select multiple devices, themes, etc.

The errors look like the following:

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: gRPC Error (code: 14, codeName: UNAVAILABLE, message: Error connecting: SocketException: Connection failed (OS Error: Too many open files, errno = 24), address = 0.0.0.0, port = 61002, details: null, rawResponse: null, trailers: {})

[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: gRPC Error (code: 2, codeName: UNKNOWN, message: HTTP/2 error: Connection error: Connection is being forcefully terminated. (errorCode: 10), details: null, rawResponse: null, trailers: {})

This bug was introduced in Monarch 2.1.6.

@fertrig fertrig added bug Something isn't working macos Related to the macOS operating system labels Jun 2, 2023
@fertrig fertrig self-assigned this Jun 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working macos Related to the macOS operating system
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant