my_project.sock some problem with that

December 3, 2019 60 views

Hi, i have made my website in flask and now i try to set this on a server on digitalocean.

I go through tutorial about it

and I think (I’m pretty sure) i redirect my domain correctly to DO servers but still it doesn’t work. As i go through an IP on webbrowser i got deafault nginx site but when i go through my domain it deosn’t go. I have found such error:

2019/12/03 11:21:35 [crit] 6414#6414: *10 connect() to unix:/home/bartek/config/website.sock failed (2: No such file or directory) while connecting to upstream, client:, server:, request: "GET / HTTP/1.1", upstream: "uwsgi://unix:/home/bartek/config/website.sock:", host: ""

but actually for me it doesn’t say much.
Any help would be great!

edited by MattIPv4
2 Answers

Hi @bartoszkobylinski,

I can see that you’ve managed to get your website up and running which is great!

Would you mind sharing with the community what was the problem that you were facing and how did you fix it?

Thank you and regards,

My friend who helped me to settings thing right told me to make a config directory with config files. In my case .sock file was in the project directory instead in config directory so just copy paste fixed everything

Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!