Websocket connection error

I cannot for some reason get a connection via websockets using hass.io. When trying to connect I get the following error:

Connected to ws://192.168.X.XX:8123/api/websocket
> Connection error: Error: reserved fields (2, 3) must be empty

I also have HA installed on another device and it connects to the websocket fine. Is it possibly something to do with docker/resin? Is there something additional I need to enable in order to connect?