# Restart Gateway Network Connection from script?

**URL:** <https://forum.inductiveautomation.com/t/restart-gateway-network-connection-from-script/58013>\
**Category:** Ignition\
**Created:** [April 4, 2022, 6:05pm UTC](https://forum.inductiveautomation.com/t/restart-gateway-network-connection-from-script/58013 "2022-04-04T18:05:24Z")\
**Posts on this page:** 1\
**Showing post:** 12

<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:** [October 26, 2023, 6:43pm UTC](https://forum.inductiveautomation.com/t/restart-gateway-network-connection-from-script/58013/12 "2023-10-26T18:43:12Z")

</div>

> [@tyler.bennett](#):
>
> so is there is no "proper" way to get a `GatewayContext` object for gateway scripting, outside of developing a module?

No, because IA doesn't promise to keep SDK APIs backwards compatible, and implementation details do change from time to time. Module authors are expected to ~~suck it up~~ deal with it.

However, there are publicly available free modules that expose a gateway/designer/vision context, like my [Integration Toolkit module](https://forum.inductiveautomation.com/t/automation-professionals-integration-toolkit-module/74934) and Paul's open source [Ignition Extensions](https://github.com/IgnitionModuleDevelopmentCommunity/ignition-extensions).

Just know that anything you do in jython with a context object is subject to breakage on Ignition upgrades, and IA support will ignore your whining about it.

---

_[View the full topic](https://forum.inductiveautomation.com/t/restart-gateway-network-connection-from-script/58013)._
