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

"undetected_chromedriver not working #2061

Open
klebersonend opened this issue Oct 31, 2024 · 7 comments
Open

"undetected_chromedriver not working #2061

klebersonend opened this issue Oct 31, 2024 · 7 comments

Comments

@klebersonend
Copy link

I've been using undetected_chromedriver for a long time, but today when I tried to use it again, I got the following error:

'urllib.error.URLError: <urlopen error [WinError 10060] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond>' 1

@wilsonricardopereirasilveira

the same here. Its caused by failed to download chromium page.
I think thats why the page to download the chromedriver is broken

api: https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json
url: https://googlechromelabs.github.io/chrome-for-testing/

github.io is not working too.

@AndreP05
Copy link

Same problem here

@klebersonend
Copy link
Author

Everything is back to normal here. I don't know if it was a coincidence, but I reinstalled Anaconda and the libraries I use, and when I ran my bot, it started opening Chrome again.

@MuriloCSeidenstucker
Copy link

the same here. Its caused by failed to download chromium page. I think thats why the page to download the chromedriver is broken

api: https://googlechromelabs.github.io/chrome-for-testing/known-good-versions-with-downloads.json url: https://googlechromelabs.github.io/chrome-for-testing/

github.io is not working too.

The links for downloading Chrome and ChromeDriver are back online! You can now access the API endpoint and download pages without issues.

@GGontijo
Copy link

GGontijo commented Nov 4, 2024

Are there any workarounds for this issue? I still don’t have access... It seems the problem is only occurring in Brazil: GitHub Community Discussion

@wilsonricardopereirasilveira
Copy link

wilsonricardopereirasilveira commented Nov 4, 2024

Are there any workarounds for this issue? I still don’t have access... It seems the problem is only occurring in Brazil: GitHub Community Discussion

I'm from Brazil and dont facing this issue anymore.
btw, you can set the chromedrive manually, example:

uc.Chrome(
        browser_executable_path=chromedriver_path
    )

@GGontijo
Copy link

GGontijo commented Nov 7, 2024

Are there any workarounds for this issue? I still don’t have access... It seems the problem is only occurring in Brazil: GitHub Community Discussion

I'm from Brazil and dont facing this issue anymore. btw, you can set the chromedrive manually, example:

uc.Chrome(
        browser_executable_path=chromedriver_path
    )

Thank you for the help! I tested it by manually passing the chromedriver as you suggested and also by fixing a version in version_main, but it still tries to fetch data from the latest-versions-per-milestone-with-downloads.json file at https://googlechromelabs.github.io/.

I identified that this happens in the fetch_release_number method inside patcher.py.

To resolve the issue, I created a fork and fixed the content of both latest-versions-per-milestone-with-downloads.json and last-known-good-versions-with-downloads.json locally in the package so it wouldn’t need to access the site, and it solved the problem. I had to do it this way because we have several services down. Thanks again for the help!

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

5 participants