[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Savannah-hackers-public] vcs0 cgi errors ("502 bad gateway")

From: Assaf Gordon
Subject: [Savannah-hackers-public] vcs0 cgi errors ("502 bad gateway")
Date: Fri, 10 Feb 2017 16:12:32 +0000
User-agent: Mutt/1.5.23 (2014-03-12)


A user just reported the vcs0 gives "502 Bad Gateway":

The immediate cause is nginx failure to connect to fcgiwrap:

   $ tail -n1 /var/log/nginx/error.log
   2017/02/10 10:58:20 [error] 3647#0: *370418 connect() to unix:/var/run/fcgiwrap.socket failed (11: 
Resource temporarily unavailable) while connecting to upstream, client: X.X.X.X,  server:, request: "GET /r/freetype/freetype2.git/info/refs?service=git-upload-pack 
HTTP/1.1", upstream: "fastcgi://unix:/var/run/fcgiwrap.socket:", host: 

I've restarted fcgiwrap and reloaded nginx, and it seems to work now.

Not clear why/what happened yet. Found nothing special in 'dmesg'.

Also, the user reported that this URL gives "404 not found":

that's because our nginx confs expects a trailing slash.
I've added a redirection in /etc/nginx/sites-available/git .

- assaf

reply via email to

[Prev in Thread] Current Thread [Next in Thread]