ioBroker.jarvis icon indicating copy to clipboard operation
ioBroker.jarvis copied to clipboard

Manually trigger Socket reconnect...

Open disaster123 opened this issue 1 year ago • 6 comments

Hi,

i'm running the pro version and want to add a custom script, which forces to reconnect the websocket. But there seem no function call to reconnect the websocket. If i manually call window.Socket.disconnect()

no new connection is initiated.

Greets, Stefan

disaster123 avatar Aug 20 '23 13:08 disaster123

Dieser Feature Request wurde mit v3.2.0-alpha.1 implementiert. Bitte bestätigen und auf Fehler prüfen. Wenn alles in Ordnung ist, gerne das Issue schließen.


This feature request has been implemented with v3.2.0-alpha.1. Please verify and test the feature for any bugs. If everything works as expected, you may close the issue.

Zefau avatar Sep 24 '23 13:09 Zefau

Ab v3.2 versuch mal mittels reconnect()

Zefau avatar Sep 24 '23 13:09 Zefau

Funktioniert leider nicht.

Ich habe folgende PRobleme: 1.) mein Chromium Fenster unter Linux stirbt quasi seit Alpha 3.2 - das Fenster wird ganz schnell unresponsive - Ursache keine Ahnung

2.) ich erhalte folgende Fehlermeldung: 18:00:13.598 | WARN | SOCKET | Failed to execute 'send' on 'WebSocket': Still in CONNECTING state.

disaster123 avatar Sep 24 '23 16:09 disaster123

Dieser Feature Request wurde mit v3.2.0-alpha.54 implementiert. Bitte bestätigen und auf Fehler prüfen. Wenn alles in Ordnung ist, gerne das Issue schließen.


This feature request has been implemented with v3.2.0-alpha.54. Please verify and test the feature for any bugs. If everything works as expected, you may close the issue.

Zefau avatar Jan 26 '24 22:01 Zefau

Also erneut window.Socket.reconnect(); versuchen?

disaster123 avatar Jan 27 '24 17:01 disaster123

Jo

Zefau avatar Jan 27 '24 18:01 Zefau