Contributions

5 Contributions
  • Question

    recv() failed (104: Connection reset by peer) error, gunicorn and nginx and Django

    Hi, I am getting the recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 105.178.36.13, server: 188.166.61.158, request: "GET / HTTP/1.1", upstream: "http://127.0.0.1:800...
    Accepted Answer: @kamstan6 I think you need to set the environment variable SECRET_KEY into the project, since it won't have access to OS variables, when being executed with upstart. http://stackoverflow.com/questions/30769075/secret...
    2 By kamstan6 Django Nginx Ubuntu
  • Answer

    failed (111: Connection refused) while connecting to upstream

    @hansen I managed to find the solution, it seems like it was timing out, I set –timeout parameter to 120 and it works now. Thank y…
    Accepted Answer: @hansen I managed to find the solution, it seems like it was timing out, I set –timeout parameter to 120 and it works now. Thank y…
    By kamstan6
  • Answer

    failed (111: Connection refused) while connecting to upstream

    @hansen, thank you very much for all the help, I am trying to start the gunicorn service and getting am getting this error s...
    By kamstan6
  • Question

    failed (111: Connection refused) while connecting to upstream

    I am getting failed (111: Connection refused) while connecting to upstream error in my nginx error log file while trying to access the Django app on my droplet. I understand that the issue my be that nginx is not find...
    Accepted Answer: @hansen I managed to find the solution, it seems like it was timing out, I set --timeout parameter to 120 and it works now. Thank you once again for all the insights provided. It led to the solution.
    3 By kamstan6 Nginx Django Ubuntu
  • Question

    setting up email server to point to another host (Hostgator)

    I was previously my site at hostgator and now moving to DO, thought now that I have to manage the email server. I wanted a way that only my website can be pointed to DO and the the email accounts still be managed by H...
    Accepted Answer: @kamstan6 If you plan on using DigitalOcean for your DNS, you'd simply setup your domain through the control panel (under Networking) and then modify your DNS zone accordingly. For example: ``` A @ ...
    3 By kamstan6 Control Panels Email DNS Ubuntu