Google-chrome --headless --disable-gpu gives a network error on Centos

3

1

Running google-chrome-browser latest (75) is giving me a really strange error I am unable to decipher, and I can't find anything helpful about this:

$ google-chrome --disable-gpu --headless 'http://google.com'
[0612/131933.198197:ERROR:browser_process_sub_thread.cc(221)] Waited 4 ms for network service

Using both that and stable changed nothing. The network call is anything between 2 and 6 ms, but what is the problem?

MistaWizard

Posted 2019-06-12T09:42:04.430

Reputation: 61

The below link doesn't help me either https://stackoverflow.com/questions/56403638/errorbrowser-process-sub-thread-cc221-waited-57-ms-for-network-service-with

– MistaWizard – 2019-06-12T10:24:55.293

Answers

3

I found the workaround to be --disable-features=NetworkService. I'm not sure how well this will work, but it gets rid of the error.

MistaWizard

Posted 2019-06-12T09:42:04.430

Reputation: 61

Thanks @ Worthwelle – MistaWizard – 2019-06-16T01:11:30.517

Seems to work here, too. Context: Ruby RSpec tests with Chromium, Capybara & headless_chromium driver. – MegaTux – 2019-07-11T12:59:19.850