Answer the question
In order to leave comments, you need to log in
Error -4 Selenium - Service geckodriver unexpectedly exited?
Trying to transfer a working script from Windows to vds debian for the 3rd time leads to one result:
selenium.common.exceptions.WebDriverException: Message: Service geckodriver unexpectedly exited. Status code was: -4
Permissions for geckodriver - 777
Already googled and overgoogled everything (probably). What is the possible problem?
Answer the question
In order to leave comments, you need to log in
In general, I solved the problem by installing Ubuntu instead of Debian.
I don’t know why, but it didn’t work on Debian.
Check that Firefox and geckodriver versions match. Also check that Selenium is running in headless mode.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question