# Perspective app hangs up connecting to public facing gateway

**URL:** <https://forum.inductiveautomation.com/t/perspective-app-hangs-up-connecting-to-public-facing-gateway/99888>\
**Category:** Maker\
**Tags:** perspective\
**Created:** [December 16, 2024, 4:37pm UTC](https://forum.inductiveautomation.com/t/perspective-app-hangs-up-connecting-to-public-facing-gateway/99888 "2024-12-16T16:37:12Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gratliff](https://avatars.discourse-cdn.com/v4/letter/g/a5b964/32.png) [@Gratliff](https://forum.inductiveautomation.com/u/Gratliff)\
**Post date:** [December 16, 2024, 4:37pm UTC](https://forum.inductiveautomation.com/t/perspective-app-hangs-up-connecting-to-public-facing-gateway/99888/1 "2024-12-16T16:37:12Z")

</div>

I have my maker gateway exposed to the internet. I use a domain name and cert purchased from No-IP, and I have the gateway sitting behind Nginx Proxy Manager. This works fine using my computer's browser but when I try to connect using my iPhone, things fall apart. When I set up the gateway in the app, I get 'valid host' and can see my projects in the list. When I try to launch my project, it hangs up. I never even see the login screen. The project in question is currently set up to use the default user source (for now). I can't seem to figure out why the iPhone won't connect.  
I'm pretty green at these technologies (not Ignition/Perspective). Any help would be appreciated.

---

<div class="post-metadata">

**Author:** ![calimero100582](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/calimero100582/32/18630_2.png) [@calimero100582](https://forum.inductiveautomation.com/u/calimero100582)\
**Post date:** [December 16, 2024, 10:31pm UTC](https://forum.inductiveautomation.com/t/perspective-app-hangs-up-connecting-to-public-facing-gateway/99888/2 "2024-12-16T22:31:00Z")

</div>

Have you enabled web socket through nginx?

---

<div class="post-metadata">

**Author:** ![Gratliff](https://avatars.discourse-cdn.com/v4/letter/g/a5b964/32.png) [@Gratliff](https://forum.inductiveautomation.com/u/Gratliff)\
**Post date:** [December 17, 2024, 1:14am UTC](https://forum.inductiveautomation.com/t/perspective-app-hangs-up-connecting-to-public-facing-gateway/99888/3 "2024-12-17T01:14:28Z")

</div>

I did. At first, I couldn't even connect with my browser. I finally figured out that I missed the web sockets toggle. Thanks for checking!

---

<div class="post-metadata">

**Author:** ![Gratliff](https://avatars.discourse-cdn.com/v4/letter/g/a5b964/32.png) [@Gratliff](https://forum.inductiveautomation.com/u/Gratliff)\
**Post date:** [December 20, 2024, 2:25pm UTC](https://forum.inductiveautomation.com/t/perspective-app-hangs-up-connecting-to-public-facing-gateway/99888/4 "2024-12-20T14:25:20Z")

</div>

Here’s a bit more detail based on what I’m seeing in the logs:

The Nginx access logs show my iPhone successfully loading various static resources—CSS, fonts, and the initial Perspective page—each returning HTTP 200. Then, when I try to open the project, there’s a 302 redirect to `/data/perspective/login/<project>`, which I assume is the login page. Everything seems normal on paper, but on the phone itself, the Perspective app (or Safari) never actually displays that login screen—it just hangs.

If anyone has run into a similar situation—where logs look normal, WebSockets are enabled, and yet mobile clients won’t display the login screen—I’d appreciate any advice!

---

<div class="post-metadata">

**Author:** ![michael.flagler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.flagler/32/26272_2.png) [@michael.flagler](https://forum.inductiveautomation.com/u/michael.flagler)\
**Post date:** [December 31, 2024, 11:42am UTC](https://forum.inductiveautomation.com/t/perspective-app-hangs-up-connecting-to-public-facing-gateway/99888/5 "2024-12-31T11:42:13Z")

</div>

Have you attempted to use another reverse proxy like HAProxy instead of Nginx? I haven't used Nginx in ages but I think the config is much simpler and more foolproof in HAProxy (you basically point a backend config to Ignition and if it's the only server you direct all traffic to that backend, otherwise you write a rule defining the domain name you're using for that backend to direct only that traffic to the backend). I believe websockets just work out of the box, and you can even enable H3 (QUIC) connections if you want.

---

<div class="post-metadata">

**Author:** ![Gratliff](https://avatars.discourse-cdn.com/v4/letter/g/a5b964/32.png) [@Gratliff](https://forum.inductiveautomation.com/u/Gratliff)\
**Post date:** [January 5, 2025, 2:17pm UTC](https://forum.inductiveautomation.com/t/perspective-app-hangs-up-connecting-to-public-facing-gateway/99888/6 "2025-01-05T14:17:41Z")

</div>

I haven't. I'm actually using Nginx inside of Home Assistant. The config in the addon is quite simple these days. There isn't a HAProxy addon in Home Assistant that I can find. If possible, I'd like to keep things inside this environment.

What's confusing is that this solution works using a desktop. I can connect from outside my network just fine. **It's only giving me an issue if I'm using a mobile device** (browser or Perspective app). Of course, this is really the method I plan to use most often.

---

<div class="post-metadata">

**Author:** ![michael.flagler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.flagler/32/26272_2.png) [@michael.flagler](https://forum.inductiveautomation.com/u/michael.flagler)\
**Post date:** [January 6, 2025, 2:57pm UTC](https://forum.inductiveautomation.com/t/perspective-app-hangs-up-connecting-to-public-facing-gateway/99888/7 "2025-01-06T14:57:46Z")

</div>

Hmm. I'm wondering if there's some quirk with the add on since it's really just a docker container. I use home assistant also, but have a standalone server I use for my HAProxy. I don't know what firewall you're using but OPNsense has an HAProxy plugin that's fairly easy to use and that's how I got started in HAProxy before venturing out on my own with it.

---

<div class="post-metadata">

**Author:** ![Gratliff](https://avatars.discourse-cdn.com/v4/letter/g/a5b964/32.png) [@Gratliff](https://forum.inductiveautomation.com/u/Gratliff)\
**Post date:** [January 14, 2025, 10:11pm UTC](https://forum.inductiveautomation.com/t/perspective-app-hangs-up-connecting-to-public-facing-gateway/99888/8 "2025-01-14T22:11:41Z")

</div>

I've been considering setting up PFSense at the house. It too has a HAProxy plugin. I'll have to do some physical wire routing before I do that though due to the location of my router/switches/server. Hopefully, that will take care of the issue.  
Thanks!

---

<div class="post-metadata">

**Author:** ![michael.flagler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.flagler/32/26272_2.png) [@michael.flagler](https://forum.inductiveautomation.com/u/michael.flagler)\
**Post date:** [January 14, 2025, 10:21pm UTC](https://forum.inductiveautomation.com/t/perspective-app-hangs-up-connecting-to-public-facing-gateway/99888/9 "2025-01-14T22:21:14Z")

</div>

You might want to reconsider pfSense. Last version of pfSense CE was December 2023 as it looks like they're trying to push everyone to the paid version of pfSense+ which is $130/year. OPNsense is still actively maintained and free.

---

<div class="post-metadata">

**Author:** ![Gratliff](https://avatars.discourse-cdn.com/v4/letter/g/a5b964/32.png) [@Gratliff](https://forum.inductiveautomation.com/u/Gratliff)\
**Post date:** [January 14, 2025, 10:22pm UTC](https://forum.inductiveautomation.com/t/perspective-app-hangs-up-connecting-to-public-facing-gateway/99888/10 "2025-01-14T22:22:28Z")

</div>

I was not aware of that. I'll take that advice!!!
