Failed to connect to websocket

I am just curious… ever since I did a fresh install to the latest (at the time a couple of months ago) release, whenever I try to access OSMC/Kodi on my Raspberry Pi through the AWXi web interface, it “fail[s] to connect to websocket, retrying…” three times then “switching to polling…” it works fine after that, but I am just curious as to why? I don’t have that issue connecting to Kodi on an Android TV Box also running the AWXi interface.