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

How does the docker image work in conjunction with Undetected Chromedriver? #1

Open
mansidak opened this issue Feb 14, 2023 · 4 comments
Labels
question Further information is requested

Comments

@mansidak
Copy link

I dig deep into how your code works and figured this might be happened due to the way the docker file has been configured? FYI, I get the following error: 'WebDriverException: Message: unknown error: Chrome failed to start: exited abnormally.'

Your code has been a real lifesaver - it allowed me to finish a project using Streamlit and Selenium with relative ease. However, I had to use undetected_chromedriver instead of the regular WebDriver, and an issue has arisen after running the app with multiple users: it starts to break, and sometimes even reboots itself, attempting to re-install the package dependencies.

I looked into the issue further and think it might have something to do with how the Dockerfile is configured. The error I see is

bcbc051e0e491a1d653fdaf71264a1a280db7dec

Could you advise on how to resolve this issue?

@Franky1
Copy link
Owner

Franky1 commented Feb 14, 2023

I haven't used undetected_chromedriver yet, so i can give no quick answer.
And also this is way too little information to give any advice.
Please share a link to your github project, then i can have a look at it.

@goldengrape
Copy link

I'm having a similar problem, I'm using undetected-chromedriver(uc) in my project
uc is also a chromedriver, I put chromium and chromium-driver in the package.txt file, but it still fails when I run it in streamlit share.

About undetected-chromedriver, its github homepage is
https://github.com/ultrafunkamsterdam/undetected-chromedriver

@Franky1
Copy link
Owner

Franky1 commented Feb 20, 2023

@goldengrape
Can you share a github repo about what you have tried so far?

@goldengrape
Copy link

@Franky1
https://github.com/goldengrape/ChatGPT_Text_Feeder
it runs well locally,
maybe I should get rid of that Undetected Chromdriver, replace with normal Chromdriver

@Franky1 Franky1 added the question Further information is requested label Jun 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants