Got a lot of Bad Gateway exception lately

Anyone run into the same issue like us? We got a lot of Bad Gateway exception lately. Even when we run just only one request within few hours.

error: Bad gateway. {"error":{"code":502,"message":"Bad gateway.","param":null,"type":"cf_bad_gateway"}} 502 {'error': {'code': 502, 'message': 'Bad gateway.', 'param': None, 'type': 'cf_bad_gateway'}} {'Date': 'Tue, 29 Aug 2023 16:39:39 GMT', 'Content-Type': 'application/json', 'Content-Length': '84', 'Connection': 'keep-alive', 'X-Frame-Options': 'SAMEORIGIN', 'Referrer-Policy': 'same-origin', 'Cache-Control': 'private, max-age=0, no-store, no-cache, must-revalidate, post-check=0, pre-check=0', 'Expires': 'Thu, 01 Jan 1970 00:00:01 GMT', 'Server': 'cloudflare', 'CF-RAY': '7fe632c2cd77987f-SJC', 'alt-svc': 'h3=":443"; ma=86400'}
4 Likes

Hi, this seemed an issue a few hours ago, it should all be sorted now, are you still having issues?

Could be coincidental, but the gateway error is a sign that an intermediate relay server is having problems along the route from you to the OpenAI endpoint, not typically an API failure.

2 Likes

Hi, I am still getting the same error message in the last 2h or so.
Anyone got the same thing?

1 Like

Yes I am also getting 502 error, sometimes everything works fine but most of the times i get 502

1 Like

Bad Gateway issue - anyone else having the same?

The web server reported a bad gateway error.

  • Ray ID: 8523f5648fc56aab
  • Error reference number: 502
  • Cloudflare Location: Manchester
1 Like

This error means “temporary overload or error on the OpenAI side.”
If you wait a little bit, it will almost certainly go away.
And then come back sometime later.
You have essentially no control over this, other than waiting and trying again after a bit. (Use exponential back-off if you do this in a loop.)

1 Like

I’ve hit this a few times lately during rapid embedding

1 Like

Guys, looks like it’s back:

Bad gateway

The web server reported a bad gateway error.

  • Ray ID: 90682dd4bbfca273
  • Your IP address: 184.162.XXX.XXX
  • Error reference number: 502
  • Cloudflare Location: Montréal
1 Like

Same here, bad gateway from Perth Australia.

2 Likes

Same here from Philippines

Bad gateway

The web server reported a bad gateway error.

  • Ray ID: 906837318e0150982223
  • Your IP address: 49.XXXX.XXX.XXXX
  • Error reference number: 502
  • Cloudflare Location: Hong Kong
2 Likes

Maybe not put your IP in public.

@WeGetDesign i flagged your post to hide your IP. It will be checked from staff.

2 Likes

Yes facing bad gateway and its showing multiple Cloudfare locations

2 Likes

There’s currently a partial outage on some services. You can follow along on https://status.openai.com/

1 Like

Does partial outages happen often?

1 Like

issue with only computer but in mobile chatgpt app working

1 Like

oh, because I’m on computer

1 Like

chatgpt working now in india around 7: 20 pm

2 Likes

issues on desktop version - Atlantic Canada

2 Likes

works now :slight_smile: have a good day everyone :slight_smile:

2 Likes

Yeah same here, all is good now, but i have to admit, AI does not seem the same lately, quite liable and prone to mistakes more often than before

1 Like