Error 500 after setup


#1

Hello,

I have an error when I try my domain (https://diaspora.renascio.org).
Redirection to /podmin and ERROR 500 :
*1 connect() to unix:/home/diaspora/diaspora/tmp/diaspora.sock failed (111: Connection refused) while connecting to upstream

I can not find a solution…

Any ideas ?

Thank you


(Benjamin Neff) #2

Make sure diaspora is running correctly and the socket /home/diaspora/diaspora/tmp/diaspora.sock exists. Then make sure nginx has the permissions to access the socket.


(phanisvara das) #3

from what you write, @Maca, i have no idea if it’s what happened to me, when setting up nginx i copied the unix socket setting from this GithubGist

unix:tmp/diaspora.sock;

while in my case it had to be:

unix:/home/diaspora/diaspora/tmp/diaspora.sock;

since nginx was in a different location. took me a while to figure that out because i was thinking something else was wrong.

i hope you solved your problem already, after almost two weeks, but somebody else might come across this question, who knows…