Skip to content
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

Failed to read marionette port error when using createFirefoxClient() #610

Open
wanwin opened this issue Nov 19, 2023 · 0 comments
Open

Comments

@wanwin
Copy link

wanwin commented Nov 19, 2023

Hi!

On a server running on Debian 11, after executing $client = Client::createFirefoxClient('/var/www/vhosts/my_domain/htdocs/drivers/geckodriver'); with PANTHER_FIREFOX_BINARY='/usr/bin/firefox' (before installing Firefox and setting that variable, I was getting another error: "Expected browser binary location, but unable to find binary in default location, no 'moz:firefoxOptions.binary' capability provided, and no binary flag set on the command line") set in .env file, I'm always getting the same error specified in the issue's title.

Could you please tell me how to fix that error? I've read people experiencing the same problem with Selenium, but nothing involving Panther and after trying different solutions without success I feel that I've reached a dead end.

In case it helps, here you have the version of the different components that I have installed:

Firefox -> 119.0.1 (downloaded from https://archive.mozilla.org/pub/firefox/releases/119.0.1/linux-x86_64/es-ES/firefox-119.0.1.tar.bz2, because I installed it first through apt but after experiencing the mentioned error, I read in this thread that installing the package the other way was less troubleful).

Geckodriver -> 0.33.0 (https://github.com/mozilla/geckodriver/releases/download/v0.33.0/geckodriver-v0.33.0-linux64.tar.gz).

Panther -> 1.1.2.

Thank you in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant