-
-
Notifications
You must be signed in to change notification settings - Fork 46
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
The State of Docker containers #27
Comments
Just wanted to let you know that I have been succesfull with the docker image in booking an appointment by replacing chromium with google-chrome inside the docker image. While I had 429s all the time before, after changing the browser this issue was gone and I was able to get an appointment after letting the bot run for about 24 hours. If you want to, I can open an PR (see https://github.com/mod242/impf-botpy/blob/main/docker/Dockerfile) |
Looks good. Interesting that fixed it for you. Sure, a PR is more than welcome! I also already thought about making the Chrome + Chromedriver version dynamic, as in auto-matching them. Chromedriver offers an xml with |
Please refer to DOCKER.md |
thank you @alfonsrv. Not a dev so I struggled. But works now. |
I created #29 and took your idea to make the chromedriver version dynamic (based on the installed chrome-browser, not on latest release, to make sure it is in sync with what comes over the chrome-repos) |
Closing this. Thanks again for the great PR @mod242 |
Been addressing it here and there, but wanted to centrally document the current state and issues when using Docker environments.
The main issue being that the bot is reliably flagged by ImpfterminService when running in Docker containers. It's basically unusable from my experience, as it's stuck with getting
429
s thrown at it. E.g. even after multiple hours it cannot enter the Vermittlungscode successfully – when reloading the page in the container and inputting it manually, it works first try. After that it can monitor for new appointments flawlessly – even though I haven't been able to get a successful alert from it yet.Maybe some mouse wiggles can fix it. I'm a bit torn apart tho. While I want to solve it on a technical level, I think Docker containers only benefit a very small margin of people and it's likely an abuse-factor anyways.
The text was updated successfully, but these errors were encountered: