-
Notifications
You must be signed in to change notification settings - Fork 137
Lambda kept breaking down and became unreliable the more it ran with lastest image. #246
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hi @Saurabh-Mudgal , did you able resolve the problem, i have the same issue |
I have not identified the root cause yet. However, increasing the ephemeral storage to 1024MB works as a band-aid fix for me. Any other information or solutions are much appreciated. |
Same issue here. Something related to |
How about setting My playwright (not selenium) script get unstable sometime, but it fixed the issue. |
I'm using I solved the problem by reverting the image to To give more context, the error happened to me, when I selected a link with a PDF and instead of the browser starting the download it started to open a second window to render the PDF viewer using an element The image 3.12.1 is the last one I tested which chrome still downloads the PDF directly. So I no longer have the disconnection errors with the browser. Hope this helps. |
I'm also using |
To try to avoid umihico/docker-selenium-lambda#246
The image works fine initially but the more I run it (aka call the Lambda), the more often do I get this error back:
Dockerfile
status.py
is just wrappers for returning appropriate status codes. My only dependencies are selenium and requests.main.py
Here is the relevant code calling selenium:
Lambda Configs
For context, I would call the lambda in a loop of 5000. It would return the aforementioned error 4 times. When I do that again without changing the image, it returns error 8-9 times. Then 20+ times and so on.
This goes away and resets when I deploy the (same) image again.
What I have tried so far
mkdtmemp()
/tmp/
folder as cleanup at end of function executionI appreciate any help and advice. Thank you!
The text was updated successfully, but these errors were encountered: