SocketIOClient-Unreal icon indicating copy to clipboard operation
SocketIOClient-Unreal copied to clipboard

Trying to connect to socket.io server in unreal engine 5.0.3

Open chad-vanet opened this issue 1 year ago • 3 comments

Hi, I downloaded the plugin on UE marketplace, I use UE5 on a macbook and I've tried to connect to my socket.io server, so far unsuccessfully. In UE5 I set "Socket IO Connection Properties" Address and port to "ws://127.0.0.1:2424/" but my server never receives the connection. I've connected blueprint events OnConnected and OnFail to a PrintString node but both don't print.

I've cloned your example repo, activated plugin and launched both example server and project with UE5. Messages didn't send through so it looks like it couldn't connect either.

I have no idea why, can you help please ? All suggestions welcome :)

Server works well tested with postman

chad-vanet avatar Sep 24 '22 05:09 chad-vanet

try https address for initial connect and check https://github.com/getnamo/SocketIOClient-Unreal#socketio-server-compatibility

getnamo avatar Sep 25 '22 06:09 getnamo

I use UE 5 so all v3+ should be ok ? My server runs with socket.io v9 http address didn't change anything, no connection ?

chad-vanet avatar Sep 25 '22 07:09 chad-vanet