-
-
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
[BUG] Bot does not continue after confirming 2fa code #66
Comments
Run it in verbose mode and click ok - it should continue from there. They may have changed the code again and the button is not defined the same. |
If by running it verbose mode you ment python -v main.py .... Then here is the log I excluded the start since the log would otherwise be way to long. If you still need it tell me where I can post it. Also I discoverd that when you re run it without removing the sessions it seems to just work so it does specificly lie in the part where 2fa is needed and you are not already logged in. The log:
|
Did you press enter after putting in your 2FA and wait for it to proceed? It may require interaction on your part as I cannot troubleshoot what you see in verbose mode.... |
Yes I did as follows: I waited for the 2FA promt to come up then aproved it on my phone. When I saw the screen where it askes you to stay logged in I swichted to the termial and pressed enter. Then what I see happen afer that (in verbose mode) is as follows: The prompt asking wether to stay logged in or not disapairs and then get to the rewards dashbord where you can see your current points tasks etc. But after that the bot stops doing anything. So when pressing enter it goes from this page (yes it is in dutch if you where wondering): And after that it goes to the https://rewards.bing.com/ site but then does not proceed after that: So this is the moment the bot stops working/proceding with what it is supposed to do. |
So after you have confirmed the 2FA and run it again - the instance does nothing at all? |
Update: I misread your answer it does run normaly after re running and not clearing the session. But did encounter a different bug with the versus game and then also crashed. I wil create a seperate issue for it cince it is not related to this one. I wil link it here once it has been made: X |
Temporary solution: I have the same problem. I just terminated the instance then ran it again. The login cookie should be saved after the first time you run it. |
Try the update that was just pushed to the repo - let me know if you have any issue and we can check it out. |
Yeah I threw that in when I was testing and forgot to remove it - if you want to remove the image clearing you can edit it in browser.py then look for the option about blink - then comment that line out |
This issue is stale because it has been open for 14 days with no activity. |
This issue was closed because it has been inactive for 7 days since being marked as stale. |
Description
I start the bot. Then it first starts chrome etc. Then When it askes for the 2fa code confirmation and I press enter. It does log me in and go to the rewards dashbord (I used -v to observe its behavour). Then after de dashbord is loaded it just stops doing anything. I have waited for over 4 hours and still nothing happend.
I have tried this multiple times and also removed the session with eatch atempt.
Expected Behavior
After confirming the 2fa code it schould continue to the dashbord and start doing the punsh cards.
Actual Behavior
After confirming 2fa it does log me in and then continue to the dashbord. But stops doing anything afer that. And also shows no errors.
Possible Fix
I don't ecactly understand how the code works but it at least lies in the part where afer logging in/ confirming the 2fa code. It returns to the dashbord and then something goes wrong during the step after that.
Steps to Reproduce
log:
2024-01-25 11:59:51,627 [INFO] Using default request storage
2024-01-25 11:59:51,656 [INFO] Created proxy listening on 127.0.0.1:53416
2024-01-25 11:59:51,656 [INFO] Using undetected_chromedriver
2024-01-25 11:59:52,572 [INFO] patching driver executable C:\Users\trist\appdata\roaming\undetected_chromedriver\undetected_chromedriver.exe
2024-01-25 11:59:53,418 [INFO] Screen size: 2142x1445
2024-01-25 11:59:53,419 [INFO] Device size: 2087x1294
2024-01-25 11:59:53,513 [INFO] [LOGIN] Logging-in...
2024-01-25 12:00:01,051 [INFO] [LOGIN] Entering email...
2024-01-25 12:00:11,311 [ERROR] [LOGIN] 2FA Code required !
2024-01-25 12:00:11,328 [ERROR] [LOGIN] 2FA code: 44
2024-01-25 12:00:11,328 [INFO] [LOGIN] Press enter when confirmed on your device...
---> After here it does not continue there is no more log even after hours of wating.
Context
Because the bot did not continue after logging in / confirming 2fa, it makes the bot unusable for me.
Your Environment
The text was updated successfully, but these errors were encountered: