Skip to content

HttpException: Connection closed before full header was received, uri = http://localhost:52097/json #153972

@andrewkolos

Description

@andrewkolos

Found on 3.24.1 (12.1% of all reports as of today, 8/22/24).

There is no stack trace available (possibly due to dart-lang/sdk#56474 or similar).

The source is probably https://github.com/google/webkit_inspection_protocol.dart/blob/82f0c1c46dfdba5edf7c5fa84456233121dd69e1/lib/webkit_inspection_protocol.dart#L53, which the flutter tool reaches through a few places including

final ChromeTab? chromeTab = await chrome.chromeConnection.getTab((ChromeTab chromeTab) {
return !chromeTab.url.startsWith('chrome-extension');
}, retryFor: const Duration(seconds: 5));

and

final List<ChromeTab> tabs =
await chromeConnection.getTabs(retryFor: retryFor);

and

try {
tab = await chromeConnection.getTab(
(_) => true, retryFor: const Duration(seconds: 1));
} on SocketException {
// Chrome is not responding to the debug protocol and probably has
// already been closed.
}

.

Metadata

Metadata

Assignees

Labels

P1High-priority issues at the top of the work listc: crashStack traces logged to the consoleteam-toolOwned by Flutter Tool teamtriaged-toolTriaged by Flutter Tool team

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions