Skip to content

v0.8.1.15 and above - Error: login failed: 2fa: startup failed #1060

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

Open
symonchester opened this issue Feb 17, 2025 · 15 comments
Open

v0.8.1.15 and above - Error: login failed: 2fa: startup failed #1060

symonchester opened this issue Feb 17, 2025 · 15 comments

Comments

@symonchester
Copy link

Upgrading to 1.15 or newer I get login failures.

2025-02-17 08:21:48.878 ERROR (SyncWorker_3) [pyaarlo] imap connection failedb'[ALERT] Application-specific password required: https://support.google.com/accounts/answer/185833 (Failure)'
2025-02-17 08:21:48.878 ERROR (SyncWorker_3) [pyaarlo] login failed: 2fa: startup failed

@symonchester symonchester changed the title v0.8.1.15 and abouve - Error: login failed: 2fa: startup failed v0.8.1.15 and above - Error: login failed: 2fa: startup failed Feb 17, 2025
@twrecked
Copy link
Owner

Did google block your app password?

You can also check in .storage/core.config_entries for tfa_password and make sure it looks good.

@symonchester
Copy link
Author

I dont see any indications of a blocked app password in the Google acoount, tfa_password looks ok.
If I roll back to 0.8.1.14.1 everything works ok again.

@twrecked
Copy link
Owner

If that doesn't work can you attach some logs.

@symonchester
Copy link
Author

Sure thing thanks... These were after the restart when I updated, do you need any other specific logs?

Error: login failed: 2fa: startup failed
If error persists you might need to change config and restart.

2025-02-17 08:21:48.878 ERROR (SyncWorker_3) [pyaarlo] imap connection failedb'[ALERT] Application-specific password required: https://support.google.com/accounts/answer/185833 (Failure)'
2025-02-17 08:21:48.878 ERROR (SyncWorker_3) [pyaarlo] login failed: 2fa: startup failed
2025-02-17 08:21:48.884 WARNING (SyncWorker_3) [homeassistant.helpers.frame] Detected that custom integration 'aarlo' accesses hass.components.persistent_notification, which should be updated to import functions used from persistent_notification directly at custom_components/aarlo/init.py, line 415: hass.components.persistent_notification.create(. This will stop working in Home Assistant 2025.3, please report it to the author of the 'aarlo' custom integration
2025-02-17 08:21:48.885 ERROR (SyncWorker_3) [custom_components.aarlo] unable to connect to Arlo: attempt=1,sleep=15,error=login failed: 2fa: startup failed
2025-02-17 08:22:04.984 ERROR (SyncWorker_3) [pyaarlo] imap connection failedb'[ALERT] Application-specific password required: https://support.google.com/accounts/answer/185833 (Failure)'
2025-02-17 08:22:04.984 ERROR (SyncWorker_3) [pyaarlo] login failed: 2fa: startup failed
2025-02-17 08:22:04.987 ERROR (SyncWorker_3) [custom_components.aarlo] unable to connect to Arlo: attempt=2,sleep=30,error=login failed: 2fa: startup failed
2025-02-17 08:22:36.101 ERROR (SyncWorker_3) [pyaarlo] imap connection failedb'[ALERT] Application-specific password required: https://support.google.com/accounts/answer/185833 (Failure)'
2025-02-17 08:22:36.101 ERROR (SyncWorker_3) [pyaarlo] login failed: 2fa: startup failed
2025-02-17 08:22:36.104 ERROR (SyncWorker_3) [custom_components.aarlo] unable to connect to Arlo: attempt=3,sleep=60,error=login failed: 2fa: startup failed
2025-02-17 08:22:42.666 WARNING (MainThread) [homeassistant.bootstrap] Waiting on integrations to complete setup: {('aarlo', '01JKE34W51GWP758296Q6KHSP8'): 1774676.190553006}
2025-02-17 08:23:37.037 ERROR (SyncWorker_3) [pyaarlo] imap connection failedb'[ALERT] Application-specific password required: https://support.google.com/accounts/answer/185833 (Failure)'
2025-02-17 08:23:37.037 ERROR (SyncWorker_3) [pyaarlo] login failed: 2fa: startup failed
2025-02-17 08:23:37.039 ERROR (SyncWorker_3) [custom_components.aarlo] unable to connect to Arlo: attempt=4,sleep=120,error=login failed: 2fa: startup failed
2025-02-17 08:23:37.039 ERROR (SyncWorker_3) [custom_components.aarlo] unable to connect to Arlo: stopping retries, too may failures

@twrecked
Copy link
Owner

Just the same logs but with verbose_debug enabled.

@Zingaro1
Copy link

Same Problem ....
This error originated from a custom integration.

Logger: custom_components.aarlo
Source: custom_components/aarlo/init.py:442
integration: Arlo Camera Support (documentation, issues)
First occurred: 03:27:58 (2 occurrences)
Last logged: 03:40:22

unable to connect to Arlo: stopping retries, too may failures

@twrecked
Copy link
Owner

@Zingaro1 the same Google password message?

@Zingaro1
Copy link

Zingaro1 commented Feb 18, 2025

twrecked what do you mean ?

@twrecked
Copy link
Owner

You said it was the same error but I couldn't tell from your log so I was just verifying it. The first message has a link to Google i was checking you saw the same thing.

Did you try any of the solutions mentioned in the other messages?

@Zingaro1
Copy link

@twrecked I'll try again later to create a new google App Password and check if works .
I'll keep you informed tomorrow .
Thanks at the moment

@Zingaro1
Copy link

@twrecked Solved : by create new App Password .
Many thanks

@symonchester
Copy link
Author

I enabled debug logging and saw it was complaining about not being able to login but also saw that all my passwords were in plain text in the log, I know I could have removed them before uploading but I decided to try completely remove the integration and install from fresh with the latest version and it now works ok. Didnt have to create a new app password so something must have got corrupt on the upgrade fro 0.8.1.14.1 to 0.8.1.15.

@twrecked
Copy link
Owner

twrecked commented Feb 18, 2025 via email

@symonchester
Copy link
Author

Yeah was a strange one for sure... really appreciate the replies though.

@twrecked
Copy link
Owner

twrecked commented Feb 18, 2025 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants