An error occured, reconnecting: OTP cannot be retrieved

Bonjour,

Le plugin ne semble pas arriver à finaliser la procédure d’authentification OTP. Le mail est bien reçu, lu, mais le démon semble tourner en boucle après cette étape sur le check de la boite mail.
Avant la MAJ, cela faisait 1 semaine que le plugin ne marchait déjà plus à cause du pb Cloudflare v2 qui était quasi-systématique.
Je vois qu’il y a un autre sujet sur le même soucis, mais je n’ai pas trouvé de solution à ce pb.
Pour information, j’ai fait la dernière MAJ beta ce jour.

Merci pour votre aide.

[2021-06-02 13:14:07][INFO] : ConnectionThread : Init connection...
[2021-06-02 13:14:07][INFO] : ConnectionThread : cloudscraper version:1.2.58
[2021-06-02 13:14:07][DEBUG] : ConnectionThread : Starting new HTTPS connection (1): ocapi-app.arlo.com:443
[2021-06-02 13:14:08][DEBUG] : ConnectionThread : https://ocapi-app.arlo.com:443 "OPTIONS /api/auth HTTP/1.1" 204 0
[2021-06-02 13:14:08][DEBUG] : ConnectionThread : https://ocapi-app.arlo.com:443 "POST /api/auth HTTP/1.1" 200 None
[2021-06-02 13:14:08][DEBUG] : ConnectionThread : https://ocapi-app.arlo.com:443 "OPTIONS /api/getFactors?data%20=%201622639647 HTTP/1.1" 204 0
[2021-06-02 13:14:08][DEBUG] : ConnectionThread : https://ocapi-app.arlo.com:443 "GET /api/getFactors?data%20=%201622639647 HTTP/1.1" 200 None
[2021-06-02 13:14:08][DEBUG] : ConnectionThread : https://ocapi-app.arlo.com:443 "OPTIONS /api/startAuth HTTP/1.1" 204 0
[2021-06-02 13:14:09][DEBUG] : ConnectionThread : https://ocapi-app.arlo.com:443 "POST /api/startAuth HTTP/1.1" 200 None
[2021-06-02 13:14:09][DEBUG] : ConnectionThread : pivot date:2021-06-02 13:13:09.309543
[2021-06-02 13:14:09][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:14:09][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:14:14][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:14:15][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:14:15][DEBUG] : ConnectionThread : check email:Votre code d'authentification provisoire Arlo
[2021-06-02 13:14:15][DEBUG] : ConnectionThread : got mail content
[2021-06-02 13:14:20][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:14:20][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:14:25][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:14:25][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:14:31][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:14:31][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:14:36][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:14:36][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:14:42][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:14:42][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:14:47][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:14:47][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:14:52][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:14:52][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:14:58][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:14:58][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:15:03][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:15:03][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:15:09][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:15:09][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:15:14][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:15:14][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:15:20][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:15:20][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:15:25][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:15:25][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:15:30][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:15:30][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:15:36][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:15:36][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:15:41][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:15:41][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:15:47][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:15:47][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:15:52][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:15:52][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:15:57][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:15:57][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:16:03][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:16:03][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:16:08][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:16:08][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:16:14][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:16:14][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:16:19][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:16:19][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:16:24][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:16:25][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:16:30][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:16:30][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:16:35][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:16:35][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:16:41][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:16:41][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:16:46][DEBUG] : ConnectionThread : login OK : [b'LOGIN completed.']
[2021-06-02 13:16:46][INFO] : ConnectionThread : Processing inbox...
[2021-06-02 13:16:51][WARNING] : ConnectionThread : An error occured, reconnecting: OTP cannot be retrieved

Bonjour,

Sujet déjà abordé ici:

Ah au temps pour moi, j’ai lu trop vite, tu étais déjà en beta donc en principe tu as déjà la dernière version du plugin pour récupérer le code du au changement de format du mail…

est-ce que le même problème se produit avec un redémarrage du démon?

Si oui, pourrais-tu me fournir le contenu brut du mail (pas simplement un copier/coller depuis le client mail, j’ai besoin du contenu brut du message) en message privé?
Si tu ne sais pas comment faire je peux te donner un MP mon email et pourrais-tu me transférer le mail? p-e que cela suffira.

Parce que sur mes comptes cela fonctionne donc il doit y avoir quelque chose dans ton mail qui fait que le contenu n’est pas le même et donc le plugin n’arrive pas à l’analyser pour trouver le code.

J’ai poussé une nouvelle beta dans laquelle j’ai adapté le parsing, je faisais un truc pas super clean, c’est p-e la cause de l’échec chez toi.
Mais c’est vraiment à l’aveugle, dans les 2 version de la beta je ne reproduis pas le problème.

Bonjour,

Aucun pb, je t’envoie ça en MP.
En attendant j’ai coupé le 2FA, et tout refonctionne normalement. Je vais tester en parallèle la dernière beta en réactivant le 2FA.

Merci

Bonsoir,

Juste pour clôturer ce sujet pour tout le monde, et comme confirmer en message privé, la dernière version stable à permis de régler le problème de parsing du mail.