-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Running on Ubuntu 20.04 gives chromedriver error #50
Comments
Try kill the process in that port as shown in this link https://stackoverflow.com/questions/11583562/how-to-kill-a-process-running-on-particular-port-in-linux Example
|
@GarnicaJR Thanks for the advice! Strangely, this error is now also occurring on macOS. I've been running it fine on macOS for some weeks, but today this error suddenly appeared on macOS too. So I found a macOS equivalent for the command you sent me:
So it seems there are two connections being formed at startup. FYI, I can only get this output right before It seems it's spawning both an IPv4 and an IPv6 connection at the same time. Could this be the root of the problem? If so, how can I get |
@GarnicaJR Oh, I solved the issue. It turns out I just needed to update I saw some other people discussing this issue here and elsewhere; they suggested using the So it turned out the main issue was just that my |
Had a similar issue on Mac (Montery): Turns out it was due to mismatched versions of chrome and chromedriver:
Updating chrome to the same major version fixed the issue. |
I wrote a scraper that works just fine on macOS. When I run the same scraper on Ubuntu 20.04, I get an error:
To make sure it wasn't just my own script, I tried running:
This also failed with the same error:
Again, this error only occurs on Ubuntu 20.04. When I try the same command on macOS, it works perfectly. I followed the Ubuntu 18.04 installation instructions in the README file, with the excption that I have installed the most recent versions of
chromedriver
andgeckodriver
like so:The reason I did this was because other people reported similar errors and suggested upgrading
chromedriver
to eliminate them. This did not fix the issue for me, but I figured that it's better to have more recent versions anyway.When I looked in
htop
to see why this error was occurring, I noticed that on Ubuntu, there were multiple instances ofchromedriver
opening during this command, whereas in macOS only one instance of it opened. I am not sure why this is happening, but I suspect it is related to the error because it's apparently complaining about more than onechromedriver
instance being open.The text was updated successfully, but these errors were encountered: