-
Notifications
You must be signed in to change notification settings - Fork 231
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Socket disconnects automatically after 1 minut aprox. #381
Comments
plugin version? platform? what type of server are you running on the other side? (nodejs? python?) |
Plugin version 2.6.0. Server runnning the Socket IO is a nodejs server with the socketio version compatible with plugin. |
Are you sending binary data? Does the chat example server work for you without disconnecting https://github.com/getnamo/SocketIOClient-Unreal-Example/releases work? Come to think of it 1min time out sounds like GC interval, how are you creating your component/storing/referencing it in blueprint? |
Just tried the chat example and works fine, but this example uses http from socket.io module, and my server is using server.io. Chat example isn't using this option in the Client neither controlling namespace in the Server side. |
Sounds like you just need to join a namespace which is supported https://github.com/getnamo/SocketIOClient-Unreal#namespaces |
But if no namespace is specified, it will automatically join namespace '/', which is also the default namespace in the server if not specified (which is my case). |
When I connect successfully to my SocketIO Server, after a minute it disconnects automatically, showing the following message:
My Server isn't closing the connection itself, so I don't know why it is being closed alone.
This is a screenshot of my SocketIO component configuration if it helps.
Any idea?
The text was updated successfully, but these errors were encountered: