# sendRequest() exception regarding security zone requirements

**URL:** <https://forum.inductiveautomation.com/t/sendrequest-exception-regarding-security-zone-requirements/22110>\
**Category:** Ignition\
**Created:** [January 24, 2019, 10:36pm UTC](https://forum.inductiveautomation.com/t/sendrequest-exception-regarding-security-zone-requirements/22110 "2019-01-24T22:36:41Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mrogers](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mrogers/32/4110_2.png) [@mrogers](https://forum.inductiveautomation.com/u/mrogers)\
**Post date:** [January 24, 2019, 10:36pm UTC](https://forum.inductiveautomation.com/t/sendrequest-exception-regarding-security-zone-requirements/22110/1 "2019-01-24T22:36:42Z")

</div>

I’m trying to use the system.util.sendReuest() to another server on the same gateway network. I have confirmed the project, message handler, and remoteserver parameters match the gateway I’m looking to request information, but I’m still getting this error:

```auto
com.inductiveautomation.ignition.client.gateway_interface.GatewayException: com.inductiveautomation.ignition.client.gateway_interface.GatewayException: Remote exception: com.inductiveautomation.ignition.common.script.message.MessageHandlerException: Gateway does not meet Security Zone requirements.

```

What I don’t understand is, we don’t really use security zones much. Not at all for these two servers involved. Originally the ‘security’ section in the Message Handler Settings popup had one row in the table on that popup, and had ‘Any’ selected for both security zone and role. I went ahead and deleted even that line, but still have this problem.

I’m missing something here, but I’m not sure what that would be.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [January 24, 2019, 10:50pm UTC](https://forum.inductiveautomation.com/t/sendrequest-exception-regarding-security-zone-requirements/22110/2 "2019-01-24T22:50:31Z")

</div>

What version of Ignition are both gateways? This sounds very similar to something that (should be) fixed in 7.9.9: [https://inductiveautomation.com/downloads/changelog/534](https://inductiveautomation.com/downloads/changelog/534)

> sendRequest now honors the default security zone for remote machines if no other security zone match is found.

---

<div class="post-metadata">

**Author:** ![mrogers](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/mrogers/32/4110_2.png) [@mrogers](https://forum.inductiveautomation.com/u/mrogers)\
**Post date:** [January 24, 2019, 10:53pm UTC](https://forum.inductiveautomation.com/t/sendrequest-exception-regarding-security-zone-requirements/22110/3 "2019-01-24T22:53:44Z")

</div>

That sounds like it, both are 7.9.6. Is there a workaround for this, maybe setting up a dummy security zone or something?

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [January 24, 2019, 11:10pm UTC](https://forum.inductiveautomation.com/t/sendrequest-exception-regarding-security-zone-requirements/22110/4 "2019-01-24T23:10:59Z")

</div>

Per the original bug ticket in our system:

> Workaround: Create a new Security Zone with wildcards and add that to the message handler settings

Your mileage may vary.

---

<div class="post-metadata">

**Author:** ![kfortin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kfortin/32/4195_2.png) [@kfortin](https://forum.inductiveautomation.com/u/kfortin)\
**Post date:** [April 30, 2019, 6:04pm UTC](https://forum.inductiveautomation.com/t/sendrequest-exception-regarding-security-zone-requirements/22110/5 "2019-04-30T18:04:11Z")

</div>

Tagging on to this thread. We are running into an issue with the sendRequest function, but only in one direction (i.e. sendRequest from Gateway A to Gateway B works fine, but sendRequest from Gateway B to Gateway A errors out with the above).

Both servers only have the default security zone (although I have tried the workaround above with no positive results). Both servers are running 7.9.9 (b2018081621).

---

<div class="post-metadata">

**Author:** ![kfortin](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kfortin/32/4195_2.png) [@kfortin](https://forum.inductiveautomation.com/u/kfortin)\
**Post date:** [June 21, 2019, 3:34pm UTC](https://forum.inductiveautomation.com/t/sendrequest-exception-regarding-security-zone-requirements/22110/6 "2019-06-21T15:34:25Z")

</div>

Bump.
