heroku / heroku-buildpack-google-chrome

[DEPRECATED] Classic buildpack that installs Google Chrome.
296 stars 365 forks source link

Can not connect to the Service /app/.apt/usr/bin/google-chrome-stable #90

Open Tobio89 opened 4 years ago

Tobio89 commented 4 years ago

Hi, I'm using this buildpack along with the chrome-driver one. I'm getting this error message. Other searches pointed to the hosts being the issue but the hosts are correct. Other than that I'm not sure - but it must be the path to the file, right? :S

Edit: To make sure the path is valid, I added a line in my code (os.path.exists(CHR_PATH)) and the path is there, and it's good! It's just not connecting.

Edit 2: I tried running the driver itself and got this message: /app/.apt/usr/bin/google-chrome-stable: line 2: [: =: unary operator expected /app/.apt/usr/bin/google-chrome-stable: line 4: [: =: unary operator expected It doesn't appear to cause it to crash, since I still get the 'DevTools listening on' message.

bkovacev commented 2 years ago

Have you ever figured this one out?