# WebSocket connection errored out

**URL:** <https://forum.inductiveautomation.com/t/websocket-connection-errored-out/72694>\
**Category:** Ignition\
**Tags:** ignition81\
**Created:** [April 20, 2023, 10:12am UTC](https://forum.inductiveautomation.com/t/websocket-connection-errored-out/72694 "2023-04-20T10:12:57Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![dhananjay\_vichare](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dhananjay_vichare/32/74712_2.png) [@dhananjay\_vichare](https://forum.inductiveautomation.com/u/dhananjay_vichare)\
**Post date:** [April 20, 2023, 10:12am UTC](https://forum.inductiveautomation.com/t/websocket-connection-errored-out/72694/1 "2023-04-20T10:12:57Z")

</div>

Hello,

I am getting Web socket disconnected, Web socket connection errored out continuous error in gateway console log. Please help me to resolve these errors.

We are using Ignition version **8.1.25 (b2023021409)**  
**Windows Server 2019 | amd64**

> java.nio.channels.ClosedChannelException: null
> 
> at org.eclipse.jetty.websocket.core.internal.WebSocketSessionState.onEof(WebSocketSessionState.java:169)
> 
> at org.eclipse.jetty.websocket.core.internal.WebSocketCoreSession.onEof(WebSocketCoreSession.java:253)
> 
> at org.eclipse.jetty.websocket.core.internal.WebSocketConnection.fillAndParse(WebSocketConnection.java:482)
> 
> at org.eclipse.jetty.websocket.core.internal.WebSocketConnection.onFillable(WebSocketConnection.java:340)
> 
> at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:314)
> 
> at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
> 
> at org.eclipse.jetty.io.ssl.SslConnection$DecryptedEndPoint.onFillable(SslConnection.java:558)
> 
> at org.eclipse.jetty.io.ssl.SslConnection.onFillable(SslConnection.java:379)
> 
> at org.eclipse.jetty.io.ssl.SslConnection$2.succeeded(SslConnection.java:146)
> 
> at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:100)
> 
> at org.eclipse.jetty.io.SelectableChannelEndPoint$1.run(SelectableChannelEndPoint.java:53)
> 
> at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.runTask(AdaptiveExecutionStrategy.java:416)
> 
> at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.consumeTask(AdaptiveExecutionStrategy.java:385)
> 
> at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.tryProduce(AdaptiveExecutionStrategy.java:272)
> 
> at org.eclipse.jetty.util.thread.strategy.AdaptiveExecutionStrategy.lambda$new$0(AdaptiveExecutionStrategy.java:140)
> 
> at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:411)
> 
> at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:934)
> 
> at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1078)
> 
> at java.base/java.lang.Thread.run(Unknown Source)
> 
> ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/6/467cbdfba0891c35bbcc2adb1725e90b97c24577.png)

---

<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:** [April 20, 2023, 3:24pm UTC](https://forum.inductiveautomation.com/t/websocket-connection-errored-out/72694/2 "2023-04-20T15:24:31Z")

</div>

Can you upload your actual logs? It seems like an issue either on the user agent (browser or mobile device or workstation), or originating on somewhere on the network outside of Ignition; the persistent websocket is closing abruptly, and so the gateway is logging these messages indicating the websocket 'disappeared' from its perspective.

---

<div class="post-metadata">

**Author:** ![dhananjay\_vichare](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dhananjay_vichare/32/74712_2.png) [@dhananjay\_vichare](https://forum.inductiveautomation.com/u/dhananjay_vichare)\
**Post date:** [April 21, 2023, 4:20am UTC](https://forum.inductiveautomation.com/t/websocket-connection-errored-out/72694/3 "2023-04-21T04:20:43Z")

</div>

Hello @paul-griffith  
thank you for the looking into it. Please find attached Gateway logs.  
[Ignition-FisServer\_Ignition\_logs\_20230420-2107.zip](https://forum.inductiveautomation.com/uploads/short-url/DV7hriwAKmb4nrGrDoLrrDC7ao.zip) (4.7 MB)

Background:  
We have Ignition GW located at Cloud (somewhere in USA), connected with tosibox with fix IP address. We have purchased one domain **[example.com](http://example.com)** from GoDaddy, we have DNS forwarded to tosibox IP. So when where we get request on **[example.com](http://example.com)** we directed to the main dashboard (perspective project) page located on Ignition GW. We are located in the **India** and we can access the projects located on Ignition gateway using [example.com](http://example.com). However, our client located in USA cannot access perspective dashboard and other project from his laptop (any browser) and nor from his phone.

IA advised before that it need _SSL certificate_, hence we have purchased and configured on GoDaddy and Ignition (Web server \> SSL configuration) as well.

We are getting these web socket disconnected errors, from when configured above setup.

---

<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:** [April 21, 2023, 3:39pm UTC](https://forum.inductiveautomation.com/t/websocket-connection-errored-out/72694/4 "2023-04-21T15:39:40Z")

</div>

Well, doesn't really offer any more information. Whatever's happening to the websocket is happening outside of the gateway. Investigate with your IT team, try different devices, etc. It's not SSL related; it's just a plain old network failure, as far as I can tell. Something is hiccuping and causing the gateway's outbound half of the websocket to think there's nothing available on the other end.

---

<div class="post-metadata">

**Author:** ![dhananjay\_vichare](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/dhananjay_vichare/32/74712_2.png) [@dhananjay\_vichare](https://forum.inductiveautomation.com/u/dhananjay_vichare)\
**Post date:** [April 24, 2023, 6:02am UTC](https://forum.inductiveautomation.com/t/websocket-connection-errored-out/72694/5 "2023-04-24T06:02:03Z")

</div>

> [@paul-griffith](#):
>
> Investigate with your IT team, try

Ok. Thank you we will check with our IT team.

---

<div class="post-metadata">

**Author:** ![vineet.prakash](https://avatars.discourse-cdn.com/v4/letter/v/c68b51/32.png) [@vineet.prakash](https://forum.inductiveautomation.com/u/vineet.prakash)\
**Post date:** [August 3, 2023, 2:45am UTC](https://forum.inductiveautomation.com/t/websocket-connection-errored-out/72694/6 "2023-08-03T02:45:17Z")

</div>

Did you end up finding the solution to this issue? We are having the same issue with the Websocket closing and clients hanging.

---

<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:** [August 3, 2023, 1:34pm UTC](https://forum.inductiveautomation.com/t/websocket-connection-errored-out/72694/7 "2023-08-03T13:34:37Z")

</div>

Some commercial firewall products have been reported to close websockets unconditionally after a short time (like 30 minutes). If your logged errors are the same, you need your IT to investigate.

---

<div class="post-metadata">

**Author:** ![vineet.prakash](https://avatars.discourse-cdn.com/v4/letter/v/c68b51/32.png) [@vineet.prakash](https://forum.inductiveautomation.com/u/vineet.prakash)\
**Post date:** [August 3, 2023, 9:15pm UTC](https://forum.inductiveautomation.com/t/websocket-connection-errored-out/72694/8 "2023-08-03T21:15:37Z")

</div>

Unfortunately there are no firewalls between the server and clients. Server sits in the server room, connected to clients in the production floor via Meraki switches. IT have looked into it and suggested it isn't an 'IT / Infra' issue but I'll request they look again.

The logs display these errors and after this the clients in the field became unresponsive / hang needing a session restart, on the laptop this doesn't happen though. Could this is something to do with idle timeouts, power saving?

---

<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:** [August 3, 2023, 9:29pm UTC](https://forum.inductiveautomation.com/t/websocket-connection-errored-out/72694/9 "2023-08-03T21:29:54Z")

</div>

> [@vineet.prakash](#):
>
> Could this is something to do with idle timeouts, power saving?

Quite possible. Tablet or mobile clients? Some have aggressive power saving behaviors that break the network connection.

See if you can turn off those power saving behaviors in the device settings. Or exempt the Perspective app.

---

<div class="post-metadata">

**Author:** ![Sudeep\_Kadlak](https://avatars.discourse-cdn.com/v4/letter/s/9f8e36/32.png) [@Sudeep\_Kadlak](https://forum.inductiveautomation.com/u/Sudeep_Kadlak)\
**Post date:** [November 17, 2025, 2:22pm UTC](https://forum.inductiveautomation.com/t/websocket-connection-errored-out/72694/10 "2025-11-17T14:22:06Z")

</div>

hi Dhananjay how u resolved this issue? i am getting same issue ..
