Microsoft-Rewards-Farmer icon indicating copy to clipboard operation
Microsoft-Rewards-Farmer copied to clipboard

Stuck asking me to 2FA and Then asking me to click enter when i am done

Open hafaram opened this issue 1 year ago • 7 comments

How to I move past this step in the main script?

hafaram avatar Oct 03 '23 20:10 hafaram

I'm having the same issue. Any luck yet?

rjl7405 avatar Oct 05 '23 05:10 rjl7405

try running in headless mode off (-v argument) to see what is happening might just be a simple cookie acceptance required or ive had it when its checking for a bot, seemed to go away ,when i logged in to my account normally on the Microsoft account page

theskid31 avatar Oct 07 '23 09:10 theskid31

Thanks for the reply. I tried that this morning and ended up getting this:

2023-10-07 09:14:47,258 [WARNING] could not detect version_main.therefore, we are assuming it is chrome 108 or higher 2023-10-07 09:15:48,283 [ERROR] WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:64329 from chrome not reachable

rjl7405 avatar Oct 07 '23 13:10 rjl7405

Thanks for the reply. I tried that this morning and ended up getting this:

2023-10-07 09:14:47,258 [WARNING] could not detect version_main.therefore, we are assuming it is chrome 108 or higher 2023-10-07 09:15:48,283 [ERROR] WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:64329 from chrome not reachable

Try reinstalling undtected_driver, you need the new chromedriver.

or you find this path: C:\Users\97oli\appdata\roaming\undetected_chromedriver\undetected_chromedriver.exe

and replace the chromedriver.exe with the newest one for windows: https://chromedriver.chromium.org/downloads

2fersen avatar Oct 10 '23 09:10 2fersen

Thanks for the reply!

I manually replaced the undetected_chromedriver.exe with a newly downloaded one and my warning goes away, but I still get the error. [ERROR] WebDriverException: Message: unknown error: cannot connect to chrome at 127.0.0.1:61864 from chrome not reachable

rjl7405 avatar Oct 11 '23 00:10 rjl7405

I've figured it out! For some reason, my chrome was stuck and wouldn't update to chrome 118. Here's the fix:

  1. Close all instants of chrome (use task manager if necessary)
  2. Go to: C:\Program Files (x86)\Google\Chrome\Application
  3. You should have a chrome.exe and new_chrome.exe file in this directory. Delete chrome.exe
  4. In my instance, I had two folders: 118.x.xxxx.xx and 117.x.xxxx.xx. Delete the 117 folder.
  5. Rename new_chrome.exe to chrome.exe.
  6. Launch chrome.exe

The version was correctly updated in the about window in chrome. Now my chrome and chromedriver jive and the script runs perfectly! Just make sure to use the -v to run headless the first time so you can log into authenticator as @theskid31 mentioned above.

Thanks everyone for your help with this!

rjl7405 avatar Oct 11 '23 01:10 rjl7405

I need help about the 2fa

ohioohio avatar Nov 06 '23 01:11 ohioohio