Io socket.io not working online in digital ocean containers

Wappler 5.3.2
Server Nodejs / Docker
DB Mysql Db cluster
Digital Ocean Deploy

io socket not working online in digital ocean containers

I have a container running locally and everything works perfectly with socket.io, but after deploying it to digital ocean the api connections stop working.

Being an image I figured everything I have local would play equally well online, I don’t know what I could be doing wrong.

in package.json

You might want to add more details as web sockets work fine for me on several droplets at DO.

Now the container doesn’t open anymore, it shows a Bad Gateway message

I really need sockte.io, could you tell me where I am going wrong @Teodor

Well you should check if all docker services are well running on your server. Select the remote target and see if it is all green. Otherwise check the logs from the web server as well.

If running Traefik check it also.

Everything is ok

only socket.io not working

I already reinstalled the node package but it doesn’t work

what can i do to see if soket.io is working on the server?

Hello @George , I know you are busy but I need a solution for this, it is really very complicated to finish an application and not be able to put it online.

I’m sure this app will be one of Wappler’s biggest cases :star_struck: