# Gateway connection lost frequently, Ignition becomes usuable

**URL:** <https://forum.inductiveautomation.com/t/gateway-connection-lost-frequently-ignition-becomes-usuable/4623>\
**Category:** Ignition\
**Created:** [June 13, 2012, 3:37pm UTC](https://forum.inductiveautomation.com/t/gateway-connection-lost-frequently-ignition-becomes-usuable/4623 "2012-06-13T15:37:36Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bassafish](https://avatars.discourse-cdn.com/v4/letter/b/ee7513/32.png) [@Bassafish](https://forum.inductiveautomation.com/u/Bassafish)\
**Post date:** [June 13, 2012, 3:37pm UTC](https://forum.inductiveautomation.com/t/gateway-connection-lost-frequently-ignition-becomes-usuable/4623/1 "2012-06-13T15:37:36Z")

</div>

At times the gateway connection is lost , then restored so frequently that Ignition becomes unusable.[/b]Connection to gateway lost, due to exception Gateway error 600:

WARN [GatewayConnectionManager-QueryExecuter 4] Connection to Gateway lost, due to exception.  
com.inductiveautomation.ignition.client.gateway\_interface.GatewayException: Gateway Error 600: Connection refused: connect  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.newGatewayException(GatewayInterface.java:280)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.getResponse(GatewayInterface.java:398)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.sendMessage(GatewayInterface.java:219)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.sendMessage(GatewayInterface.java:214)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.runLimitQuery(GatewayInterface.java:586)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.runQuery(GatewayInterface.java:551)  
at com.inductiveautomation.factorypmi.application.gateway.SQLQuery.execute(SQLQuery.java:48)  
at com.inductiveautomation.factorypmi.application.gateway.QueryManager$Query.execute(QueryManager.java:697)  
at com.inductiveautomation.factorypmi.application.gateway.QueryManager$Query.access$500(QueryManager.java:670)  
at com.inductiveautomation.factorypmi.application.gateway.QueryManager$QueryExecutor.run(QueryManager.java:314)  
at java.lang.Thread.run(Unknown Source)  
Caused by: java.net.ConnectException: Connection refused: connect  
at java.net.PlainSocketImpl.socketConnect(Native Method)  
at java.net.PlainSocketImpl.doConnect(Unknown Source)  
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)  
at java.net.PlainSocketImpl.connect(Unknown Source)  
at java.net.SocksSocketImpl.connect(Unknown Source)  
at java.net.Socket.connect(Unknown Source)  
at sun.net.NetworkClient.doConnect(Unknown Source)  
at sun.net.www.http.HttpClient.openServer(Unknown Source)  
at sun.net.www.http.HttpClient.openServer(Unknown Source)  
at sun.net.www.http.HttpClient.(Unknown Source)  
at sun.net.www.http.HttpClient.New(Unknown Source)  
at sun.net.www.http.HttpClient.New(Unknown Source)  
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)  
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)  
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)  
at sun.net.www.protocol.http.HttpURLConnection.getOutputStream(Unknown Source)  
at com.inductiveautomation.ignition.client.gateway\_interface.GatewayInterface.getResponse(GatewayInterface.java:303)  
… 9 more  
INFO [Lew\_Disposer\_Dash\_Board-QueryExecuter 4] Pausing scripts…  
INFO [GatewayConnectionManager-QueryExecuter 4] Starting reconnect thread.  
ERROR [AbstractPropertyAdapter-AWT-EventQueue-0]

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [June 13, 2012, 3:39pm UTC](https://forum.inductiveautomation.com/t/gateway-connection-lost-frequently-ignition-becomes-usuable/4623/2 "2012-06-13T15:39:24Z")

</div>

Can you give us some more information?

Version of Ignition  
Version of Java  
OS, 32 bit or 64 bit  
any other details to include error messages

---

<div class="post-metadata">

**Author:** ![Bassafish](https://avatars.discourse-cdn.com/v4/letter/b/ee7513/32.png) [@Bassafish](https://forum.inductiveautomation.com/u/Bassafish)\
**Post date:** [June 13, 2012, 5:19pm UTC](https://forum.inductiveautomation.com/t/gateway-connection-lost-frequently-ignition-becomes-usuable/4623/3 "2012-06-13T17:19:42Z")

</div>

version 7.29

64 bit

java 1.6 \_ 31

---

<div class="post-metadata">

**Author:** ![greg.simpson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/greg.simpson/32/3135_2.png) [@greg.simpson](https://forum.inductiveautomation.com/u/greg.simpson)\
**Post date:** [June 13, 2012, 8:24pm UTC](https://forum.inductiveautomation.com/t/gateway-connection-lost-frequently-ignition-becomes-usuable/4623/4 "2012-06-13T20:24:12Z")

</div>

Can you upgrade to 7.2.11 and see if that works?

---

<div class="post-metadata">

**Author:** ![Bassafish](https://avatars.discourse-cdn.com/v4/letter/b/ee7513/32.png) [@Bassafish](https://forum.inductiveautomation.com/u/Bassafish)\
**Post date:** [June 14, 2012, 12:22pm UTC](https://forum.inductiveautomation.com/t/gateway-connection-lost-frequently-ignition-becomes-usuable/4623/5 "2012-06-14T12:22:26Z")

</div>

Yes I will install it today

---

<div class="post-metadata">

**Author:** ![Bassafish](https://avatars.discourse-cdn.com/v4/letter/b/ee7513/32.png) [@Bassafish](https://forum.inductiveautomation.com/u/Bassafish)\
**Post date:** [June 18, 2012, 3:17pm UTC](https://forum.inductiveautomation.com/t/gateway-connection-lost-frequently-ignition-becomes-usuable/4623/6 "2012-06-18T15:17:22Z")

</div>

Running 7.2.11 64 bit . Exact same problem after upgrade, “Gateway Lost Connection errors”

32 clients running, Multiple locations all see the same issues.

---

<div class="post-metadata">

**Author:** ![Bassafish](https://avatars.discourse-cdn.com/v4/letter/b/ee7513/32.png) [@Bassafish](https://forum.inductiveautomation.com/u/Bassafish)\
**Post date:** [June 18, 2012, 3:19pm UTC](https://forum.inductiveautomation.com/t/gateway-connection-lost-frequently-ignition-becomes-usuable/4623/7 "2012-06-18T15:19:12Z")

</div>

Why is only Ignition software effected, if it is some kind of a network problem?

---

<div class="post-metadata">

**Author:** ![jsham](https://avatars.discourse-cdn.com/v4/letter/j/ac91a4/32.png) [@jsham](https://forum.inductiveautomation.com/u/jsham)\
**Post date:** [June 18, 2012, 3:34pm UTC](https://forum.inductiveautomation.com/t/gateway-connection-lost-frequently-ignition-becomes-usuable/4623/8 "2012-06-18T15:34:50Z")

</div>

First thing I check anymore is that someone (or some other software install) didn’t install a server using the same TCP ports as Ignition. Once had an IT vendor install IIS role for quickie testing on a server that knocked Ignition out of the game. Was difficult at first to detect what was going on as Ignition’s web server and IIS battled it out for access to the port and got errors similar to those you are reporting. Just a thought…

---

<div class="post-metadata">

**Author:** ![Bassafish](https://avatars.discourse-cdn.com/v4/letter/b/ee7513/32.png) [@Bassafish](https://forum.inductiveautomation.com/u/Bassafish)\
**Post date:** [June 18, 2012, 4:55pm UTC](https://forum.inductiveautomation.com/t/gateway-connection-lost-frequently-ignition-becomes-usuable/4623/9 "2012-06-18T16:55:15Z")

</div>

This VM server is dedicated to Ignition.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 18, 2012, 5:05pm UTC](https://forum.inductiveautomation.com/t/gateway-connection-lost-frequently-ignition-becomes-usuable/4623/10 "2012-06-18T17:05:12Z")

</div>

How much RAM and CPU are allocated to the Ignition VM? How much RAM and CPU does the host machine have? Are you sure you haven’t over-allocated the resources? How many VMs are running on this machine?

---

<div class="post-metadata">

**Author:** ![Bassafish](https://avatars.discourse-cdn.com/v4/letter/b/ee7513/32.png) [@Bassafish](https://forum.inductiveautomation.com/u/Bassafish)\
**Post date:** [June 18, 2012, 6:03pm UTC](https://forum.inductiveautomation.com/t/gateway-connection-lost-frequently-ignition-becomes-usuable/4623/11 "2012-06-18T18:03:32Z")

</div>

4 ea Xeon 2.27 GHZ  
8 gig Ram

Cpu usage 50 - 80%  
5 gig ram used

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 18, 2012, 6:20pm UTC](https://forum.inductiveautomation.com/t/gateway-connection-lost-frequently-ignition-becomes-usuable/4623/12 "2012-06-18T18:20:02Z")

</div>

[quote=“Bassafish”]4 ea Xeon 2.27 GHZ  
8 gig Ram

Cpu usage 50 - 80%  
5 gig ram used[/quote]

Is that the specs of the host machine or the specs of the VM Ignition is running on?

How many VMs are running on the host?

50-80% CPU usage is suspiciously high. Is there a database running on the same VM as well?

---

<div class="post-metadata">

**Author:** ![Bassafish](https://avatars.discourse-cdn.com/v4/letter/b/ee7513/32.png) [@Bassafish](https://forum.inductiveautomation.com/u/Bassafish)\
**Post date:** [June 18, 2012, 6:36pm UTC](https://forum.inductiveautomation.com/t/gateway-connection-lost-frequently-ignition-becomes-usuable/4623/13 "2012-06-18T18:36:04Z")

</div>

The spec is for the VM Machine,

Sql server is running with a couple of databases as well as 4 other remote database connections from remote locations.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 18, 2012, 6:42pm UTC](https://forum.inductiveautomation.com/t/gateway-connection-lost-frequently-ignition-becomes-usuable/4623/14 "2012-06-18T18:42:37Z")

</div>

[quote=“Bassafish”]The spec is for the VM Machine,

Sql server is running with a couple of databases as well as 4 other remote database connections from remote locations.[/quote]

Okay, what resources has the Ignition VM been setup to receive though? And how many other VMs are running on the same host machine?

---

<div class="post-metadata">

**Author:** ![Bassafish](https://avatars.discourse-cdn.com/v4/letter/b/ee7513/32.png) [@Bassafish](https://forum.inductiveautomation.com/u/Bassafish)\
**Post date:** [June 18, 2012, 7:20pm UTC](https://forum.inductiveautomation.com/t/gateway-connection-lost-frequently-ignition-becomes-usuable/4623/15 "2012-06-18T19:20:31Z")

</div>

Please explain (what resources has the Ignition VM been setup to receive though?) what details you want.

I have to go through the Corporate IT group the get the requested details.

---

<div class="post-metadata">

**Author:** ![Bassafish](https://avatars.discourse-cdn.com/v4/letter/b/ee7513/32.png) [@Bassafish](https://forum.inductiveautomation.com/u/Bassafish)\
**Post date:** [June 18, 2012, 7:26pm UTC](https://forum.inductiveautomation.com/t/gateway-connection-lost-frequently-ignition-becomes-usuable/4623/16 "2012-06-18T19:26:11Z")

</div>

Have had 3 clients lock up today and had to ctl alt del to kill the Ignition Project and restart it.

Gateway Connection Lost numerous times before they locked up.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 18, 2012, 7:29pm UTC](https://forum.inductiveautomation.com/t/gateway-connection-lost-frequently-ignition-becomes-usuable/4623/17 "2012-06-18T19:29:21Z")

</div>

[quote=“Bassafish”]Please explain (what resources has the Ignition VM been setup to receive though?) what details you want.

I have to go through the Corporate IT group the get the requested details.[/quote]

You’ve explained that the host machine is running on a quad-core xeon, 8GB ram. This is a finite amount of computing resources.

When you provision a new VM part of the configuration is how many cpus, how many cores per cpu, and how much memory is allocated to that VM instance.

Each VM instance running on the host machine consumes some of those finite computing resources. If you’ve configured too many VMs using too many resources on one host, then the performance of all VMs will be severely degraded.

---

<div class="post-metadata">

**Author:** ![Bassafish](https://avatars.discourse-cdn.com/v4/letter/b/ee7513/32.png) [@Bassafish](https://forum.inductiveautomation.com/u/Bassafish)\
**Post date:** [June 19, 2012, 1:58am UTC](https://forum.inductiveautomation.com/t/gateway-connection-lost-frequently-ignition-becomes-usuable/4623/18 "2012-06-19T01:58:46Z")

</div>

The Vm Machine has quad cores assigned and 8 gig of ram. I am trying to get info on the host and how many Vm are running on it.

What would cause clients to freeze up?

Clients on the Local network are freezing up as well as clients at remote locations. They all get the gateway lost connection errors.

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [June 19, 2012, 2:16pm UTC](https://forum.inductiveautomation.com/t/gateway-connection-lost-frequently-ignition-becomes-usuable/4623/19 "2012-06-19T14:16:20Z")

</div>

[quote=“Bassafish”]The Vm Machine has quad cores assigned and 8 gig of ram. I am trying to get info on the host and how many Vm are running on it.

What would cause clients to freeze up?

Clients on the Local network are freezing up as well as clients at remote locations. They all get the gateway lost connection errors.[/quote]

If the VM the Ignition Gateway is over-provisioned and running slow (50-80% cpu could be an indicator, depends on your project(s) setup though), then that could cause the connection errors in the client as it probably can’t respond in a timely manner and it is busy/backed up responding to previous requests from other clients.

---

<div class="post-metadata">

**Author:** ![bryan\_cook](https://avatars.discourse-cdn.com/v4/letter/b/a8b319/32.png) [@bryan\_cook](https://forum.inductiveautomation.com/u/bryan_cook)\
**Post date:** [June 19, 2012, 5:22pm UTC](https://forum.inductiveautomation.com/t/gateway-connection-lost-frequently-ignition-becomes-usuable/4623/20 "2012-06-19T17:22:53Z")

</div>

[quote=“Kevin.Herron”]When you provision a new VM part of the configuration is how many cpus, how many cores per cpu, and how much memory is allocated to that VM instance.[/quote][quote=“Bassafish”]I have to go through the Corporate IT group the get the requested details.[/quote]@Bassafish I believe you can get some of this information yourself by going to Control Panel \> System and Security \> System, (or right-clicking Computer \> Properties). I’m able to determine the amount of memory and processors allocated to a virtual machine I have by glancing at the information listed under System heading.

EDIT: Oops, sorry … just noticed your clarification.[quote=“Bassafish”]The Vm Machine has quad cores assigned and 8 gig of ram. I am trying to get info on the host and how many Vm are running on it.[/quote]  
 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/8/813d776cfadae3178cd3d2780bac0a8618347562.png)

[Next page](https://forum.inductiveautomation.com/t/gateway-connection-lost-frequently-ignition-becomes-usuable/4623.md?page=2)
