intermittent nginx 502 bad gateway errors

  • 14
  • Problem
  • Updated 8 years ago
I am receiving intermittent 502 nginx "bad gateway" errors, and even when the page loads, the feeds in it do not.
Photo of Matthew Daniel

Matthew Daniel

  • 16 Posts
  • 0 Reply Likes
  • sad

Posted 8 years ago

  • 14
Photo of Daniel Woolstencroft

Daniel Woolstencroft

  • 12 Posts
  • 1 Reply Like
I'm not seeing bad gateway errors, but Newsblur is really struggling today. Most of the time I get no content after the blue bar has finished doing its thing.
Photo of Ewan

Ewan

  • 12 Posts
  • 0 Reply Likes
Yeah I'm getting the same as Daniel - no nginx errors, but no content either.
Photo of Mindy

Mindy

  • 18 Posts
  • 0 Reply Likes
Same here. Feeds are not loading - it says "everything is on its way" but nothing loads.
Photo of spiffytech

spiffytech

  • 24 Posts
  • 5 Reply Likes
I'm having similar problems, with the added bonus that sometimes the API throws me 404 when I try to request a story.
Photo of ocwavean

ocwavean

  • 9 Posts
  • 0 Reply Likes
Same. Been getting these issues for about 2 days now.
Photo of EKM

EKM

  • 22 Posts
  • 2 Reply Likes
I had problems with feeds loading VERY slowly all day yesterday. Right now it looks like things are a bit better and I'm not seeing error messages.
Photo of Samuel Clay

Samuel Clay, Official Rep

  • 6514 Posts
  • 1474 Reply Likes
I'm working on getting things back to normal. My graphs are showing everything being normal, so I'm having a hard time figuring out what it is. Additionally, I'm on vacation, so I have very limited connectivity and time.

I just pushed a small code update that fixes the Oh No errors, and hopefully added some better logging. I won't be able to really fix the problem until tomorrow. But it looks like things are stable again (and you should confirm here that it is or isn't, so I know).
Photo of Matthew Daniel

Matthew Daniel

  • 16 Posts
  • 0 Reply Likes
I can confirm that it loaded without 502 errors, and after a few page refreshes the "Everything is on its way" went away. Clicking on a feed in the tree takes about 45 seconds after the JS progress-bar in the bottom panel is "complete" before content appears.

Things always break on the weekend and holidays, eh? :-)
Photo of Samuel Clay

Samuel Clay, Official Rep

  • 6514 Posts
  • 1474 Reply Likes
I just restarted just about every service I have and now things are looking OK.
Photo of EKM

EKM

  • 22 Posts
  • 2 Reply Likes
MUCH better! Not taking so long to load the feeds now. Thanks!
Photo of Samuel Clay

Samuel Clay, Official Rep

  • 6514 Posts
  • 1474 Reply Likes
Is everything back to 100% normal speeds? Watch that graph of average load times on the front page. That is my only indication that everything is going well (combined with a whole bunch of other graphs, but that one is my go to). If that looks OK, but things are taking forever, please post here.
Photo of tedder42

tedder42

  • 149 Posts
  • 11 Reply Likes
speed has definitely improved compared to this morning.
Photo of Mindy

Mindy

  • 18 Posts
  • 0 Reply Likes
It's working normally now. Thanks!
Photo of Matthew Daniel

Matthew Daniel

  • 16 Posts
  • 0 Reply Likes
I concur, it seems the magic of the reboot button has cured all the ills.

Thanks a bunch for taking time away from your vacation to look into this.
Photo of Samuel Clay

Samuel Clay, Official Rep

  • 6514 Posts
  • 1474 Reply Likes
What worries me is that this happened at all. I have a few systems that are allowed to fail, and I have automated processes in place to correct those failures. But what happened today was not acceptable and should never have happened in the first place. I'll be looking into the root cause, as well as reliving some of the strain of the system by finishing one of my performance branches this week.