# Remote server rejected web socket: Duplicate connection

**URL:** <https://forum.inductiveautomation.com/t/remote-server-rejected-web-socket-duplicate-connection/57155>\
**Category:** Ignition\
**Created:** [March 14, 2022, 12:51pm UTC](https://forum.inductiveautomation.com/t/remote-server-rejected-web-socket-duplicate-connection/57155 "2022-03-14T12:51:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![taguililla](https://avatars.discourse-cdn.com/v4/letter/t/f9ae1b/32.png) [@taguililla](https://forum.inductiveautomation.com/u/taguililla)\
**Post date:** [March 14, 2022, 12:51pm UTC](https://forum.inductiveautomation.com/t/remote-server-rejected-web-socket-duplicate-connection/57155/1 "2022-03-14T12:51:32Z")

</div>

Hello.

We have the next error on logs. We have a lost connection on Gateway Network, but the error talk about a duoble connection, but… there is an only connection.

 ![imagen](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/5/75de2a2a6d8b167d073005a1496ba619889d4b81.png)

Could you help us?

Thank you.  
Best regards.

---

<div class="post-metadata">

**Author:** ![taguililla](https://avatars.discourse-cdn.com/v4/letter/t/f9ae1b/32.png) [@taguililla](https://forum.inductiveautomation.com/u/taguililla)\
**Post date:** [March 15, 2022, 10:02am UTC](https://forum.inductiveautomation.com/t/remote-server-rejected-web-socket-duplicate-connection/57155/2 "2022-03-15T10:02:20Z")

</div>

Hello.

We have more information about de error:

INFO | jvm 3 | 2022/03/15 09:41:08 | I [G.L.S.T.SubscriptionManager] [08:41:08]: [\_0:0:pvh-backend\_tagsubupd\_cheste-edge-oee:5] Error delivering subscription updates. The remote gateway may not be available, or the session may be expired. Turn this logger to debug for full error information.  
INFO | jvm 3 | 2022/03/15 09:41:08 | E [m.T.W.WebSocketConnection] [08:41:08]: → outgoing local=‘cheste-edge-oee’ remote=‘pvh-backend’ method=doSend: Socket timeout occurred while downloading message from \_0:0:Cheste-Edge-OEE, header=[opCode=MSG\_SEND, subCode=0, flags=1, messageId=29146, senderId=‘pvh-backend’, targetAddress=’\_0:0:Cheste-Edge-OEE’] gan-remote-connection-id=https://35.210.239.254:8060/system  
INFO | jvm 3 | 2022/03/15 09:41:08 | java.net.SocketTimeoutException: Read timed out  
INFO | jvm 3 | 2022/03/15 09:41:08 | at java.base/java.net.SocketInputStream.socketRead0(Native Method)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at java.base/java.net.SocketInputStream.socketRead(Unknown Source)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at java.base/java.net.SocketInputStream.read(Unknown Source)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at java.base/java.net.SocketInputStream.read(Unknown Source)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at java.base/sun.security.ssl.SSLSocketInputRecord.read(Unknown Source)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at java.base/sun.security.ssl.SSLSocketInputRecord.readHeader(Unknown Source)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at java.base/sun.security.ssl.SSLSocketInputRecord.bytesInCompletePacket(Unknown Source)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at java.base/sun.security.ssl.SSLSocketImpl.readApplicationRecord(Unknown Source)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at java.base/sun.security.ssl.SSLSocketImpl$AppInputStream.read(Unknown Source)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:280)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:138)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at org.apache.http.impl.conn.DefaultHttpResponseParser.parseHead(DefaultHttpResponseParser.java:56)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at org.apache.http.impl.io.AbstractMessageParser.parse(AbstractMessageParser.java:259)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at org.apache.http.impl.DefaultBHttpClientConnection.receiveResponseHeader(DefaultBHttpClientConnection.java:163)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at org.apache.http.impl.conn.CPoolProxy.receiveResponseHeader(CPoolProxy.java:157)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at org.apache.http.protocol.HttpRequestExecutor.doReceiveResponse(HttpRequestExecutor.java:273)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at org.apache.http.protocol.HttpRequestExecutor.execute(HttpRequestExecutor.java:125)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at org.apache.http.impl.execchain.MainClientExec.execute(MainClientExec.java:272)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:186)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:89)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:110)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:185)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at com.inductiveautomation.metro.impl.protocol.websocket.WebSocketConnection$RunDownload.run(WebSocketConnection.java:1880)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)  
INFO | jvm 3 | 2022/03/15 09:41:08 | at java.base/java.lang.Thread.run(Unknown Source)  
INFO | jvm 3 | 2022/03/15 09:43:14 | I [m.T.W.WebSocketConnection] [08:43:14]: [939068435] pvh-backend connection status has been updated from Running to Faulted: Remote connection has missed 31 pings, the web socket connection status is being set to faulted gan-remote-connection-id=https://35.210.239.254:8060/system  
INFO | jvm 3 | 2022/03/15 09:43:14 | I [m.M.Routing] [08:43:14]: Route disconnected between server ‘\_0:0:pvh-backend’ and connection ‘pvh-backend|https://35.210.239.254:8060/system’  
INFO | jvm 3 | 2022/03/15 09:43:18 | E [m.T.W.MetroWebSocket] [08:43:18]: → outgoing local=‘cheste-edge-oee’ remote=‘pvh-backend’ method=onClose: Remote server rejected web socket: Duplicate connection  
INFO | jvm 3 | 2022/03/15 09:43:18 | I [P.InternalDatabase] [08:43:18]: Creating auto-backup of internal database “config.idb”…  
INFO | jvm 3 | 2022/03/15 09:43:19 | I [P.InternalDatabase] [08:43:19]: Created auto-backup of internal database “config.idb” in 694 ms  
INFO | jvm 3 | 2022/03/15 09:43:44 | E [m.T.W.MetroWebSocket] [08:43:44]: → outgoing local=‘cheste-edge-oee’ remote=‘pvh-backend’ method=onClose: Remote server forcibly closed the web socket: java.util.concurrent.TimeoutException: Idle timeout expired: 30000/30000 ms

We are waitingo for your answer.

Best regards.

---

<div class="post-metadata">

**Author:** ![bkarabinchak.psi](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bkarabinchak.psi/32/83567_2.png) [@bkarabinchak.psi](https://forum.inductiveautomation.com/u/bkarabinchak.psi)\
**Post date:** [March 15, 2022, 12:12pm UTC](https://forum.inductiveautomation.com/t/remote-server-rejected-web-socket-duplicate-connection/57155/3 "2022-03-15T12:12:15Z")

</div>

If this is urgent your best bet is to call into support via telephone.

---

<div class="post-metadata">

**Author:** ![taguililla](https://avatars.discourse-cdn.com/v4/letter/t/f9ae1b/32.png) [@taguililla](https://forum.inductiveautomation.com/u/taguililla)\
**Post date:** [March 18, 2022, 11:22am UTC](https://forum.inductiveautomation.com/t/remote-server-rejected-web-socket-duplicate-connection/57155/4 "2022-03-18T11:22:08Z")

</div>

There was two connections, one with ethernet wire and other with WiFi.

The solution is disconnect WiFi.
