Page MenuHomePhabricator

Add better error messages for failing Chrome and investigate connection refused
Closed, ResolvedPublic

Description

During the weekend we got a lot of errors like this:

[kobiton] - [2020-10-17 13:10:16] ERROR: Could not setup the Chrome Devtools Protocol Error: connect ECONNREFUSED 127.0.0.1:9223
[kobiton] - [2020-10-17 13:10:16] ERROR: Error: connect ECONNREFUSED 127.0.0.1:9223
[kobiton] - [2020-10-17 13:10:17] ERROR: No data to collect
[kobiton] - [2020-10-17 13:11:21] ERROR: BrowserError: Could not start the browser with 3 tries

We should check if there's a way to fix the connection refused (is there an instance running that we should kill?) and we should change so the line "Could not start the browser with 3 tries" says which browser is failing.