Report this

What is the reason for this report?

Socket.io + Node.js with Dokku

Posted on March 11, 2015

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.

chat.crowdselfie.com



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.

View the original comment

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.