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

Re: unable to access website, getting "502 Bad Gateway" errors



On Mon, Jul 21, 2014 at 03:30:02PM +0100, Sharon Kimble wrote:
> 
> I am totally unable to access two websites that are very important to
> me, they're my own! And they are both listed in the sig of this email. I
> have tried with the following browsers - chromium, google-chrome,
> iceweasel, konqueror, opera, midori, qupzilla, conkeror, links, and in
> all of them I get "502 Bad Gateway", or "504 Gateway Time-out". They are
> both wordpress sites, but I can't even access the home page. 

5xx errors are server errors, so the choice of client shouldn't affect
them.

> 
> Both of these sites show as being up and running with
> http://downforeveryoneorjustme.com/ which shows both sites up and running
> OK.

Probably because it gets a response. A site that's readily responding
with an error may be considered "not down".

> 
> I've cleared the cache of each browser, I've rebooted, I've restarted my
> router, and I've turned it off and disconnected it for 30 minutes, but
> am still unable to access these two sites, although everything else
> seems to be working OK.
> 
> I use gnus for my email, and its RSS feeds mechanism, which works with
> all other sites, except for the feed for my two sites which fails
> saying -
> --8<---------------cut here---------------start------------->8---
> Contacting host: www.tgmeds.org.uk:80
> byte-code: http://www.tgmeds.org.uk/feed/: Bad gateway
> --8<---------------cut here---------------end--------------->8---
> 
> The two sites are on a server using nginx, which my "net-admin" has
> rebooted, and restarted the php-fpm daemon. From his end, its all
> working OK, but I'm still unable to access the two sites. 

By "all working OK", do you mean that he can access your sites (and see
the correct content)?

> 
> Yesterday we had a power cut which knocked my system offline, before
> that it was all working OK, but now I cannot access them whatever I
> do.
> 
> What else can I, or should I do, to regain access please?

First of all, check your logs. /var/log/nginx/access.log,
/var/log/nginx/error.log and /var/log/php5-fpm.log are places to start. 

> 
> Thanks
> Sharon.
> -- 
> A taste of linux = http://www.sharons.org.uk
> my git repo = https://bitbucket.org/boudiccas/dots
> TGmeds = http://www.tgmeds.org.uk
> Debian testing, fluxbox 1.3.5, emacs 24.3.92.1



Reply to: