-
Notifications
You must be signed in to change notification settings - Fork 114
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
Stop trying to authenticate after a number of failures #221
Comments
Hey @lazerlabs I'm sorry to hear this happened. There is the Therefore, IBeam should stop and prevent this from happening. However, if your container was started in auto-restart mode, this would not have helped, as this safety feature simply shuts IBeam down, effectively shutting the container down. An auto-restart will start it again and eventually cause the lock out. Can you indicate if auto-restart was on? Otherwise, could you share a full log? It could be that IBKR changed how they indicate errors, and we may not catch it in the current pattern. ibeam/ibeam/src/handlers/login_handler.py Lines 318 to 323 in a0ab1cc
|
Unfortunately I have not the previous log: I'm running it as a docker container in unraid and when I stop/restart the logs are gone. I'm changing my configuration to stop the container at least around 11:00pm GMT (they do drop my connection anyway), and during the weekend when they usually schedule maintenance. However, it would be useful to have a generic login counter per day: if it goes above a certain threshold stop it. It shouldn't be on by default, but as a failsafe for this gray area situations. |
Thanks for sharing your thoughts. If it happens again, please share your logs if possible. Do you have the auto-restart on that Docker container? Regarding this:
There is one already, it's the code I've shared with you, it stops after certain amount of failures. Unless you mean to just do a general login counter, then no, there isn't one. Would you be interested in contributing it? |
During this night IBKR had a maintenance scheduled that broke the authentication.
However, Ibeam continued to try to authenticate and eventually my user got disabled.
After a certain amount of failed login attempts the account get disabled. Is it possible to set a "retry max N number of times than just stop"? Looking at the options I'm not sure I understand which one would achieve this.
Meanwhile, I will automatically stop the docker image for a while in the night and during the weekend.
The text was updated successfully, but these errors were encountered: