appdaemon
appdaemon copied to clipboard
Socket.IO transport not working on 4.X.X
What happened?
Trying to set up the dashboard for the old IPad using transport: socketio
and got the errors in console.
Dashboard not working neither for PC (Windows, Chrome latest) nor IPad (IOS 5.1.1, Chrome or Safari)
Running docker image on Raspberry Pi 3 (4.1.0, latest, dev, always the same)
Version
4.1.0 or :latest or :dev
Installation type
Docker container
Relevant log output
The container logs contains the next error
-04-28 10:40:38.575394 INFO AppDaemon: Got initial state from namespace default
The client is using an unsupported version of the Socket.IO or Engine.IO protocols (further occurrences of this error will be logged with level INFO)
Relevant code in the app or config file that caused the issue
http:
transport: socketio
Anything else?
if comment-out transport: socketio
the dashboard works as expected (of course not on IPad)
I also have same issue. I replaced socketio.js in assets/javascript directory in the container with latest (4.6.1) version and managed to fix unsupported version error, but the dashboard still is empty.
I have configured transport: socketio
yet I see a protocol upgrade to websocket, not sure if this is correct. Any hints anyone?
I am also getting this same error on ios 9.3.5
Did anyone have a solution? I found it was working when I was running AppDaemon in Home Assistant via the addon store without any additional configuration...