# Error Gateway connection lost

**URL:** <https://forum.inductiveautomation.com/t/error-gateway-connection-lost/1378>\
**Category:** Archived Topics\
**Created:** [November 13, 2009, 9:52am UTC](https://forum.inductiveautomation.com/t/error-gateway-connection-lost/1378 "2009-11-13T09:52:16Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Shailesh](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@Shailesh](https://forum.inductiveautomation.com/u/Shailesh)\
**Post date:** [November 13, 2009, 9:52am UTC](https://forum.inductiveautomation.com/t/error-gateway-connection-lost/1378/1 "2009-11-13T09:52:16Z")

</div>

Dear Carl,

While I am accessing application from client on WAN I m getting this error so many times.

Regards  
Shailesh  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/1X/b31eefc13a8ee0a113a9b588bcbfeaeb5b703fe7.JPG)

---

<div class="post-metadata">

**Author:** ![Carl.Gould](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/carl.gould/32/7262_2.png) [@Carl.Gould](https://forum.inductiveautomation.com/u/Carl.Gould)\
**Post date:** [November 14, 2009, 10:20pm UTC](https://forum.inductiveautomation.com/t/error-gateway-connection-lost/1378/2 "2009-11-14T22:20:53Z")

</div>

You’ll find a log message for the exception that caused the disconnect under the Diagnostics panel in the Client. If this is only happening over the WAN, it is probably a timeout. Connections to the Gateway have a default 60 second timeout. If a large query needs more time than that to return, you may need to turn up the timeout. See the [fpmi.system.setConnectTimeout](http://www.inductiveautomation.com/products/factorypmi/usermanual/source/technical/jython/modulessystem.htm#setConnectTimeout) function.
