I am running into big issues and I do not know how to solve it.
My UE 4.22 (UE 4.22-Oculus build from source) project, using the latest version of this plugin, running in Mac, disconnects the socket unexpectedly and is then no longer able to reconnect properly. I’m using manual connect and I’m not using a Plugin Scoped connection. Basically my projects send approx. 10 messages per ‘tick’. With a slow tick internal, like one tick every second, it’s stable and there are no problems. When I have the tick interbal on 0.1 second (so approx. 100 messages per second) it soon disconnects and cannot reconnect again. I see this in the log:
…
SocketIOLog: SocketIO eKjVnNjoMd2x6eRHAAAB appears to have lost connection, reconnecting attempt 0 with delay 5000
…
It then looks like it is rebuilding the connection. First to the default namespace and then to the namespace I was using. And the I get the same message ‘lost connection’ message again.
First of all I’m worried about the initial disconnect and the consecutive disconnects (after reconnect).
I’m using a node.js server with socket.io version 2.2.0.
Any ideas why this is happening?
What’s the C++ Socket IO client version that is being used? There may be a version mismatch. I have seen some reports about socket.io that indicate that you should make sure version is on par with server version.
Any help is appreciated.