# API Proxy giving 502 bad gateway error

**URL:** <https://discuss.google.dev/t/api-proxy-giving-502-bad-gateway-error/13767>\
**Category:** Apigee\
**Tags:** api-runtime\
**Created:** [April 14, 2017, 7:13am UTC](https://discuss.google.dev/t/api-proxy-giving-502-bad-gateway-error/13767 "2017-04-14T07:13:25Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous8](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@anonymous8](https://discuss.google.dev/u/anonymous8)\
**Post date:** [April 14, 2017, 7:13am UTC](https://discuss.google.dev/t/api-proxy-giving-502-bad-gateway-error/13767/1 "2017-04-14T07:13:25Z")

</div>

Hi Fellows,

From today morning, the API Is giving me 502 bad gateway errors randomly. I have multiple API proxies, some of them are running on apache, some are in Nginx. I checked the backend for all APIs are seems working with no error logs on my apache as well as Nginx servers. Then it clearly means its an error coming from the Apigee, someone please look into this issue on high priority.

EDIT: The API trace is also not seems working.

```auto
An error occurred. Sorry, the page you are looking for is currently unavailable. Please try again late

```

---

<div class="post-metadata">

**Author:** ![anonymous8](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@anonymous8](https://discuss.google.dev/u/anonymous8)\
**Post date:** [April 14, 2017, 8:01am UTC](https://discuss.google.dev/t/api-proxy-giving-502-bad-gateway-error/13767/2 "2017-04-14T08:01:08Z")

</div>

Same error here !!

I’m desperate.

The 90% of the time I have this response:

# An error occurred.

Sorry, the page you are looking for is currently unavailable.  
Please try again later

---

<div class="post-metadata">

**Author:** ![anonymous8](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@anonymous8](https://discuss.google.dev/u/anonymous8)\
**Post date:** [April 14, 2017, 8:24am UTC](https://discuss.google.dev/t/api-proxy-giving-502-bad-gateway-error/13767/3 "2017-04-14T08:24:29Z")

</div>

If it is random then have your MPs checked out by apigee team…one of them might have an issue.Spanning new message processors may resolve this issue

---

<div class="post-metadata">

**Author:** ![anonymous8](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@anonymous8](https://discuss.google.dev/u/anonymous8)\
**Post date:** [April 14, 2017, 8:27am UTC](https://discuss.google.dev/t/api-proxy-giving-502-bad-gateway-error/13767/4 "2017-04-14T08:27:56Z")

</div>

Now its not random, all the request were killed by 502 error. this is very critical now and everything is in production.

---

<div class="post-metadata">

**Author:** ![anonymous8](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@anonymous8](https://discuss.google.dev/u/anonymous8)\
**Post date:** [April 14, 2017, 8:29am UTC](https://discuss.google.dev/t/api-proxy-giving-502-bad-gateway-error/13767/5 "2017-04-14T08:29:59Z")

</div>

And now I see, not only me, many people have got same issue as mine now. This is very critical issue. I request some one to look in to this on high priority.

---

<div class="post-metadata">

**Author:** ![anonymous8](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@anonymous8](https://discuss.google.dev/u/anonymous8)\
**Post date:** [April 14, 2017, 8:49am UTC](https://discuss.google.dev/t/api-proxy-giving-502-bad-gateway-error/13767/6 "2017-04-14T08:49:29Z")

</div>

It’s like something in the maintenance break some proxies. I have other account and it works fine, but not my principal one.

AS Arun says, it’s critical because it’s on production.

---

<div class="post-metadata">

**Author:** ![anonymous8](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@anonymous8](https://discuss.google.dev/u/anonymous8)\
**Post date:** [April 14, 2017, 11:18am UTC](https://discuss.google.dev/t/api-proxy-giving-502-bad-gateway-error/13767/7 "2017-04-14T11:18:39Z")

</div>

Arun, could you resolve it? It worst even hour for me.

Regards

---

<div class="post-metadata">

**Author:** ![anonymous8](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@anonymous8](https://discuss.google.dev/u/anonymous8)\
**Post date:** [April 14, 2017, 11:31am UTC](https://discuss.google.dev/t/api-proxy-giving-502-bad-gateway-error/13767/8 "2017-04-14T11:31:24Z")

</div>

Still the same issue. All my services are down. Very very bad day with Apigee.

---

<div class="post-metadata">

**Author:** ![anonymous8](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@anonymous8](https://discuss.google.dev/u/anonymous8)\
**Post date:** [April 14, 2017, 11:58am UTC](https://discuss.google.dev/t/api-proxy-giving-502-bad-gateway-error/13767/9 "2017-04-14T11:58:35Z")

</div>

It looks fine to me now.

---

<div class="post-metadata">

**Author:** ![anonymous8](https://avatars.discourse-cdn.com/v4/letter/a/7cd45c/32.png) [@anonymous8](https://discuss.google.dev/u/anonymous8)\
**Post date:** [May 31, 2018, 9:07pm UTC](https://discuss.google.dev/t/api-proxy-giving-502-bad-gateway-error/13767/10 "2018-05-31T21:07:38Z")

</div>

is this fixed?
