8

Getting a 502 Bad Gateway nginx/1.11.6 error on stackoverflow.com, error being reported in my console as:

Failed to load resource: the server responded with a status of 502 (Bad Gateway): a.html;p=11087210763024;cod=1;idfa=;aaid=;idfa_lat=;aaid_lat=;cache=1487023847745

Appearing beneath the "Featured on Meta" section, where the various site ads appear. Haven't been able to reproduce issue since its initial occurrence.

https://fw.adsafeprotected.com/rjsi/ad.atdmt.com/72947/12832295/d/a.html;p=11087210763024;cod=1;idfa=;aaid=;idfa_lat=;aaid_lat=;cache=1487010387433?click=http%3A%2F%2Fengine.adzerk.net%2Fr%3Fe%3DeyJhdiI6NTkxNTAsImF0Ijo1LCJidCI6MCwiY20iOjUyNzI1MSwiY2giOjExNzgsImNrIjp7fSwiY3IiOjE4NTk3MDUsImRpIjoiMWJhZmYxYTY4N2IyNDJlNjk4YTVjNjdmYmI5OTlkZjEiLCJkbSI6MSwiZmMiOjIyMzIyNTYsImZsIjoyNjgwODkyLCJpcCI6IjE4NC43MS4zOC4xMzQiLCJrdyI6IngtdXNlci1yZWdpc3RlcmVkLHgtMTUwMHBsdXMtcmVwLHgtY3Jvc3Mtc2l0ZS1zZXJ2ZXJmYXVsdC5jb20iLCJudyI6MjIsInBjIjo0LjAzLCJlYyI6NC4wMywicHIiOjE1NjcsInJ0IjoyLCJzdCI6ODI3NywidWsiOiJ1ZTEtYTZmY2JjYjNjOTJmNDc2OTk2M2NhZmFmNTAxYjIxZGQiLCJ6biI6NDUsInRzIjoxNDg3MDEwMzg3NDMzLCJiZiI6dHJ1ZSwicG4iOiJhZHplcmsxNzExMTM5ODA3IiwidXIiOm51bGx9%26s%3DjObgPOFLkuCRn7R5ajZkYXi1HY0%26url=

enter image description here

11
  • Have you tried to delete your browser's cookies & deleting the cache?
    – Mateus
    Commented Feb 13, 2017 at 22:29
  • In an attempt to replicate this or get rid of it? If the former, I haven't, since it's gone away on its own. If the latter, no, since again, it's gone away on its own.
    – Tim Lewis
    Commented Feb 13, 2017 at 22:32
  • Depends. The cause for the 502 is not in the HTML/page itself, but a configuration issue, either on the server or on a network component (router)... So, a proxy issue. deleting the cookies and the cache would be the first thing to do, then testing the website in another browser, so then you can have sure that the problem is on your router or the server itself.
    – Mateus
    Commented Feb 13, 2017 at 22:36
  • Afaik, that area is for advertisements. Can you inspect the area and copy the surrounding html?
    – Braiam
    Commented Feb 13, 2017 at 22:39
  • I saw this issue myself and was able to grab the src of the iframe, it is too long for a comment, if it is okay with @TimLewis I can edit it into the question (assuming its the same culprit of course).
    – user1618236
    Commented Feb 13, 2017 at 22:52
  • My bad didn't know meta edits aren't allowed, anyone have an idea on how I can add that url, via an answer perhaps?
    – user1618236
    Commented Feb 13, 2017 at 22:54
  • @Phaeze can you put it in a gist or similar and link to that. Then someone over 2k rep/OP can edit it in if appropriate? Commented Feb 13, 2017 at 23:07
  • @JonClements, good idea. Here it is
    – user1618236
    Commented Feb 13, 2017 at 23:10
  • 1
    Guess adsafeprotected strikes again. Related meta.stackoverflow.com/q/335956/792066
    – Braiam
    Commented Feb 13, 2017 at 23:13
  • @Phaeze please include the iframe context: which ad is being served that cause this. Look for the everyonelovesstackoverflow class.
    – Braiam
    Commented Feb 13, 2017 at 23:19
  • @Braiam unfortunately all i grabbed was the src attribute, I will try to see if I can get the offending ad again.
    – user1618236
    Commented Feb 13, 2017 at 23:24

1 Answer 1

3

Thanks for catching this. I work in the Ad Ops team at Stack Overflow, and we've tracked down the ad and are speaking to the client. I'll post an update here once we know more.

UPDATE

The client and our adserver were not able to pinpoint or reproduce the issue as it seems likely to be transitory. Let us know if you see/experience the error again and we'll alert the client and work with them to find the issue. We always appreciate the heads up, thanks!

2
  • I've seen the same thing a couple of times in the past few days. i.sstatic.net/Gud9o.png Commented Jun 15, 2017 at 23:16
  • 1
    Yeah, we're seeing it too and are working with the client to get to the bottom of it.
    – Denimjean
    Commented Jun 16, 2017 at 7:55

Not the answer you're looking for? Browse other questions tagged .