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!
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.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.