wil3/jackcast

unix:/tmp/jackcast.sock failed (2: No such file or directory)

wil3 opened this issue · 1 comments

wil3 commented

On occasion Nginx reports the following on boot,

2020/06/18 14:22:17 [crit] 1333#1333: *1 connect() to unix:/tmp/jackcast.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.0.3, server: _, request: "GET / HTTP/1.1", upstream: "http://unix:/tmp/jackcast.sock:/", host: "jackcast.hopto.org"

There may be a race condition with Nginx and Gunicorn. Check service dependencies.

wil3 commented

Debugging further this is not reproducible. It appears the socket does not get created until the user logs in (i.e., through an ssh session).