# VPN Or Public Gateway

**URL:** <https://forum.inductiveautomation.com/t/vpn-or-public-gateway/49991>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [August 17, 2021, 12:35am UTC](https://forum.inductiveautomation.com/t/vpn-or-public-gateway/49991 "2021-08-17T00:35:37Z")\
**Posts on this page:** 6\
**Page:** 3

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 16, 2023, 1:03pm UTC](https://forum.inductiveautomation.com/t/vpn-or-public-gateway/49991/42 "2023-09-16T13:03:20Z")

</div>

That looks suspiciously like a failed websocket. Perspective clients use a websocket, not plain HTTP, for the client's dynamic data traffic. Some proxy technologies don't support them properly.

---

<div class="post-metadata">

**Author:** ![deon.korb](https://avatars.discourse-cdn.com/v4/letter/d/8c91f0/32.png) [@deon.korb](https://forum.inductiveautomation.com/u/deon.korb)\
**Post date:** [September 18, 2023, 6:53am UTC](https://forum.inductiveautomation.com/t/vpn-or-public-gateway/49991/43 "2023-09-18T06:53:18Z")

</div>

I don't recall having to do anything other than having a tunnel, and setting up the public hostname mapped to 8088.

Everything in the browser was fine, but the Perspective app on Android did not work.

---

<div class="post-metadata">

**Author:** ![greg3](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg3/32/16671_2.png) [@greg3](https://forum.inductiveautomation.com/u/greg3)\
**Post date:** [September 22, 2023, 10:10pm UTC](https://forum.inductiveautomation.com/t/vpn-or-public-gateway/49991/44 "2023-09-22T22:10:21Z")

</div>

Thanks for your reply, I've been playing with this some more. It does seem like the websocket might be the issue although on my local machine when I load the project (which resides on the docker image) it works. On the docker image I only have two ports forwarded 9088:8088 and 9043:8043.

What port does the socket connect on? I havn't been able to find that information.

Greg

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [September 22, 2023, 10:26pm UTC](https://forum.inductiveautomation.com/t/vpn-or-public-gateway/49991/45 "2023-09-22T22:26:51Z")

</div>

> [@greg3](#):
>
> What port does the socket connect on?

Same ports.

---

<div class="post-metadata">

**Author:** ![greg3](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg3/32/16671_2.png) [@greg3](https://forum.inductiveautomation.com/u/greg3)\
**Post date:** [September 22, 2023, 10:59pm UTC](https://forum.inductiveautomation.com/t/vpn-or-public-gateway/49991/46 "2023-09-22T22:59:11Z")

</div>

I figured out I can see the error in chrome. It is definately a websocket connection issue:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/7/77957af096483b53171cd993ec36626be63ffbc4.png)

---

<div class="post-metadata">

**Author:** ![helge.rosvik](https://avatars.discourse-cdn.com/v4/letter/h/57b2e6/32.png) [@helge.rosvik](https://forum.inductiveautomation.com/u/helge.rosvik)\
**Post date:** [January 10, 2024, 1:23pm UTC](https://forum.inductiveautomation.com/t/vpn-or-public-gateway/49991/47 "2024-01-10T13:23:31Z")

</div>

In my case using a "\_" underscore (noob) in my URL caused wss to not work. While connecting to the gateway page worked. By changing the DNS to a url without underscore, websockets wwere working fine.

[Previous page](https://forum.inductiveautomation.com/t/vpn-or-public-gateway/49991.md?page=2)
