Question

*12 connect() to unix:/home/user/firstsite/firstsite.sock failed (13: Permission denied) while connecting to upstream

Posted June 9, 2017 2.5k views
NginxUbuntu

2017/06/09 12:50:48 [crit] 7925#7925: *12 connect() to unix:/home/user/firstsite/firstsite.sock failed (13: Permission denied) while connecting to upstream, client: 127.0.0.1, server: firstsite.com, request: “GET / HTTP/1.1”, upstream: “uwsgi://unix:/home/user/firstsite/firstsite.sock:”, host: “firstsite.com”

2 comments

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.

×
1 answer

This question was answered by @bhuvaneshwarys:

I have solved it. There was a configuration error in nginx. my wsgi params was not properly configured. I confirured it. and it solved

View the original comment

Submit an Answer