> > 2014/02/18 19:07:20 [error] 31891#0: *1 connect() to unix:/tmp/pile.sock > failed (111: Connection refused) while connecting to upstream, client: > xxx.xxx.xxx.xxx, server: localhost, request: "GET / HTTP/1.1", upstream: > "uwsgi ://unix:/tmp/pile.sock:", host: " > ec2-xx-xxx-xx-xxx.compute-1.amazonaws.com" > > I'm guessing it's an issue with uwsgi, but there are no configuration > files for it. I really want to keep ansible fully and let it do it's thing. > Is anyone familiar with this issue? >
This error ussually means that uwsgi is not running. How uwsgi is started can be seen here https://github.com/mattupstate/ansible-tutorial/blob/master/devops/templates/supervisor.ini I don't like this particular approach. It's better to use the uwsgi emperor instead of supervisor, and an .ini file for the uwsgi "vassal" (the application serving process). -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. For more options, visit https://groups.google.com/groups/opt_out.