python linux selenium: chrome not reachable
Adding some chrome options helped!
chrome_options = webdriver.ChromeOptions()
chrome_options.add_argument('--no-sandbox')
chrome = webdriver.Chrome('/usr/local/bin/chromedriver', chrome_options=chrome_options)
If you're using docker and getting this error I have the solution!
The cause of the problem is chrome running out of memory as documented here.
You have to add the flag "--shm-size=2g" to the docker run command.