No awards yet.


1 Posts
  • Published Question

    Every 2-4 weeks I get (111: Connection refused) while connecting to upstream. Why?

    I have a rails app that uses Nginx and Puma. Every 2-4 weeks my app starts giving 502 errors. When digging into log files, this is the error that comes up [error] 8353#8353: *38966 connect() to unix:///home/deploy/ap...
    Accepted Answer: What is your Droplet size? It could be that app gets killed due to it ran out of memory. Syslog could give you more information on that. Open it with your favorite text editor: command sudo nano /var/log/syslog Look ...
    1 By nwalter Ruby on Rails Ubuntu