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

Possible problem with geckodriver #266

Closed
turban1988 opened this issue Feb 21, 2019 · 4 comments
Closed

Possible problem with geckodriver #266

turban1988 opened this issue Feb 21, 2019 · 4 comments
Labels

Comments

@turban1988
Copy link
Contributor

Hi,
When I perform a large scale measurement the crawl “crashes” with the following error message:

2019-02-20 18:49:46,567 - PoolWorker-3[MainThread] - browser_commands - ERROR : BROWSER 1: error visting internal link: Message: Failed to decode response from marionette

All following GET commands fail with the following error:
2019-02-20 18:49:46,583 - PoolWorker-3[MainThread] - browser_commands - ERROR : BROWSER 1: error visting internal link: Message: Tried to run command without establishing a connection

It seems to be related to geckodriver. Did anyone else experience something like this?

@felix4webscience
Copy link

felix4webscience commented Feb 25, 2019

@turban1988
Copy link
Contributor Author

I added a random waiting period right after the get_website function call. This seems to fix the problem.

get_website(new_url, sleep, visit_id, webdriver, browser_params, extension_socket)
time.sleep(1 + random.randint(1, 3))

Thanks.

@englehardt
Copy link
Collaborator

Related to #255.

@englehardt englehardt added the bug label Apr 19, 2019
@englehardt
Copy link
Collaborator

Should be fixed from the changes described in #255 (comment). Feel free to open a new issue if not.

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

No branches or pull requests

3 participants