MiGoller / ioBroker.life360

An ioBroker adapter for Life360.
MIT License
14 stars 3 forks source link

Verbindungsproblem 20.12.23 Check your credentials! #83

Closed benbensimpson closed 9 months ago

benbensimpson commented 9 months ago

seid heute 20.12.2023 keine Verbindung mehr möglich Version 0.2.21 hier mal mein Log von heute

2023-12-20 16:38:01.627 - debug: life360.0 (839564) Fetching Life360 cloud data ... 2023-12-20 16:38:01.628 - debug: life360.0 (839564) Not authenticated against Life360. Will try to connect ... 2023-12-20 16:38:01.628 - debug: life360.0 (839564) Connecting to Life360 service ... 2023-12-20 16:38:01.932 - error: life360.0 (839564) Connection established but failed to authenticate. Check your credentials! 2023-12-20 16:38:01.932 - debug: life360.0 (839564) Auth tokens deleted. 2023-12-20 16:38:01.934 - info: life360.0 (839564) Waiting for online operations to finish ... 2023-12-20 16:38:01.935 - debug: life360.0 (839564) Not authenticated against Life360. Will try to connect ... 2023-12-20 16:38:01.935 - debug: life360.0 (839564) Connecting to Life360 service ... 2023-12-20 16:38:02.007 - error: life360.0 (839564) Connection established but failed to authenticate. Check your credentials! 2023-12-20 16:38:02.008 - debug: life360.0 (839564) Auth tokens deleted. 2023-12-20 16:38:02.010 - info: life360.0 (839564) Waiting for online operations to finish ... 2023-12-20 16:38:02.011 - debug: life360.0 (839564) Not authenticated against Life360. Will try to connect ... 2023-12-20 16:38:02.011 - debug: life360.0 (839564) Connecting to Life360 service ... 2023-12-20 16:38:02.077 - error: life360.0 (839564) Connection established but failed to authenticate. Check your credentials! 2023-12-20 16:38:02.077 - debug: life360.0 (839564) Auth tokens deleted. 2023-12-20 16:38:02.078 - info: life360.0 (839564) Waiting for online operations to finish ... 2023-12-20 16:38:02.079 - debug: life360.0 (839564) Not authenticated against Life360. Will try to connect ... 2023-12-20 16:38:02.079 - debug: life360.0 (839564) Connecting to Life360 service ... 2023-12-20 16:38:02.146 - error: life360.0 (839564) Connection established but failed to authenticate. Check your credentials! 2023-12-20 16:38:02.147 - debug: life360.0 (839564) Auth tokens deleted. 2023-12-20 16:38:02.148 - info: life360.0 (839564) Waiting for online operations to finish ... 2023-12-20 16:38:02.148 - debug: life360.0 (839564) Not authenticated against Life360. Will try to connect ... 2023-12-20 16:38:02.149 - debug: life360.0 (839564) Connecting to Life360 service ... 2023-12-20 16:38:02.218 - error: life360.0 (839564) Connection established but failed to authenticate. Check your credentials! 2023-12-20 16:38:02.218 - debug: life360.0 (839564) Auth tokens deleted. 2023-12-20 16:38:02.219 - info: life360.0 (839564) Waiting for online operations to finish ... 2023-12-20 16:38:02.220 - debug: life360.0 (839564) Not authenticated against Life360. Will try to connect ... 2023-12-20 16:38:02.220 - debug: life360.0 (839564) Connecting to Life360 service ... 2023-12-20 16:38:02.287 - error: life360.0 (839564) Connection established but failed to authenticate. Check your credentials! 2023-12-20 16:38:02.287 - debug: life360.0 (839564) Auth tokens deleted. 2023-12-20 16:38:02.288 - info: life360.0 (839564) Waiting for online operations to finish ... 2023-12-20 16:38:02.289 - error: life360.0 (839564) Failed to connect or to login for 6 times. Aborting ... 2023-12-20 16:38:02.289 - error: life360.0 (839564) Error: Error: Connection established but failed to authenticate. Check your credentials! 2023-12-20 16:38:02.290 - debug: life360.0 (839564) Pushing cloud_data to callback function 2023-12-20 16:38:02.290 - warn: life360.0 (839564) No data received from Life360 cloud services! 2023-12-20 16:38:02.673 - info: alexa2.0 (811852) Alexa-Push-Connection (macDms = true) established. Disable Polling 2023-12-20 16:38:02.934 - debug: life360.0 (839564) Auth tokens deleted. 2023-12-20 16:38:03.011 - debug: life360.0 (839564) Auth tokens deleted. 2023-12-20 16:38:03.080 - debug: life360.0 (839564) Auth tokens deleted. 2023-12-20 16:38:03.149 - debug: life360.0 (839564) Auth tokens deleted. 2023-12-20 16:38:03.221 - debug: life360.0 (839564) Auth tokens deleted. 2023-12-20 16:38:03.290 - debug: life360.0 (839564) Auth tokens deleted.

wurde seitens life evtl etwas geändert ??

CKMartens commented 9 months ago

Selbes Problem bei mir seit ca. 8:30 heute morgen. Ich habe den Adapter testweise deinstalliert und komplett neu installiert, aber das Problem bleibt.

Hier das Debug-Log 2023-12-20 16:05:33.433 - debug: life360.0 (78741) Objects client ready ... initialize now 2023-12-20 16:05:33.718 - debug: life360.0 (78741) Objects create System PubSub Client 2023-12-20 16:05:33.718 - debug: life360.0 (78741) Objects create User PubSub Client 2023-12-20 16:05:33.854 - debug: life360.0 (78741) Objects client initialize lua scripts 2023-12-20 16:05:33.858 - debug: life360.0 (78741) Objects connected to redis: 127.0.0.1:9001 2023-12-20 16:05:33.958 - debug: life360.0 (78741) Redis States: Use Redis connection: 127.0.0.1:9000 2023-12-20 16:05:33.988 - debug: life360.0 (78741) States create System PubSub Client 2023-12-20 16:05:33.989 - debug: life360.0 (78741) States create User PubSub Client 2023-12-20 16:05:34.091 - debug: life360.0 (78741) States connected to redis: 127.0.0.1:9000 2023-12-20 16:05:34.319 - info: life360.0 (78741) starting. Version 0.2.21 (non-npm: MiGoller/ioBroker.life360#888e08024c2d93d86aa6eb74f281c574dce86c42) in /opt/iobroker/node_modules/iobroker.life360, node: v18.17.1, js-controller: 5.0.17 2023-12-20 16:05:34.339 - debug: life360.0 (78741) Fetching Life360 cloud data ... 2023-12-20 16:05:34.341 - debug: life360.0 (78741) Not authenticated against Life360. Will try to connect ... 2023-12-20 16:05:34.341 - debug: life360.0 (78741) Connecting to Life360 service ... 2023-12-20 16:05:34.351 - info: life360.0 (78741) Polling enabled every 60 seconds. 2023-12-20 16:05:34.518 - error: life360.0 (78741) Connection established but failed to authenticate. Check your credentials! 2023-12-20 16:05:34.519 - debug: life360.0 (78741) Auth tokens deleted. 2023-12-20 16:05:34.521 - info: life360.0 (78741) Waiting for online operations to finish ... 2023-12-20 16:05:34.524 - debug: life360.0 (78741) Not authenticated against Life360. Will try to connect ... 2023-12-20 16:05:34.524 - debug: life360.0 (78741) Connecting to Life360 service ... 2023-12-20 16:05:34.611 - error: life360.0 (78741) Connection established but failed to authenticate. Check your credentials! 2023-12-20 16:05:34.612 - debug: life360.0 (78741) Auth tokens deleted. 2023-12-20 16:05:34.613 - info: life360.0 (78741) Waiting for online operations to finish ... 2023-12-20 16:05:34.614 - debug: life360.0 (78741) Not authenticated against Life360. Will try to connect ... 2023-12-20 16:05:34.614 - debug: life360.0 (78741) Connecting to Life360 service ... 2023-12-20 16:05:34.693 - error: life360.0 (78741) Connection established but failed to authenticate. Check your credentials! 2023-12-20 16:05:34.693 - debug: life360.0 (78741) Auth tokens deleted. 2023-12-20 16:05:34.694 - info: life360.0 (78741) Waiting for online operations to finish ... 2023-12-20 16:05:34.696 - debug: life360.0 (78741) Not authenticated against Life360. Will try to connect ... 2023-12-20 16:05:34.696 - debug: life360.0 (78741) Connecting to Life360 service ... 2023-12-20 16:05:34.765 - error: life360.0 (78741) Connection established but failed to authenticate. Check your credentials! 2023-12-20 16:05:34.765 - debug: life360.0 (78741) Auth tokens deleted. 2023-12-20 16:05:34.767 - info: life360.0 (78741) Waiting for online operations to finish ... 2023-12-20 16:05:34.767 - debug: life360.0 (78741) Not authenticated against Life360. Will try to connect ... 2023-12-20 16:05:34.767 - debug: life360.0 (78741) Connecting to Life360 service ... 2023-12-20 16:05:34.841 - error: life360.0 (78741) Connection established but failed to authenticate. Check your credentials! 2023-12-20 16:05:34.842 - debug: life360.0 (78741) Auth tokens deleted. 2023-12-20 16:05:34.843 - info: life360.0 (78741) Waiting for online operations to finish ... 2023-12-20 16:05:34.843 - debug: life360.0 (78741) Not authenticated against Life360. Will try to connect ... 2023-12-20 16:05:34.843 - debug: life360.0 (78741) Connecting to Life360 service ... 2023-12-20 16:05:34.910 - error: life360.0 (78741) Connection established but failed to authenticate. Check your credentials! 2023-12-20 16:05:34.910 - debug: life360.0 (78741) Auth tokens deleted. 2023-12-20 16:05:34.911 - info: life360.0 (78741) Waiting for online operations to finish ... 2023-12-20 16:05:34.912 - error: life360.0 (78741) Failed to connect or to login for 6 times. Aborting ... 2023-12-20 16:05:34.912 - error: life360.0 (78741) Error: Error: Connection established but failed to authenticate. Check your credentials! 2023-12-20 16:05:34.912 - debug: life360.0 (78741) Pushing cloud_data to callback function 2023-12-20 16:05:34.913 - warn: life360.0 (78741) No data received from Life360 cloud services! 2023-12-20 16:05:35.523 - debug: life360.0 (78741) Auth tokens deleted. 2023-12-20 16:05:35.614 - debug: life360.0 (78741) Auth tokens deleted. 2023-12-20 16:05:35.695 - debug: life360.0 (78741) Auth tokens deleted. 2023-12-20 16:05:35.767 - debug: life360.0 (78741) Auth tokens deleted. 2023-12-20 16:05:35.844 - debug: life360.0 (78741) Auth tokens deleted. 2023-12-20 16:05:35.913 - debug: life360.0 (78741) Auth tokens deleted.```

MiGoller commented 9 months ago

Kann ich leider nur bestätigen. Beginne heute Abend mit der Analyse.

MiGoller commented 9 months ago

Hmm.. funktioniert bei Euch die App? Bei mir derzeit nur sporadisch.

CKMartens commented 9 months ago

Die App funktioniert eigentlich ohne Probleme, jedenfalls ist mir nichts aufgefallen.

theb3nzi commented 9 months ago

Ja App geht bei mir. Nur iobroker Adapter nicht 🤷🏻‍♂️

MiGoller commented 9 months ago

Probiert mal bitte, ob Ihr Euch in der App abmelden und wieder anmelden könnt. Bei mir klappt das, aber es dauert ewig.

MiGoller commented 9 months ago

Und beim Debuggen der API bekomme ich einen deutlichen Hinweis; Life360 macht da jetzt wohl ernst. image

ali86x commented 9 months ago

Bei mir selbes Problem. Adapter wirft Fehler. Die App funktioniert aber (noch) tadellos.

ali86x commented 9 months ago

Muss leider korrigieren. Auch die App funktioniert jetzt auch nicht mehr. Abgemeldet, und kann mich nun nicht mehr anmelden.

Beim Einloggen erscheint folgende Fehlermeldung: Screenshot_20231220-221627

Sirbuschi2003 commented 9 months ago

Guten Morgen,

Bei mir das gleiche. Das mit der App hatte ich Anfang des Jahres auch. Bin da nicht mehr rein gekommen. Habe dann ein neues Konto angelegt danach ging alles wieder.

Knallochse commented 9 months ago

Ich bin kein Programmierter, habe aber die HomeAssistant Lösung gefunden. Vielleicht hilft es, den Fehler zu beheben Home-Assistant Github

MiGoller commented 9 months ago

Guten Morgen. Habe mir auch die Nacht damit um die Ohren geschlagen. Die Änderungen aus https://github.com/pnbruckner/life360/pull/10 für Home Assistant gehen in dieselbe Richtung wie meine Erkenntnisse. Jetzt konnte ich mich im API-Debugger auch wieder anmelden. Heute Nacht ging es mit demselben Code nicht. Egal ...

Ich muss jetzt allerdings erst arbeiten und mache später damit weiter.

ali86x commented 9 months ago

Guten Morgen. Habe mir auch die Nacht damit um die Ohren geschlagen. Die Änderungen aus pnbruckner/life360#10 für Home Assistant gehen in dieselbe Richtung wie meine Erkenntnisse. Jetzt konnte ich mich im API-Debugger auch wieder anmelden. Heute Nacht ging es mit demselben Code nicht. Egal ...

Ich muss jetzt allerdings erst arbeiten und mache später damit weiter.

Vielen Dank für deine Mühe. Ich drücke die Daumen und hoffe, dass es bald wieder läuft.

MiGoller commented 9 months ago

Manchmal klappt es mit curl, dann wieder nicht mehr. Ich bleibe größtenteils weiterhin von CloudFlare geblockt.

Horgul123 commented 9 months ago

@MiGoller Wenn ich was testen kann/soll sag Bescheid

MiGoller commented 9 months ago

So, bin einen Schritt weiter gekommen. Hoffe, dass es heute Abend etwas zu testen gibt, @Horgul123 . Vorher schaffe ich es leider nicht.

Horgul123 commented 9 months ago

Kein Problem. Sag Bescheid und ich teste sobald es mir dann möglich ist :)

mswiridow commented 9 months ago

@MiGoller Vielen Dank das du trotzdem so unermüdlich daran arbeitest !

MiGoller commented 9 months ago

Die ersten Tests mit den Anpassungen sehen auf meinem Entwicklungs-Server gut aus.

ali86x commented 9 months ago

@MiGoller das macht Hoffnung. Weiter so 👍👍

juggi1962 commented 9 months ago

Zuerst mal danke für deine Arbeit. Gibt es schon was neues?

MiGoller commented 9 months ago

Hallo zusammen, bitte noch etwas Geduld. Ich gehe grad noch meinem regulärem Job nach. Heute Abend gibt es den nächsten Stand.

MiGoller commented 9 months ago

Update auf v0.2.22 steht per NPM oder über GitHub zur Verfügung. Ich drücke die Daumen... Euch und mir.

image

juggi1962 commented 9 months ago

Super, alles wieder grün. Danke noch mal für deine tolle Arbeit

zolpetol commented 9 months ago

VIELEN DANK!!!

theb3nzi commented 9 months ago

Japp, alles wieder wie es gehört :) VIELEN DANK! <3 <3 <3 Schöne Weihnachten

Helmut1895 commented 9 months ago

Es funktioniert wieder. Vielen Dank für Deine tolle Arbeit!

ali86x commented 9 months ago

Melde auch hier alles grün. @MiGoller 1000 dank.

Jetzt muss nur die App noch funktionieren. Kann mich da immer noch nicht einloggen. Aber das ist nicht deine Baustelle.

MiGoller commented 9 months ago

Versuche es mal so, @ali86x :

Das hat bei mir relativ lange, also ca. 15 sec, gedauert, aber dann war ich in der App angemeldet. Anschließend im WLAN kein Problem.

ali86x commented 9 months ago

Versuche es mal so, @ali86x :

  • In der Life360 App abmelden und dann die App schließen... wirklich schließen
  • WLAN kurz deaktivieren, dass Du im Mobilfunknetz eine Datenverbindung hast
  • Life360 App starten und anmelden.

Das hat bei mir relativ lange, also ca. 15 sec, gedauert, aber dann war ich in der App angemeldet. Anschließend im WLAN kein Problem.

Leider keine Chance :( Abgemeldet bin ich ja schon. App geschlossen (auch "Beenden erzwungen"), Cache geleert, alle Berechtigungen gewährt, im Mobilnetz und im WLAN keine Chance. Immer wieder der selbe Fehler (s.o.). Sowohl mit Telefonnummer als auch mit Email versucht.

theb3nzi commented 9 months ago

@ali86x hast mal versucht App neu zu installieren?

ali86x commented 9 months ago

@ali86x hast mal versucht App neu zu installieren?

Auch das habe ich schon probiert. Leider auch kein Erfolg. Bin echt ratlos 😕 Vom Life360 Support kommt auch nicht wirklich Hilfe.

Horgul123 commented 9 months ago

@MiGoller Geht wieder! Danke! :)

ali86x commented 9 months ago

Habe mir jetzt ein neues Konto mit ner anderen E-Mail Adresse angelegt und siehe da, funktioniert auch mit der App. Ich nix verstehen 😳

MiGoller commented 9 months ago

@ali86x , mein Konto war auch schon gesperrt. Life360 hatte das auch nicht mehr freigegeben. Der Support hatte nach Tagen geantwortet. Irgendwann kam dann raus, dass mein Konto gesperrt bzw. gebannt wäre. Ärgerlich wäre das für Kunden mit dem Premium Abo.

MiGoller commented 9 months ago

Ich wünsche allen frohe und erholsame Festtage. Mal schauen, wann der Adapter wieder angepasst werden muss.

benbensimpson commented 9 months ago

Problem bei mir leider wieder da :-(

Knallochse commented 9 months ago

Ich muss leider ebenfalls berichten, dass der Fehler wieder da ist.

theb3nzi commented 9 months ago

Japp, selber Fehler wie davor leider

MiGoller commented 9 months ago

Die neue Störung wird unter #86 behandelt.

Proxtx commented 9 months ago

falls ihr auch über diesen Issue gestolpert seit, beim suchen nach einen Fix für eure Implementation der Life360 Api folgendes musste ich im Code ändern: "User-Agent" auf "com.life360.android.safetymapd/KOKO/23.49.0_android/13" ändern. Bei auth "token" und nicht "token.json" verwenden und den Basic Token auf "Y2F0aGFwYWNyQVBoZUtVc3RlOGV2ZXZldnVjSGFmZVRydVl1ZnJhYzpkOEM5ZVlVdkE2dUZ1YnJ1SmVnZXRyZVZ1dFJlQ1JVWQ==" setzen.