# Perspective Status code 502

**URL:** <https://forum.inductiveautomation.com/t/perspective-status-code-502/29364>\
**Category:** Ignition Early Access\
**Created:** [October 24, 2019, 5:33pm UTC](https://forum.inductiveautomation.com/t/perspective-status-code-502/29364 "2019-10-24T17:33:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [October 24, 2019, 5:33pm UTC](https://forum.inductiveautomation.com/t/perspective-status-code-502/29364/1 "2019-10-24T17:33:47Z")

</div>

Ignition 8.0.6 nightly ( b2019101402)  
I am getting the following spammed in my console log.

```auto
10:25:33.077 [Browser Events Thread] INFO Perspective.Designer.BrowserConsole - onerrorLogger: {"stack":"Error: Request failed with status code 502\n at e.exports (https://xxxx.com/res/perspective/js/PerspectiveClient.511b1c4488344cce9988.js:18:68841)\n at e.exports (https://xxxx.com/res/perspective/js/PerspectiveClient.511b1c4488344cce9988.js:32:2988)\n at XMLHttpRequest.s.(anonymous function) (https://xxxx.com/res/perspective/js/PerspectiveClient.511b1c4488344cce9988.js:18:67855)","message":"Request failed with status code 502","name":"Error","logData":{"msg":"unhandledrejection","errorMsg":"Request failed with status code 502"}}
10:25:33.077 [Browser Events Thread] INFO Perspective.Designer.BrowserConsole - Uncaught (in promise) Error: Request failed with status code 502
10:27:33.085 [Browser Events Thread] INFO Perspective.Designer.BrowserConsole - onerrorLogger: {"stack":"Error: Request failed with status code 502\n at e.exports (https://xxxx.com/res/perspective/js/PerspectiveClient.511b1c4488344cce9988.js:18:68841)\n at e.exports (https://xxxx.com/res/perspective/js/PerspectiveClient.511b1c4488344cce9988.js:32:2988)\n at XMLHttpRequest.s.(anonymous function) (https://xxxx.com/res/perspective/js/PerspectiveClient.511b1c4488344cce9988.js:18:67855)","message":"Request failed with status code 502","name":"Error","logData":{"msg":"unhandledrejection","errorMsg":"Request failed with status code 502"}}

```

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [October 24, 2019, 11:01pm UTC](https://forum.inductiveautomation.com/t/perspective-status-code-502/29364/2 "2019-10-24T23:01:01Z")

</div>

This is most-likely being caused by some sort of load-balancer or proxy setup you have between your Designer and gateway. Are there any Gateway logs which provide any insight? Do you have a load-balancer or middle-man setup for your Gateway?

---

<div class="post-metadata">

**Author:** ![jpark](https://avatars.discourse-cdn.com/v4/letter/j/a88e57/32.png) [@jpark](https://forum.inductiveautomation.com/u/jpark)\
**Post date:** [October 24, 2019, 11:21pm UTC](https://forum.inductiveautomation.com/t/perspective-status-code-502/29364/3 "2019-10-24T23:21:25Z")

</div>

I do have a load balancer. Do I need to open up some ports?
