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:
http://chat.crowdselfie.com/socket.io/?EIO=3&transport=polling&t=1426020731332-31 Request Method:GET 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 To dokku@crowdselfie.com:chat ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to ‘dokku@crowdselfie.com:chat’ edit:
Tried this Tutorial: http://blog.parkermoore.de/2013/12/21/fixing-memory-issues-in-dokku-hosted-on-digitalocean-512mb-droplet/
now I have a 502 Bad Gateway.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.
This question was answered by @milkmedia:
It’s sounds like your running out of memory. I’ve seen something similar when I was running dokku on a 512MB droplet—when the container was being built it would run out of memory. Try it on a 1GB droplet instead.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Scale up as you grow — whether you're running one virtual machine or ten thousand.

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.
