Status code was: 64 Meaning

2,508 views
Skip to first unread message

Michael Rosenhahn

unread,
Oct 28, 2021, 6:01:45 PM10/28/21
to Selenium Users
Hello,

  I am recently hitting the following error with Selenium and I am trying to determine the cause of the error. 

selenium.common.exceptions.WebDriverException: Message: Service /usr/local/bin/geckodriver unexpectedly exited. Status code was: 64

What are the common causes for Status code 64?

Also is there a link to the definition of the status codes?

⇜Krishnan Mahadevan⇝

unread,
Oct 29, 2021, 12:45:02 AM10/29/21
to Selenium Users
The below two links seem to suggest that it was because the binary was invoked in an incorrect way


The common reasons for that could be that you perhaps have an out of sync situation between your geckodriver and your selenium version?

It would be good if you could include the below information:

1. What version of Selenium are you using?
2. What version of geckodriver are you running?
3. What version of Firefox are you using?


Thanks & Regards
Krishnan Mahadevan

"All the desirable things in life are either illegal, expensive, fattening or in love with someone else!"
My Scribblings @ http://wakened-cognition.blogspot.com/
My Technical Scribblings @ https://rationaleemotions.com/


--
You received this message because you are subscribed to the Google Groups "Selenium Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to selenium-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/selenium-users/6c779279-06d6-4856-a1e2-524ea18dde70n%40googlegroups.com.

Michael Rosenhahn

unread,
Oct 29, 2021, 1:34:55 PM10/29/21
to Selenium Users
We started running into this issue when we upgraded from Python 2 to Python 3.8 and are currently working on fixing all the conversion issues.. Before the upgrade the version of Firefox was locked at 38.6.1ESR

  • Python version  3.8.6
  • Selenium version 4.0.0
  • Geckodriver version  v0.26.0
  • Firefox Version 38.6.1ESR

Ashish George

unread,
Dec 19, 2021, 10:48:53 PM12/19/21
to Selenium Users
Hello guys,

I am also facing the same issue,

selenium.common.exceptions.WebDriverException: Message: Service /usr/bin/geckodriver unexpectedly exited. Status code was: 64

Python 3.7.12
selenium 4.1.0
Mozilla Firefox 88.0
geckodriver 0.29.1

Python firefiox and geckodriver driver versions were locked in the docker image, but selenium was not, so i am assuming selenium 4.1.0 is the issue.
Any thoughts?

Adrian

unread,
Dec 21, 2021, 4:38:26 PM12/21/21
to Selenium Users
Hi,
The latest GeckoDriver is 0.30.0, so you will need to update to that version.


Cheers,
Adrian.

Adrian

unread,
Dec 21, 2021, 4:46:22 PM12/21/21
to Selenium Users
Just to add to that, have a look at the supported platforms page here https://firefox-source-docs.mozilla.org/testing/geckodriver/Support.html
You can see for GeockoDriver 0.30 is required for FireFox 78 ESR and above.
Otherwise when you run your tests they quit on start up.


Cheers,
Adrian.

Reply all
Reply to author
Forward
0 new messages