# OPC-UA switching between "Connecting" and "Idle"

**URL:** <https://forum.inductiveautomation.com/t/opc-ua-switching-between-connecting-and-idle/16289>\
**Category:** Ignition\
**Tags:** ignition79\
**Created:** [December 11, 2017, 6:49pm UTC](https://forum.inductiveautomation.com/t/opc-ua-switching-between-connecting-and-idle/16289 "2017-12-11T18:49:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stuart](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@Stuart](https://forum.inductiveautomation.com/u/Stuart)\
**Post date:** [December 11, 2017, 6:49pm UTC](https://forum.inductiveautomation.com/t/opc-ua-switching-between-connecting-and-idle/16289/1 "2017-12-11T18:49:15Z")

</div>

I have an Allen-Bradley PLC that I’ve set up as an OPC-UA Server. When looking at the Gateway under Configure -\> OPC-UA -\> Devices, I see my device listed, but its Status is constantly changing between “Connecting” and “Idle”.

Why is this? Does this indicate the connection is being dropped and then instantly reestablished?

---

<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:** [December 11, 2017, 6:51pm UTC](https://forum.inductiveautomation.com/t/opc-ua-switching-between-connecting-and-idle/16289/2 "2017-12-11T18:51:56Z")

</div>

Your title says “Connected”, but your post says “Connecting”.

If the latter is true, it’s likely not being established at all.

---

<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:** [December 11, 2017, 6:52pm UTC](https://forum.inductiveautomation.com/t/opc-ua-switching-between-connecting-and-idle/16289/3 "2017-12-11T18:52:10Z")

</div>

What version is the PLC’s firmware? And which driver are you using? (This is typical behavior when either of the legacy drivers is used with a new(er) processor.) Note that the very latest Logix v20 firmware has adopted the security restrictions of v21+.

---

<div class="post-metadata">

**Author:** ![Stuart](https://avatars.discourse-cdn.com/v4/letter/s/cab0a1/32.png) [@Stuart](https://forum.inductiveautomation.com/u/Stuart)\
**Post date:** [December 11, 2017, 6:57pm UTC](https://forum.inductiveautomation.com/t/opc-ua-switching-between-connecting-and-idle/16289/4 "2017-12-11T18:57:01Z")

</div>

Thanks. My title was incorrect, it should have said “Connecting.” You are also corrrect that the connection was not being established at all! Of course the error was my own - when I moved the gateway I forgot to update the IP address… oops.

---

<div class="post-metadata">

**Author:** ![GregBlain](https://avatars.discourse-cdn.com/v4/letter/g/6a8cbe/32.png) [@GregBlain](https://forum.inductiveautomation.com/u/GregBlain)\
**Post date:** [January 29, 2020, 3:59am UTC](https://forum.inductiveautomation.com/t/opc-ua-switching-between-connecting-and-idle/16289/5 "2020-01-29T03:59:08Z")

</div>

A note for those Ignition Gateways hosted on Servers with DNS. If you had a power outage or another restart event. Check to make sure the Server IP did not change from Static IP to DHCP and another IP.

If the Server IP no longer matches the IP setting in the Gateway \> OPC-UA Server \> Setting \> Server – Endpoint Address. Then device connections will exabit this behavior along with their tags having poor connections. Otherwise the Gateway and projects will mostly behave as normal.
