Socket.io + Node.js with Dokku
The Chat example from socket.io with node.js works perfektly on localhost.
I pushed the project with dokku to digitalocean and I’m getting:
Status Code:404 Not Found
During pushing with git I had this message:
remote: runtime: panic before malloc heap initialized
remote: fatal error: runtime: cannot allocate heap metadata
! [remote rejected] master -> master (pre-receive hook declined)
error: failed to push some refs to ’email@example.com:chat’
now I have a 502 Bad Gateway.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×