I have started the sockets and it worked well. Everything was working but after sometime socket stop listening events. return SocketManager( socketURL: url, config: [ .log(true), .forceWebsockets(true), .reconnects(true), .reconnectWait(1) ] ) This is the configuration