Skip to content
This repository has been archived by the owner on Apr 25, 2023. It is now read-only.

expire so soon #27

Closed
daniel-lo opened this issue Aug 28, 2021 · 41 comments
Closed

expire so soon #27

daniel-lo opened this issue Aug 28, 2021 · 41 comments
Labels
question Further information is requested wontfix This will not be worked on

Comments

@daniel-lo
Copy link

daniel-lo commented Aug 28, 2021

Just got my tokens .. but I wonder why expiry is already this afternoon?

Also I get a warning that they are written without an ack-flag.

@Apollon77
Copy link
Member

Please provide logs

@Apollon77 Apollon77 added the question Further information is requested label Mar 12, 2022
@Apollon77
Copy link
Member

PS: Tokens are usually refereshed automatically

@daniel-lo
Copy link
Author

zu lange her .. jetzt sehe ich sowas hier beim öffnen der Setting-Seite:

grafik

@Apollon77
Copy link
Member

Please try to install GitHub version ... (updated some mins ago): WHat the error shows then?

@daniel-lo
Copy link
Author

Bis auf verrutschter Text das gleiche:

grafik

@Apollon77
Copy link
Member

Wann komt die Meldung denn? Habs gestern selbst versucht ... beimir tut alles ohne diese Meldung ... Das generelle Problem gerade ist aber das es im Chrome im Iframe nicht mehr tut ... FF geht bei mir - wenn ich mch vorher einlogge

@daniel-lo
Copy link
Author

Benutze FF .. was meinst Du mit vorher einloggen? Hab den Adapter am laufen .. und will mir die Adapterconf anschauen .. dann Meldung

@Apollon77
Copy link
Member

Die Meldung kommt direkt wenn Du die Adapter-Konfig öffnest?

@daniel-lo
Copy link
Author

si

@Apollon77
Copy link
Member

Welche Admin version?

@daniel-lo
Copy link
Author

Hab das schon länger .. inzwischen so einige admins .. jetzt grad 5.3.1

@Apollon77
Copy link
Member

kann ich ncht nachvollziehen ... müsste man mit Debugger ran :-(

@daniel-lo
Copy link
Author

ich soll debugging anschalten?

@Apollon77
Copy link
Member

Ne da muss man im Brower debuggen wo diese Meldung herkommt und was es ist ... Passiert es nur bei dem Adapter?

@daniel-lo
Copy link
Author

ja .. nur der

@Apollon77
Copy link
Member

Jetzt remote ... steht denn in der browser Fehlerkonsole irgendwas wenn die meldung kommt?

@daniel-lo
Copy link
Author

hätte schon längst geantwortet .. komme aber seit vorhin nicht mehr ran .. host not found .. no compact mode .. bla bla .. fängt sich dann irgendwann .. hab auch schon alle zaubertricks probiert .. melde mich wenn sich der kollege wieder beruhigt

@Apollon77
Copy link
Member

Whhaatt??? Then I would strt (forum) to check your system because it might be related :-)

@daniel-lo
Copy link
Author

Hab ich doch schon ewigkeiten .. eine Zeit lang lief es jetzt prima .. die Tage spackt es wieder .. für mich nichts Neues

@daniel-lo
Copy link
Author

Hab jetzt ein Rollback gemacht .. JS-Adapter lief nicht mehr .. hier der screenshot vom terminal .. hoffe das war es was du benötigst:

grafik

@Apollon77
Copy link
Member

Vllt solltest u mal die instanz löschen und neu einrichten (oder die keys löschen und neu einrichten)

@daniel-lo
Copy link
Author

bin der Meinung hätte ich alles schonmal gemacht .. kann ich nochmal machen

@daniel-lo
Copy link
Author

heute krieg ich auch dies hier ...

fitbit-api.0 2022-03-15 04:30:05.830 error Cannot get new token: {"errors":[{"errorType":"invalid_grant","message":"Refresh token invalid: 89fcac26d7f174d4fc47d8ecee52d81bcbb954a2b670cdc80b8908cc9bbff63a. Visit https://dev.fitbit.com/docs/oauth2 for more information on the Fitbit Web API authorization process."}],"success":false}

@Apollon77
Copy link
Member

When you get this? After having reset the tokens?

@daniel-lo
Copy link
Author

Didn't do anything .. just a rollback to two days ago. But not aware of any changes since then.

@Apollon77
Copy link
Member

Hm .. yes a rollback might get you "Old" refresh token which is no longer valid ... you need to get new ones

@daniel-lo
Copy link
Author

ok .. that should explain that error .. thanks .. still getting this popup though

@daniel-lo
Copy link
Author

daniel-lo commented Mar 16, 2022

Oje oje ...

fitbit-api.0 2022-03-16 19:45:05.761 error Cannot get new token: {"errors":[{"errorType":"invalid_grant","message":"Refresh token invalid: 89fcac26d7f174d4fc47d8ecee52d81bcbb954a2b670cdc80b8908cc9bbff63a. Visit https://dev.fitbit.com/docs/oauth2 for more information on the Fitbit Web API authorization process."}],"success":false}
fitbit-api.0 2022-03-16 19:45:05.759 error Cannot get new token: {"errors":[{"errorType":"invalid_grant","message":"Refresh token invalid: 89fcac26d7f174d4fc47d8ecee52d81bcbb954a2b670cdc80b8908cc9bbff63a. Visit https://dev.fitbit.com/docs/oauth2 for more information on the Fitbit Web API authorization process."}],"success":false}

@Apollon77
Copy link
Member

Also nach holen vom neuen token schon wieder der fehler oder wie? Und zwischen drin tat es?

@daniel-lo
Copy link
Author

Komme langsam durcheinander. Die letzte Maildung besagt doch, dass er kein neues Token holen konte?!

@Apollon77
Copy link
Member

Jetzt mal bitte langsam: Die Meldung sagt er kann das Refresh Toke nicht nutzen um automatisch das Token zu aktualisieren ... daher habe ich gesagt -... du musst bitte genrrell einmal neu "einloggen" das du generell neue tokens bekommst. Danach sollte auch der refresh wieder gehen

@daniel-lo
Copy link
Author

https://youtu.be/S5lSqFTnUyY

geht leider nicht

@Apollon77
Copy link
Member

Video privat, kann ich nicht sehen

@daniel-lo
Copy link
Author

probier mal bitte nochmal .. hab auf - nicht gelistet gestellt .. erstes mal dass ich YT dafür verwende

@daniel-lo
Copy link
Author

Ist wohl ein FF Problem

@Apollon77
Copy link
Member

Ich dachte da Thema hatten wir schon in nem anderen issue geklärt??

Im Forefix musst du bei der "darf nicht im iframe" fehler auf "open in new window" klicken, dann dort einloggen. Danach Adapter Konfig schliessen und direkt neu auf machen, Button nochmal drüben ... dann ist was im fenster an sich.

UND wegen dem Fehler dialog hab ich dir gesgat du sollst die GitHub version installieren weil ich da versucht habe das die Meldung richtig kommt ... Das hast du nicht getan oder Install war nicht erfolgreich ... Hatten wir ehrlicvh auch bei anderen adaptern schonmal das Du gesagt hast das Du von GitHub installiert hast, hattest Du aber nicht :-( So kommen wir nur bedingt bis nicht weiter

@daniel-lo
Copy link
Author

daniel-lo commented Mar 17, 2022

Hab bis jetzt alles befolgt .. aber kann sein, dass durch den Rollback wieder was verloren genagen ist. So wie die Meldung jetzt kommt .. ist sie zu schnell wieder weg um was zu drücken. Ich installiere jetzt von Git und mache dann morgen weiter .. dann ist die Git-Version im Backup

Kann doch auch nichts dafür, dass mein Iobroker durch installationen unbrauchbar wird.

@daniel-lo
Copy link
Author

token aktualisiert jetzt wieder .. danke .. das Popup kommt noch immer .. aber ich köntne auch anklicken nicht wieder anzeigen und den Fehler ingnorieren .. wenn die checkbox greift.

@daniel-lo
Copy link
Author

daniel-lo commented Mar 17, 2022

Checkbox gibt es erst beim zweiten erscheinen .. also nicht beim öffnen der config sondern nach der token aktualisierung .. traue mich auch nicht das anzuhaken .. der Text liest sich so also könnte es sich auch negativ auswirken:

grafik

@stale
Copy link

stale bot commented Jun 18, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs within the next 7 days. Please check if the issue is still relevant in the most current version of the adapter and tell us. Also check that all relevant details, logs and reproduction steps are included and update them if needed. Thank you for your contributions.
Dieses Problem wurde automatisch als veraltet markiert, da es in letzter Zeit keine Aktivitäten gab. Es wird geschlossen, wenn nicht innerhalb der nächsten 7 Tage weitere Aktivitäten stattfinden. Bitte überprüft, ob das Problem auch in der aktuellsten Version des Adapters noch relevant ist, und teilt uns dies mit. Überprüft auch, ob alle relevanten Details, Logs und Reproduktionsschritte enthalten sind bzw. aktualisiert diese. Vielen Dank für Eure Unterstützung.

@stale stale bot added the wontfix This will not be worked on label Jun 18, 2022
@stale
Copy link

stale bot commented Jun 29, 2022

This issue has been automatically closed because of inactivity. Please open a new issue if still relevant and make sure to include all relevant details, logs and reproduction steps. Thank you for your contributions.
Dieses Problem wurde aufgrund von Inaktivität automatisch geschlossen. Bitte öffnet ein neues Issue, falls dies noch relevant ist und stellt sicher das alle relevanten Details, Logs und Reproduktionsschritte enthalten sind. Vielen Dank für Eure Unterstützung.

@stale stale bot closed this as completed Jun 29, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
question Further information is requested wontfix This will not be worked on
Projects
None yet
Development

No branches or pull requests

2 participants