Author Topic: Return of 502- Bad gateway Error  (Read 57600 times)

0 Members and 1 Guest are viewing this topic.

Offline tablatronix

  • Regular Contributor
  • *
  • Posts: 199
  • Country: us
Re: Return of 502- Bad gateway Error
« Reply #75 on: July 12, 2017, 12:40:32 pm »
check error logs for

mod_fcgid: errors
or sql errors "'max_allowed_packet"

These are easily tunable settings that are notorious
 

Offline sibeen

  • Frequent Contributor
  • **
  • Posts: 271
  • Country: au
Re: Return of 502- Bad gateway Error
« Reply #76 on: July 12, 2017, 12:49:39 pm »
Still happening for me a few times today. gnif hasn't gotten back with why yet.


That's terrible.  A decent flogging can often sort out such mute resistance.
 

Offline rstofer

  • Super Contributor
  • ***
  • Posts: 9886
  • Country: us
Re: Return of 502- Bad gateway Error
« Reply #77 on: July 12, 2017, 03:55:35 pm »
502 used to be a Vehicle Code section related to misdemeanor drunk driving.  Back when it was known as a 'deuce'.
You have to wonder about the people picking the error code numbers.


 

Offline tooki

  • Super Contributor
  • ***
  • Posts: 11342
  • Country: ch
Re: Return of 502- Bad gateway Error
« Reply #78 on: July 12, 2017, 07:18:46 pm »
The inventor of the WWW, Tim Berners-Lee, is British and was working at CERN (Switzerland) at the time, so his choice of error codes is unlikely to have been influenced by US legal terminology. ;)
 

Offline TerraHertz

  • Super Contributor
  • ***
  • Posts: 3958
  • Country: au
  • Why shouldn't we question everything?
    • It's not really a Blog
Re: Return of 502- Bad gateway Error
« Reply #79 on: July 12, 2017, 08:12:06 pm »
The forum was inaccessible via firefox for me last night. The whole evening, 502 everywhere.
Interestingly when I used a Tor browser it could get the front page reliably, and sometimes threads, though slowly. The slowness is the Tor system, so maybe that's a hint - speed dependent? - when a browser makes all the page element requests rapidly, the eevblog server fails and returns 502.

What intrigues me, is that the 502 error message is a specific thing. The eevblog maintainers know where that is, and have edited it in the past. Ref: the text "Thank you for your patience, Dave & gnif 24th March 2017: We are performing some ..."


Not that I know anything about large web server diagnosis, but if this was some electronics system I'd be trying the following:
* Make a change in what I thought was the '502 error message' text source. Both to check it's actually the right source, and to update that March message, which looks bad. Like no one could be bothered updating stuff.
* Search the server code for anything that can throw that 502 message. Stick some error logging messages in each one, or point each one at a unique 502 error text, to identify WHICH one is the cause.

Hopefully that would result in understanding the cause. Half way to a solution. Oh, and mentioning the identified cause in this thread, and what can be done about it, would be nice too.
Collecting old scopes, logic analyzers, and unfinished projects. http://everist.org
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28142
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Return of 502- Bad gateway Error
« Reply #80 on: July 12, 2017, 08:20:57 pm »
I've had it every morning this week on a few pages and F5 gets past it every time. Chrome browser.
For the rest of the day there's no problems and it seems like there's a problem when I'm offline after ~9pm Sydney time.
Puzzling.  :-//
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline M4trix

  • Frequent Contributor
  • **
  • Posts: 307
  • Country: hr
Re: Return of 502- Bad gateway Error
« Reply #81 on: July 12, 2017, 08:24:14 pm »
Well, dunno but after clearing the FF browser cache and cookies I don't have this error anymore. Two days without 502 error.  :-//
 

Offline Electro Detective

  • Super Contributor
  • ***
  • Posts: 2715
  • Country: au
Re: Return of 502- Bad gateway Error
« Reply #82 on: July 12, 2017, 11:22:26 pm »
Any chance of a DATE / TIME error in one of the servers, or something connected ?

I had fun with that at a clients office a while back,
a clapped Bios battery in one of the servers did it's thing reverting the system to 2012 AD,
after a power failure and reboot got the party started 

There was so much dust in those machines, it resembled a dumped vacuum cleaner's contents,
I pulled the bundles out by hand while the system was running..

free fairy floss anyone? 
sorry no pink left, just grey    ;D





 

Offline CatalinaWOW

  • Super Contributor
  • ***
  • Posts: 5173
  • Country: us
Re: Return of 502- Bad gateway Error
« Reply #83 on: July 13, 2017, 04:01:56 am »
Some behaviors that might provide clues to someone who understands how this stuff works.

1.  Bookmark for the forum in Chrome consistently gave error.  Displayed page identical to Terrahertz post.
2.  Entering URL for EEVBlog main page worked, and from there was able to navigate to the forums page without trouble.
3.  Bookmarked that page, and this new bookmark works consistently, even though the old bookmark consistently gets 502 error.
4.  Hitting the HOME button on the page consistently results in 502 error with same display page.

The new bookmark has resolved the issue for me, but I have no clue why.  I don't use the home button often so not a problem for me.
 

Offline linux-works

  • Super Contributor
  • ***
  • Posts: 1993
  • Country: us
    • netstuff
Re: Return of 502- Bad gateway Error
« Reply #84 on: July 14, 2017, 02:49:12 am »
my guess is that the bookmark (happens to me, too) bypasses a real web fetch and goes to cache, first.  when you enter a url on the url line, it has no idea you went there before (unlike a bookmark) and so it has to do a real network web fetch.

I'm just guessing, though.

dynamic content and incorrect 'expires' tags might be a problem.  web devs should always be testing their code using the 'bookmark' method as well as urls entered directly.

of course, middle man 'content delivery' systems really throw a monkeywrench into this.  that could be a big part of it; THEY are also a cache.


Offline schmitt trigger

  • Super Contributor
  • ***
  • Posts: 2205
  • Country: mx
Re: Return of 502- Bad gateway Error
« Reply #85 on: July 14, 2017, 03:12:53 am »
I know what is going on.

Dave simply could not resist performing a "teardown" of its main server.... ;D
He is going to post a video soon. >:D >:D
 

Offline Muttley Snickers

  • Supporter
  • ****
  • Posts: 2334
  • Country: au
  • Cursed: 679 times
Re: Return of 502- Bad gateway Error
« Reply #86 on: July 14, 2017, 05:01:19 am »
I just got a series of mixed error messages, the first was stating that the site could not be reached and shortly after the 502 message appeared again, after a wait and a number of refreshes the page eventually restored but it took quite a while, I suspect that the 502 is just a generic indicator that the site is temporarily busy or offline, sooner or later it always returns.

I have no clue but that in itself is nothing new.   :-// ???
 

Offline Electro Detective

  • Super Contributor
  • ***
  • Posts: 2715
  • Country: au
Re: Return of 502- Bad gateway Error
« Reply #87 on: July 16, 2017, 08:35:27 am »
'502 City, have a nice day..'  this morning   :horse:

Working like a champ in the evening   :-+ 

No changes performed on the browser,
because if Ebay and other big sites are working ok, why stuff about with browser settings?  |O

KISS  :-*





 

Offline SeanB

  • Super Contributor
  • ***
  • Posts: 16272
  • Country: za
Re: Return of 502- Bad gateway Error
« Reply #88 on: July 16, 2017, 09:49:34 am »
Almost sure this is something interacting with the browser and Clodflare, i rarely get the 502, but do get stalled connections, which are fine with a non cached reload.
 

Offline alm

  • Super Contributor
  • ***
  • Posts: 2841
  • Country: 00
Re: Return of 502- Bad gateway Error
« Reply #89 on: July 16, 2017, 10:01:36 am »
I think it is just timezone related combined with randomness. So for some people it will be very prevalent because it if frequent during the times they visit the forum, and others will rarely see it. If the effect is only occurring 10% of the time, then you would be very unlikely to get the error twice in a row. At other times the rate might be close to 100%, which would have the users report that the error is persistent.

Offline pknoe3lh

  • Regular Contributor
  • *
  • Posts: 115
  • Country: at
  • Trust me I'm an engineer
    • My Homepage
Re: Return of 502- Bad gateway Error
« Reply #90 on: July 16, 2017, 10:22:04 am »
I agree :-)
I think its load related!
On the weekend I see the error more often.
Good luck fixing it  :-/O

Online Kleinstein

  • Super Contributor
  • ***
  • Posts: 14080
  • Country: de
Re: Return of 502- Bad gateway Error
« Reply #91 on: July 16, 2017, 01:01:47 pm »
I got the error very constantly when calling "https://www.eevblog.com/forum/" over the last few days. However other pages, e.g. calling the recently changed pages work ok. Not sure why, there could be something cached. It happens not only from the bookmarks, but also when going there from the main-page.
 

Offline tautech

  • Super Contributor
  • ***
  • Posts: 28142
  • Country: nz
  • Taupaki Technologies Ltd. Siglent Distributor NZ.
    • Taupaki Technologies Ltd.
Re: Return of 502- Bad gateway Error
« Reply #92 on: July 16, 2017, 01:06:50 pm »
I got the error very constantly when calling "https://www.eevblog.com/forum/" over the last few days. However other pages, e.g. calling the recently changed pages work ok. Not sure why, there could be something cached. It happens not only from the bookmarks, but also when going there from the main-page.
I had exactly the same, yep it's locally cached.
Try F5 each time you bump into the 502............haven't had any now for a couple of days.  :)
Avid Rabid Hobbyist
Siglent Youtube channel: https://www.youtube.com/@SiglentVideo/videos
 

Offline Muttley Snickers

  • Supporter
  • ****
  • Posts: 2334
  • Country: au
  • Cursed: 679 times
Re: Return of 502- Bad gateway Error
« Reply #93 on: July 19, 2017, 02:05:44 am »
I viewed the forum briefly this morning at around 06:00 local time and everything appeared fine but at around 10:30 it all turned to crap with the constant 502 error window, another similar thread suggested users should press the ctrl & F5 keys to reload the page but being on a smart TV at the time without a keyboard attached made this operation impossible.

Anyway, is there any chance that these intermittent outages are being caused on purpose or maliciously generated by some fruit loop ?, it wouldn't surprise me one bit you know.
 

Online xrunner

  • Super Contributor
  • ***
  • Posts: 7499
  • Country: us
  • hp>Agilent>Keysight>???
Re: Return of 502- Bad gateway Error
« Reply #94 on: July 19, 2017, 02:07:36 am »
I see there are two threads on this error, but as I said, tonight it's killing me, I can't even PM a member I need to talk to.  :-[
I told my friends I could teach them to be funny, but they all just laughed at me.
 

Offline Muttley Snickers

  • Supporter
  • ****
  • Posts: 2334
  • Country: au
  • Cursed: 679 times
Re: Return of 502- Bad gateway Error
« Reply #95 on: July 19, 2017, 02:18:44 am »
There are way more than two theads on the subject, three that I know of just in this chat section and probably stacks more elsewhere. I have noticed this becoming more frequent of late with multiple threads all with the same or similar content, people really need to use the forums search feature before creating new threads or look back at recently created threads for this to be minimised, It is becoming difficult to keep track on which thread to follow.
 

Offline StillTrying

  • Super Contributor
  • ***
  • Posts: 2850
  • Country: se
  • Country: Broken Britain
Re: Return of 502- Bad gateway Error
« Reply #96 on: July 19, 2017, 12:58:19 pm »
I think its load related!

It doesn't seem to match with the peaks in Guests+Users.
.  That took much longer than I thought it would.
 

Offline EEVblog

  • Administrator
  • *****
  • Posts: 37664
  • Country: au
    • EEVblog
Re: Return of 502- Bad gateway Error
« Reply #97 on: July 19, 2017, 01:15:28 pm »
Houston, we have a problem:

 
The following users thanked this post: MK14

Offline StillTrying

  • Super Contributor
  • ***
  • Posts: 2850
  • Country: se
  • Country: Broken Britain
Re: Return of 502- Bad gateway Error
« Reply #98 on: July 19, 2017, 01:27:47 pm »
Houston, we have a problem:

I can't see it!

BTW the 502s are here now.
.  That took much longer than I thought it would.
 

Offline EEVblog

  • Administrator
  • *****
  • Posts: 37664
  • Country: au
    • EEVblog
Re: Return of 502- Bad gateway Error
« Reply #99 on: July 19, 2017, 01:32:43 pm »
I just did a graceful reboot.
Seems to have fixed it, now only using 9.6GB of the 32GB memory
 
The following users thanked this post: RGB255_0_0, Electro Detective


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf