Error 502: Bad Gateway

W

Warl0ck

For those of you concerned about this error you keep seeing. The error is not your computer or phone. What is happening is Cloudflare is returning this code to you because the server (that being PERB) is returning the error to Cloudflare. If you are not familiar with Cloudflare it's a security service usually used by websites to help mitigate a DDoS (Distributed Denial of Service). It acts as sort of a proxy "guarding" the site and traffic is filtered through the Cloudflare server.

https://support.cloudflare.com/hc/e...seeing-a-502-or-504-gateway-error-on-my-site-


PS: Technical Mods: From what I was reading

This is pretty common if Railgun isn't properly configured. I've tried modifying Railgun settings in a live environment (I know, I shouldn't) and every time I update them and restart Railgun, people get 521 errors for a while. – Cas Eliëns Jan 19 '16 at 20:40


tl:dr In short, it's not you, it's them.
 

sensualsixty

Active member
Nov 26, 2007
438
181
43
Another related??? problem:

Every time I log in lately, the first attempt always shows as invalid login - second time I am welcomed. I know that I make mistakes, but I am sure I am not making the same mistake on every first log in attempt.
 

MMAFreak

New member
Dec 4, 2009
21
0
1
There's also a similar error that doesn't end up directing you to Cloudflare, but it does display a browser generated error message. You can fix this one by clearing your cache.
 

MMAFreak

New member
Dec 4, 2009
21
0
1
For those of you concerned about this error you keep seeing. The error is not your computer or phone. What is happening is Cloudflare is returning this code to you because the server (that being PERB) is returning the error to Cloudflare. If you are not familiar with Cloudflare it's a security service usually used by websites to help mitigate a DDoS (Distributed Denial of Service). It acts as sort of a proxy "guarding" the site and traffic is filtered through the Cloudflare server.

https://support.cloudflare.com/hc/e...seeing-a-502-or-504-gateway-error-on-my-site-



PS: Technical Mods: From what I was reading

This is pretty common if Railgun isn't properly configured. I've tried modifying Railgun settings in a live environment (I know, I shouldn't) and every time I update them and restart Railgun, people get 521 errors for a while. – Cas Eliëns Jan 19 '16 at 20:40


tl:dr In short, it's not you, it's them.
Interestingly enough, it doesn't seem to be as simple as that. I get the Cloudflare error when attempting to access this very thread using my normal browser (Chrome). Most other threads I can access without issue. I can, however, access this thread just find with Firefox. Most likely if I cleared the cache in Chrome and restarted, I'd be fine. It's pretty strange.
 
W

Warl0ck

Another related??? problem:

Every time I log in lately, the first attempt always shows as invalid login - second time I am welcomed. I know that I make mistakes, but I am sure I am not making the same mistake on every first log in attempt.
I mailed the Mod on what I see as a potential certificate error. The website contains a certificate which identifies it as "perb.cc" on the internet. It's issued by a certificate authority as "proof" this is Perb. It's also plays a part in the TLS (you call it https:// session that secures login. The certificate issue is happening with Terb too, but I haven't checked Terb.
 

rlock

Well-known member
May 20, 2015
2,287
1,370
113
Another related??? problem:

Every time I log in lately, the first attempt always shows as invalid login - second time I am welcomed. I know that I make mistakes, but I am sure I am not making the same mistake on every first log in attempt.
If it is the "invalid redirect URL" after logging in, do not worry about it. I get that about the same number of times too, but if you click on the top left corner where the PERB logo is, it takes you to the forum and you'll see that you're signed in.

Unless what you're getting is something else???
 

Avery

Gentleman Horndog
Jul 7, 2003
4,793
18
38
Winnipeg
If it is the "invalid redirect URL" after logging in, do not worry about it. I get that about the same number of times too, but if you click on the top left corner where the PERB logo is, it takes you to the forum and you'll see that you're signed in.
That's exactly what I figured out too.
 

PoorGuy

Well-known member
May 11, 2002
1,002
60
48
47
Have not province
It doesn't make sense! I can access, i.e. Ruby Tuesday 5890 in Escort Reviews thread, created October 2016 and Gia 2216 (asian) created February 9, 2017. Most of the other threads take me to the 502 Bad Gateway page. Random dates like January 9, 2017 work but other threads on the same date give bad gateway!

I'm on Waterfox
 
W

Warl0ck

It doesn't make sense! I can access, i.e. Ruby Tuesday 5890 in Escort Reviews thread, created October 2016 and Gia 2216 (asian) created February 9, 2017. Most of the other threads take me to the 502 Bad Gateway page. Random dates like January 9, 2017 work but other threads on the same date give bad gateway!

I'm on Waterfox
Well that's likely the "scripts" that run on the site and in the database. PERB is actually not just a website; it's also a database (the back end) so there are a decent number of moving parts. I've always had the 502 using IceWeasel (Firefox) but they're tightly locked down and don't allow cookies, etc.
 

PoorGuy

Well-known member
May 11, 2002
1,002
60
48
47
Have not province
I think I solved my problem. I just logged out, then the log out screen went to another 502 bad gateway. I went to https://perb.cc homepage, went to forum home where waterfox autologged me in. Now I can access all threads new or old without the 502 bad gateway. I guess somewhere I had a bad public/private key for certificates.
 
W

Warl0ck

@PoorGuy

I was thinking, it's possible there is some issue with browser certificate revocation. What that means is a browser usually does a OCSP query when you start it up to see if the certificates in has in it's store are still valid. The certificate for PERB was issued Feb 7th which I believe was post hack. I wonder if their earlier certificate was corrupted? The new cert is issued by COMODO but .... it identifies as Cloudflare.

I mention this because I spool up Linux Mint in a VM and none of these issues exist.
 

Stamkos

Well-known member
Dec 9, 2015
910
719
93
@PoorGuy

I was thinking, it's possible there is some issue with browser certificate revocation. What that means is a browser usually does a OCSP query when you start it up to see if the certificates in has in it's store are still valid. The certificate for PERB was issued Feb 7th which I believe was post hack. I wonder if their earlier certificate was corrupted? The new cert is issued by COMODO but .... it identifies as Cloudflare.

I mention this because I spool up Linux Mint in a VM and none of these issues exist.
Holy shiat Warlock, you're scaring me now....lol
I haven't got a phukking clue what you're talking about....and I don't want to know!
But honestly appreciate your knowledge and expertise pal :thumb:
 

hankmoody

Active member
Aug 12, 2014
981
56
28
I haven't seen this one in a while. When i did, restarting the computer took care of it.
 
Vancouver Escorts