# Tag Write Fails, connection to gateway is dropped

**URL:** <https://forum.inductiveautomation.com/t/tag-write-fails-connection-to-gateway-is-dropped/25594>\
**Category:** Ignition Early Access\
**Created:** [June 5, 2019, 10:23pm UTC](https://forum.inductiveautomation.com/t/tag-write-fails-connection-to-gateway-is-dropped/25594 "2019-06-05T22:23:39Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Walt](https://avatars.discourse-cdn.com/v4/letter/w/71e660/32.png) [@Walt](https://forum.inductiveautomation.com/u/Walt)\
**Post date:** [June 5, 2019, 10:23pm UTC](https://forum.inductiveautomation.com/t/tag-write-fails-connection-to-gateway-is-dropped/25594/1 "2019-06-05T22:23:40Z")

</div>

Any idea why this would happen? I believe our PLC is a little overwhelmed with connections at the moment, but I’m not sure why the designer would disconnect from the gateway.

16:48:37.970 [ForkJoinPool.commonPool-worker-3] WARN com.inductiveautomation.ignition.client.gateway\_interface.GatewayConnectionManager - Connection to Gateway lost, due to exception.  
com.inductiveautomation.ignition.client.gateway\_interface.GatewayException: Read timed out  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.newGatewayException(GatewayInterface.java:341)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.getResponse(GatewayInterface.java:501)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.sendMessage(GatewayInterface.java:273)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.sendMessage(GatewayInterface.java:268)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.invoke(GatewayInterface.java:905)  
at com.inductiveautomation.ignition.client.tags.impl.GatewayTagInterface$GatewayProviderProxy.lambda$writeAsync$1(GatewayTagInterface.java:311)  
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.run(Unknown Source)  
at java.base/java.util.concurrent.CompletableFuture$AsyncRun.exec(Unknown Source)  
at java.base/java.util.concurrent.ForkJoinTask.doExec(Unknown Source)  
at java.base/java.util.concurrent.ForkJoinPool$WorkQueue.topLevelExec(Unknown Source)  
at java.base/java.util.concurrent.ForkJoinPool.scan(Unknown Source)  
at java.base/java.util.concurrent.ForkJoinPool.runWorker(Unknown Source)  
at java.base/java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source)  
Caused by: java.net.SocketTimeoutException: Read timed out  
at java.base/java.net.SocketInputStream.socketRead0(Native Method)  
at java.base/java.net.SocketInputStream.socketRead(Unknown Source)  
at java.base/java.net.SocketInputStream.read(Unknown Source)  
at java.base/java.net.SocketInputStream.read(Unknown Source)  
at java.base/java.io.BufferedInputStream.fill(Unknown Source)  
at java.base/java.io.BufferedInputStream.read1(Unknown Source)  
at java.base/java.io.BufferedInputStream.read(Unknown Source)  
at java.base/sun.net.www.http.HttpClient.parseHTTPHeader(Unknown Source)  
at java.base/sun.net.www.http.HttpClient.parseHTTP(Unknown Source)  
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(Unknown Source)  
at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)  
at java.base/java.net.HttpURLConnection.getResponseCode(Unknown Source)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.getResponse(GatewayInterface.java:421)  
… 11 common frames omitted  
16:48:38.011 [ForkJoinPool.commonPool-worker-3] INFO tags.subscriptions - Changing connected quality to ‘Bad\_Stale’  
16:48:38.021 [ForkJoinPool.commonPool-worker-3] INFO Scripting.ScriptManager.PyComponentWrapper - Pausing scripts…  
16:48:38.021 [ForkJoinPool.commonPool-worker-3] INFO com.inductiveautomation.ignition.client.gateway\_interface.GatewayConnectionManager - Starting reconnect thread.

---

<div class="post-metadata">

**Author:** ![ggross](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ggross/32/12668_2.png) [@ggross](https://forum.inductiveautomation.com/u/ggross)\
**Post date:** [June 18, 2019, 11:22pm UTC](https://forum.inductiveautomation.com/t/tag-write-fails-connection-to-gateway-is-dropped/25594/2 "2019-06-18T23:22:25Z")

</div>

@Walt,

We typically see this issue when a process in the Designer is taking too long to complete. Most of the time it happens to me when I am using a long running script or long running query. Was anything like this happening when you experienced this issue?

Thanks,  
Garth

---

<div class="post-metadata">

**Author:** ![Walt](https://avatars.discourse-cdn.com/v4/letter/w/71e660/32.png) [@Walt](https://forum.inductiveautomation.com/u/Walt)\
**Post date:** [June 19, 2019, 11:48am UTC](https://forum.inductiveautomation.com/t/tag-write-fails-connection-to-gateway-is-dropped/25594/3 "2019-06-19T11:48:35Z")

</div>

Our simulation hardware was switched around right before this and the PLC couldn’t keep up with communications. I am assuming the gateway was trying so hard communicate with the PLC that it dropped the connection from the client.
