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

UC Mode intermittently timing out on Windows caused by os.waitpid(self.browser_pid, 0) #2289

Closed
mdmintz opened this issue Nov 15, 2023 · 1 comment · Fixed by #2290
Closed
Assignees
Labels
bug Uh oh... Something needs to be fixed UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode

Comments

@mdmintz
Copy link
Member

mdmintz commented Nov 15, 2023

UC Mode intermittently timing out on Windows, due to os.waitpid(self.browser_pid, 0)

Screenshot 2023-11-15 at 5 46 59 PM

I was trying something out that I first saw in ultrafunkamsterdam/undetected-chromedriver#1391, and again in ultrafunkamsterdam/undetected-chromedriver#1655.

Here's how it looks:

Screenshot 2023-11-15 at 6 03 44 PM

Even with the try/except block, it started making Windows tests hang in GitHub Actions. However, it seems to be fine for POSIX systems (Linux/macOS). Definitely need to change that section so that Windows scripts never try to run it. The issue is intermittent, so it wouldn't be seen too easily.

Note that although there are tests in https://github.com/mdmintz/seleniumbase-examples/actions that use UC Mode, none of those tests are actually using it for avoiding detection. There was a separate repo for that (https://github.com/mdmintz/undetected-testing/actions) but that's not running at this moment due to IP Address checking leading to automation-detection.

@mdmintz mdmintz added bug Uh oh... Something needs to be fixed UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode labels Nov 15, 2023
@mdmintz mdmintz self-assigned this Nov 15, 2023
@mdmintz
Copy link
Member Author

mdmintz commented Nov 16, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Uh oh... Something needs to be fixed UC Mode / CDP Mode Undetected Chromedriver Mode / CDP Mode
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant