getnamo / SocketIOClient-Unreal

Socket.IO client plugin for the Unreal Engine.
Other
864 stars 231 forks source link

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

Open chad-vanet opened 1 year ago

chad-vanet commented 1 year ago

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

getnamo commented 1 year ago

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

chad-vanet commented 1 year ago

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 ?

ApoorvHesta commented 8 months ago

Hi @chad-vanet . I'm facing the same issue in UE 5.2.1. Any update on this?