-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Has anyone successfully run in AWS Lambda? #772
Comments
I made it work and I created this: Changing from the vanilla Selenium it's almost straight forward. Hope it helps. |
Hi @diegoparrilla thank you very much its so useful, but i need the same but, with undetected_chromedriver, the issue i have is for this library |
@diegoparrilla I'm looking into doing this as well. Would you be able to give me some direction as to how to modify it to use "undetected-chromedriver"? thanks! |
Has anyone managed to resolve this issue? |
Any solutions to this? Thanks! |
Same problem here, anyone solved? |
Same here, Is there any update for this issue? |
Waiting for solution... |
The full error. It seems to have something related to multiprocessing in AWS lambda
|
Getting the same error. Has anyone found a solution? can we disable multiprocessing on UC or enable it on AWS? |
Hey @HerreraCarlos81, fortunately I've done this recently |
HI @filipopo I've been looking through the stackoverflow post you sent, I can see your post mentioning downgrading the version of undetected driver and selenium, (as well as the copyong of the driver to /tmp) THanks in advance |
I'm on the same point, any other solution? |
Hey @SweeneyBoy For me I based it on this repo |
HI @filipopo , I was using that docker set up as a base. I've went back and started from the beginning, and I am able to get this to work now. It looks like I was missing some of the options that were suggested by you and esamhassan over on stackoverflow. If anyone wants a working example then ping me and I'll provide my basic working set up |
@SweeneyBoy I felt bad for saying 2 weeks ago that I will push a fix for this so I did both that #1550 and made a (somewhat) minimal working example with instructions to set it up: This allows you to use newer versions of undetected-chromedriver and selenium The only reason it's "somewhat" minimal is because I'm not exactly sure which options are needed besides the headless mode of course, it doesn't work only with the headless mode for sure |
For me it looks like the options |
Thanks, you can write that down here: umihico/docker-selenium-lambda#186 |
Here's a minimal example (using a headed browser) based on filipopo's stackoverflow answer: https://github.com/grantrosse/headed-undetected-lambda-114 |
i cant run in lambda because i have a issue permissions error in '/home/user8353/
I change the user_dir, executabe paht and include I try to. put my chromedriver binary with this config path, but. nothing. Always is showing the error.
The text was updated successfully, but these errors were encountered: