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 ’firstname.lastname@example.org:chat’
now I have a 502 Bad Gateway.