TA2k / ioBroker.mercedesme

Mercedes me adapter for ioBroker
MIT License
25 stars 13 forks source link

Fehler: Too many requests. Please reduce reconnect #227

Open LastPerfectTobi opened 2 weeks ago

LastPerfectTobi commented 2 weeks ago

Sporadisch kommen seit ein paar Tagen folgende Fehler im Log. Der Adapter funktioniert, verbindet sich auch danach wieder automatisch.

V0.2.4 ist installiert

2024-11-19 00:00:47.058 - error: mercedesme.0 (703713) WS error:Error: Unexpected server response: 429
2024-11-19 00:00:47.060 - warn: mercedesme.0 (703713) Too many requests. Please reduce reconnect
2024-11-19 00:05:47.040 - error: mercedesme.0 (703713) WS error:Error: Unexpected server response: 429
2024-11-19 00:05:47.040 - warn: mercedesme.0 (703713) Too many requests. Please reduce reconnect
2024-11-19 00:10:47.039 - error: mercedesme.0 (703713) WS error:Error: Unexpected server response: 429
2024-11-19 00:10:47.040 - warn: mercedesme.0 (703713) Too many requests. Please reduce reconnect
2024-11-19 00:15:47.054 - error: mercedesme.0 (703713) WS error:Error: Unexpected server response: 429
2024-11-19 00:15:47.054 - warn: mercedesme.0 (703713) Too many requests. Please reduce reconnect
2024-11-19 00:20:47.068 - error: mercedesme.0 (703713) WS error:Error: Unexpected server response: 429
2024-11-19 00:20:47.069 - warn: mercedesme.0 (703713) Too many requests. Please reduce reconnect
2024-11-19 00:25:47.050 - error: mercedesme.0 (703713) WS error:Error: Unexpected server response: 429
2024-11-19 00:25:47.050 - warn: mercedesme.0 (703713) Too many requests. Please reduce reconnect
2024-11-19 00:30:47.045 - error: mercedesme.0 (703713) WS error:Error: Unexpected server response: 429
2024-11-19 00:30:47.046 - warn: mercedesme.0 (703713) Too many requests. Please reduce reconnect
2024-11-19 00:35:47.043 - error: mercedesme.0 (703713) WS error:Error: Unexpected server response: 429
2024-11-19 00:35:47.044 - warn: mercedesme.0 (703713) Too many requests. Please reduce reconnect
2024-11-19 00:40:47.071 - error: mercedesme.0 (703713) WS error:Error: Unexpected server response: 429
2024-11-19 00:40:47.071 - warn: mercedesme.0 (703713) Too many requests. Please reduce reconnect
2024-11-19 00:45:47.310 - error: mercedesme.0 (703713) WS error:Error: Unexpected server response: 429
2024-11-19 00:45:47.311 - warn: mercedesme.0 (703713) Too many requests. Please reduce reconnect
2024-11-19 00:50:47.053 - error: mercedesme.0 (703713) WS error:Error: Unexpected server response: 429
2024-11-19 00:50:47.053 - warn: mercedesme.0 (703713) Too many requests. Please reduce reconnect
2024-11-19 00:55:47.054 - error: mercedesme.0 (703713) WS error:Error: Unexpected server response: 429
2024-11-19 00:55:47.055 - warn: mercedesme.0 (703713) Too many requests. Please reduce reconnect
TA2k commented 2 weeks ago

GitHub version installieren und debug mode aktivieren

LastPerfectTobi commented 2 weeks ago

Erledigt. Melde mich wenn der Fehler wieder auftritt

LastPerfectTobi commented 1 week ago

Vorhin gabs wieder die Errors. Ping Pong geht die ganze Zeit regelmäßig, daher hier nur der Moment kurz vor dem Fehler.


2024-11-19 21:47:12.480 - debug: mercedesme.0 (862870) Ping
2024-11-19 21:47:12.515 - debug: mercedesme.0 (862870) Pong
2024-11-19 21:47:42.480 - debug: mercedesme.0 (862870) Ping
2024-11-19 21:47:42.514 - debug: mercedesme.0 (862870) Pong
2024-11-19 21:48:12.480 - debug: mercedesme.0 (862870) Ping
2024-11-19 21:48:12.516 - debug: mercedesme.0 (862870) Pong
2024-11-19 21:48:42.480 - debug: mercedesme.0 (862870) Ping
2024-11-19 21:48:42.516 - debug: mercedesme.0 (862870) Pong
2024-11-19 21:49:01.426 - debug: mercedesme.0 (862870) 1001
2024-11-19 21:49:01.426 - debug: mercedesme.0 (862870) Websocket closed
2024-11-19 21:49:12.480 - debug: mercedesme.0 (862870) Ping
2024-11-19 21:49:42.480 - debug: mercedesme.0 (862870) Ping
2024-11-19 21:49:48.678 - info: mercedesme.0 (862870) Lost WebSocket connection. Reconnect WebSocket
2024-11-19 21:49:50.678 - debug: mercedesme.0 (862870) Connect to WebSocket
2024-11-19 21:49:50.845 - error: mercedesme.0 (862870) WS error:Error: Unexpected server response: 429
2024-11-19 21:49:50.846 - warn: mercedesme.0 (862870) Too many requests. Please reduce reconnect
2024-11-19 21:49:50.846 - debug: mercedesme.0 (862870) 1006
2024-11-19 21:49:50.846 - debug: mercedesme.0 (862870) Websocket closed
2024-11-19 21:50:20.679 - debug: mercedesme.0 (862870) Ping
2024-11-19 21:50:50.680 - debug: mercedesme.0 (862870) Ping
2024-11-19 21:51:20.681 - debug: mercedesme.0 (862870) Ping
2024-11-19 21:51:50.681 - debug: mercedesme.0 (862870) Ping
2024-11-19 21:52:20.681 - debug: mercedesme.0 (862870) Ping
2024-11-19 21:52:50.681 - debug: mercedesme.0 (862870) Ping
2024-11-19 21:53:20.682 - debug: mercedesme.0 (862870) Ping
2024-11-19 21:53:50.682 - debug: mercedesme.0 (862870) Ping
2024-11-19 21:54:20.683 - debug: mercedesme.0 (862870) Ping
2024-11-19 21:54:50.680 - info: mercedesme.0 (862870) Try to reconnect
2024-11-19 21:54:50.680 - debug: mercedesme.0 (862870) Connect to WebSocket
2024-11-19 21:54:50.844 - error: mercedesme.0 (862870) WS error:Error: Unexpected server response: 429
2024-11-19 21:54:50.844 - warn: mercedesme.0 (862870) Too many requests. Please reduce reconnect
2024-11-19 21:54:50.844 - debug: mercedesme.0 (862870) 1006
2024-11-19 21:54:50.844 - debug: mercedesme.0 (862870) Websocket closed
2024-11-19 21:55:20.682 - debug: mercedesme.0 (862870) Ping
2024-11-19 21:55:50.683 - debug: mercedesme.0 (862870) Ping
2024-11-19 21:56:20.683 - debug: mercedesme.0 (862870) Ping
2024-11-19 21:56:50.683 - debug: mercedesme.0 (862870) Ping
2024-11-19 21:57:20.685 - debug: mercedesme.0 (862870) Ping
2024-11-19 21:57:50.686 - debug: mercedesme.0 (862870) Ping
2024-11-19 21:58:20.686 - debug: mercedesme.0 (862870) Ping
2024-11-19 21:58:50.688 - debug: mercedesme.0 (862870) Ping
2024-11-19 21:59:08.772 - debug: mercedesme.0 (862870) Refresh Token
2024-11-19 21:59:08.772 - debug: mercedesme.0 (862870) refreshToken
2024-11-19 21:59:08.915 - debug: mercedesme.0 (862870) {"access_token":"zensiertxxxxxxxxxx","refresh_token":"zensiertxxxxxxxxxxxxxx.BzKvnx","token_type":"Bearer","expires_in":14399}
2024-11-19 21:59:08.915 - debug: mercedesme.0 (862870) setRefrehToken: zensiertxxxxxxxxxxxx.BzKvnx
2024-11-19 21:59:08.915 - debug: mercedesme.0 (862870) Reconnect after refreshtoken
2024-11-19 21:59:10.915 - debug: mercedesme.0 (862870) Connect to WebSocket
2024-11-19 21:59:11.078 - error: mercedesme.0 (862870) WS error:Error: Unexpected server response: 429
2024-11-19 21:59:11.078 - warn: mercedesme.0 (862870) Too many requests. Please reduce reconnect
2024-11-19 21:59:11.079 - debug: mercedesme.0 (862870) 1006
2024-11-19 21:59:11.079 - debug: mercedesme.0 (862870) Websocket closed
2024-11-19 21:59:40.917 - debug: mercedesme.0 (862870) Ping
2024-11-19 22:00:10.918 - debug: mercedesme.0 (862870) Ping
2024-11-19 22:00:40.919 - debug: mercedesme.0 (862870) Ping
2024-11-19 22:01:10.920 - debug: mercedesme.0 (862870) Ping
2024-11-19 22:01:40.920 - debug: mercedesme.0 (862870) Ping

So läuft das eine Weile bis der Adapter irgendwann wieder grün wird.

TA2k commented 6 days ago

bitte mal die GitHub version testen

LastPerfectTobi commented 6 days ago

Alles klar, habs gerade installiert und beobachte es.

LastPerfectTobi commented 4 days ago

Keine Auffälligkeit mehr 👍

TA2k commented 4 days ago

kannst du die aktuelle GitHub version nochmal testen

LastPerfectTobi commented 4 days ago

Natürlich. Ich installier die mal schnell.

bloop16 commented 4 days ago

Bekomme einen ähnlichen Verbindungsfehler:

Adapter bleibt jedoch Grün und Verbindet sich immer wieder

2024-11-28 18:49:25.311 - debug: mercedesme.0 (448922) Ping
2024-11-28 18:49:25.336 - debug: mercedesme.0 (448922) Pong
2024-11-28 18:49:55.311 - debug: mercedesme.0 (448922) Ping
2024-11-28 18:49:55.337 - debug: mercedesme.0 (448922) Pong
2024-11-28 18:49:55.562 - info: mercedesme.0 (448922) Lost WebSocket connection. Reconnect WebSocket
2024-11-28 18:49:55.593 - debug: mercedesme.0 (448922) 1005
2024-11-28 18:49:55.594 - debug: mercedesme.0 (448922) Websocket closed
2024-11-28 18:49:57.564 - debug: mercedesme.0 (448922) Connect to WebSocket
2024-11-28 18:49:57.680 - debug: mercedesme.0 (448922) WebSocket connected
2024-11-28 18:49:57.687 - debug: mercedesme.0 (448922) {"message":"Registering User with ciamID: xxxxxxxxx and App-UUID: xxxxxxxxxxxxxxxxxxx"}
2024-11-28 18:50:27.564 - debug: mercedesme.0 (448922) Ping
2024-11-28 18:50:27.588 - debug: mercedesme.0 (448922) Pong
2024-11-28 18:50:57.565 - debug: mercedesme.0 (448922) Ping
2024-11-28 18:50:57.588 - debug: mercedesme.0 (448922) Pong
2024-11-28 18:50:57.687 - info: mercedesme.0 (448922) Lost WebSocket connection. Reconnect WebSocket
2024-11-28 18:50:57.728 - debug: mercedesme.0 (448922) 1005
2024-11-28 18:50:57.729 - debug: mercedesme.0 (448922) Websocket closed
2024-11-28 18:50:59.688 - debug: mercedesme.0 (448922) Connect to WebSocket
2024-11-28 18:50:59.818 - debug: mercedesme.0 (448922) WebSocket connected
2024-11-28 18:50:59.822 - debug: mercedesme.0 (448922) {"message":"Registering User with ciamID: xxxxxxxxxxxxxxxxx and App-UUID: xxxxxxxxxxxxxxxx"}
2024-11-28 18:51:29.689 - debug: mercedesme.0 (448922) Ping
2024-11-28 18:51:29.712 - debug: mercedesme.0 (448922) Pong
2024-11-28 18:51:59.689 - debug: mercedesme.0 (448922) Ping
2024-11-28 18:51:59.718 - debug: mercedesme.0 (448922) Pong
2024-11-28 18:51:59.822 - info: mercedesme.0 (448922) Lost WebSocket connection. Reconnect WebSocket
2024-11-28 18:51:59.850 - debug: mercedesme.0 (448922) 1005
2024-11-28 18:51:59.851 - debug: mercedesme.0 (448922) Websocket closed
2024-11-28 18:52:01.824 - debug: mercedesme.0 (448922) Connect to WebSocket
2024-11-28 18:52:01.930 - debug: mercedesme.0 (448922) WebSocket connected
2024-11-28 18:52:01.933 - debug: mercedesme.0 (448922) {"message":"Registering User with ciamID: xxxxxxxxxxxxxxx and App-UUID: xxxxxxxxxxxxxxxxxxxxx"}
LastPerfectTobi commented 4 days ago

Also auch mit der letzten Github Version funktionierts auch normal. Keine Errors und Abbrüche mehr.

bloop16 commented 3 days ago

Ich habe nun die Adapter Version 0.2.4 und Instanz komplett entfernt, anschließend alles nochmals Installiert. Leider weiterhin das selbe verhalten. Adapter bleibt jedoch die ganze Zeit Grün

2024-11-29 17:12:27.912 - info: mercedesme.0 (816502) starting. Version 0.2.4 (non-npm: TA2k/ioBroker.mercedesme#36056d7da20d8e9f89bdfe77921f876fc6a44a4c) in /opt/iobroker/node_modules/iobroker.mercedesme, node: v20.18.0, js-controller: 7.0.3

An der Netzwerkverbindung kann es nicht liegen, Adapter wie iob oder cloud bleiben aktiv und bringen keine Fehler.

LastPerfectTobi commented 3 days ago

Ich habe nun die Adapter Version 0.2.4 und Instanz komplett entfernt, anschließend alles nochmals Installiert.

Leider weiterhin das selbe verhalten.

Adapter bleibt jedoch die ganze Zeit Grün

2024-11-29 17:12:27.912 - info: mercedesme.0 (816502) starting. Version 0.2.4 (non-npm: TA2k/ioBroker.mercedesme#36056d7da20d8e9f89bdfe77921f876fc6a44a4c) in /opt/iobroker/node_modules/iobroker.mercedesme, node: v20.18.0, js-controller: 7.0.3

An der Netzwerkverbindung kann es nicht liegen, Adapter wie iob oder cloud bleiben aktiv und bringen keine Fehler.

Du musst aus Github über die Katze (Admin-Modus) drüberinstallieren. Das ist dann auch die Version 0.2.4 aber trotzdem eine andere.

bloop16 commented 2 days ago

Du musst aus Github über die Katze (Admin-Modus) drüberinstallieren. Das ist dann auch die Version 0.2.4 aber trotzdem eine andere.

Exakt nach deiner Anleitung erneut darüber installiert. Leider immer noch das selbe verhalten.

fuchs-1978 commented 1 day ago

Bei mir das gleiche Verhalten. Aktuelle Version von GitHub. Es kommt die Meldung

Lost WebSocket connection. Reconnect WebSocket

Abends dann gesperrt bis 0 Uhr..

Das Verhalten tritt seit ein paar Tagen auf.