# Customise 'Gateway Connection Lost' Popup

**URL:** <https://forum.inductiveautomation.com/t/customise-gateway-connection-lost-popup/21727>\
**Category:** Ignition\
**Created:** [January 8, 2019, 3:18am UTC](https://forum.inductiveautomation.com/t/customise-gateway-connection-lost-popup/21727 "2019-01-08T03:18:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![joshdunstan](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/joshdunstan/32/43306_2.png) [@joshdunstan](https://forum.inductiveautomation.com/u/joshdunstan)\
**Post date:** [January 8, 2019, 3:18am UTC](https://forum.inductiveautomation.com/t/customise-gateway-connection-lost-popup/21727/1 "2019-01-08T03:18:24Z")

</div>

Hi All,

Wondering if it’s at all possible to customise the ‘Gateway Connection Lost’ popup, other than adding the ‘Fallback Project’ button. I’m pretty sure it isn’t possible…?

The thought here is, I will have a system with one Ignition installation and many Ignition Edge installations. When/if connection to the Gateway is lost, I would like to have a choice of projects to ‘fallback’ to… none of which will be on the machine running the client, so simple local client fallback isn’t an option.

I could achieve this with an edge project loaded on the machine running the client that is simply a project redirection screen, but I would have to purchase additional edge licenses…

---

<div class="post-metadata">

**Author:** ![arsalan.junaid](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/arsalan.junaid/32/48885_2.png) [@arsalan.junaid](https://forum.inductiveautomation.com/u/arsalan.junaid)\
**Post date:** [May 17, 2023, 11:33pm UTC](https://forum.inductiveautomation.com/t/customise-gateway-connection-lost-popup/21727/2 "2023-05-17T23:33:09Z")

</div>

Hi @joshdunstan , Did you manage to find something on the subject?

I also would like to either Customise, disable or ever show a custom popup when the gateway is down.

---

<div class="post-metadata">

**Author:** ![joshdunstan](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/joshdunstan/32/43306_2.png) [@joshdunstan](https://forum.inductiveautomation.com/u/joshdunstan)\
**Post date:** [May 18, 2023, 12:27am UTC](https://forum.inductiveautomation.com/t/customise-gateway-connection-lost-popup/21727/3 "2023-05-18T00:27:15Z")

</div>

Hey, at the time I didn't find a solution and went with a different architecture anyway.

---

<div class="post-metadata">

**Author:** ![arsalan.junaid](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/arsalan.junaid/32/48885_2.png) [@arsalan.junaid](https://forum.inductiveautomation.com/u/arsalan.junaid)\
**Post date:** [May 18, 2023, 2:57am UTC](https://forum.inductiveautomation.com/t/customise-gateway-connection-lost-popup/21727/4 "2023-05-18T02:57:02Z")

</div>

Thanks for your prompt response @joshdunstan. Just wondering, is there a way to display a pdf file or just a page incase of a fallback project? (I would just like to display a "quick troubeshooting guide" when the connection is lost to the main gateway)

\*Just trying to avoid the cost of buying another gateway license for the fallback project.

Appologies, if its not the right place to ask this question.

---

<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:** [May 18, 2023, 12:01pm UTC](https://forum.inductiveautomation.com/t/customise-gateway-connection-lost-popup/21727/5 "2023-05-18T12:01:23Z")

</div>

This OP is old enough that it probably refers to Vision. It is possible for Vision to monitor its own connection with timer event and take any desired actions, because that code would be running in the client.

For Perspective, how would you get anything to the client? It would have to go through the gateway connection that is now broken.

---

<div class="post-metadata">

**Author:** ![arsalan.junaid](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/arsalan.junaid/32/48885_2.png) [@arsalan.junaid](https://forum.inductiveautomation.com/u/arsalan.junaid)\
**Post date:** [May 26, 2023, 2:19am UTC](https://forum.inductiveautomation.com/t/customise-gateway-connection-lost-popup/21727/6 "2023-05-26T02:19:04Z")

</div>

Thanks for your assistance guys, I managed to achieve this by simly using Vision \> Client Events \> Timer Script.

_status = system.util.getGatewayStatus("10.56.50.61:8088/main")_

_if status == "RUNNING":_

- 

```
    print "Central Gateway is available!"*

```

- 

```
    system.gui.closeDesktop("Comms Failure")*

```

_else:_

- 

```
    print "Error: " + status*

```

- 

```
    #system.gui.messageBox("The tablet has lost connection to the gateway. Check the following: 1. Internet connection, 2. Tosibox App is running and connected. For more info check the Quick Troublshooting guide: ", "Comms Failure") *

```

- 

```
    #system.gui.openDesktop(screen=0, handle="Comms Failure", windows=["Popups/CommsFailure"])*

```

- 

```
    system.gui.openDesktop(screen=0, handle="Comms Failure", windows=["Popups/CommsFailure_Popup"])*

```
