I am able to use socket.io serving on localhost, connecting to namespaces and emitting messages etc. It is fully functioning. But when i deploy on Heroku, i experience that socket.emit
does not work always, it sometimes works. Do i need to do something additional in order to make it work on Heroku?
Thank you in advance.
edit:
after requesting socket.emit
about 4 times in a row, it works everytime and emits. A stange behaviour..