# Ignition did not publish acknowledgement for opc subscription

**URL:** <https://forum.inductiveautomation.com/t/ignition-did-not-publish-acknowledgement-for-opc-subscription/55275>\
**Category:** Ignition\
**Created:** [January 21, 2022, 9:57pm UTC](https://forum.inductiveautomation.com/t/ignition-did-not-publish-acknowledgement-for-opc-subscription/55275 "2022-01-21T21:57:54Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sam\_Lyu](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@Sam\_Lyu](https://forum.inductiveautomation.com/u/Sam_Lyu)\
**Post date:** [January 21, 2022, 9:57pm UTC](https://forum.inductiveautomation.com/t/ignition-did-not-publish-acknowledgement-for-opc-subscription/55275/1 "2022-01-21T21:57:54Z")

</div>

For our application we have a opcua server written with [asyncua](https://github.com/FreeOpcUa/opcua-asyncio). The ignition server is subscribing to a heart beat tag which updated by the asyncua server every second.

On the opcua side, I found that there is one subscription missing acknowledgement. The wireshark shows that subscriptionID 128 is missing acknowledgement.

 ![request_128](https://us1.discourse-cdn.com/inductiveautomation/original/3X/f/e/fe6ba74192067c691c96b5b56b12f5c96ec26282.png)  
 ![response_128](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/1/81028dcc18c4fb22c0b669a2e7206cf490afec79.png)  
 ![request_129](https://us1.discourse-cdn.com/inductiveautomation/original/3X/b/5/b52b83e611e2ec99c23a4a609be601f21f92b69a.png)

However if I change the tag’s subscription mode from subscribed to polled and back to subscribed. The asyncua server started to receive proper acknowledgement. Below is the output from asyncua.

```auto
[asyncua.server.subscription_service][INFO] 2022-01-18 17:22:32,215: publish request with acks [SubscriptionAcknowledgement(SubscriptionId=128, SequenceNumber=859)]
[asyncua.server.subscription_service][INFO] 2022-01-18 17:22:32,215: publish request with acks [SubscriptionAcknowledgement(SubscriptionId=129, SequenceNumber=14647)]
[asyncua.server.subscription_service][INFO] 2022-01-18 17:22:33,220: publish request with acks [SubscriptionAcknowledgement(SubscriptionId=128, SequenceNumber=860)]
[asyncua.server.subscription_service][INFO] 2022-01-18 17:22:33,221: publish request with acks [SubscriptionAcknowledgement(SubscriptionId=129, SequenceNumber=14648)]
[asyncua.server.subscription_service][INFO] 2022-01-18 17:22:34,226: publish request with acks [SubscriptionAcknowledgement(SubscriptionId=128, SequenceNumber=861)]
[asyncua.server.subscription_service][INFO] 2022-01-18 17:22:34,227: publish request with acks [SubscriptionAcknowledgement(SubscriptionId=129, SequenceNumber=14649)]
[asyncua.server.subscription_service][INFO] 2022-01-18 17:22:35,232: publish request with acks [SubscriptionAcknowledgement(SubscriptionId=128, SequenceNumber=862)]
[asyncua.server.subscription_service][INFO] 2022-01-18 17:22:35,233: publish request with acks [SubscriptionAcknowledgement(SubscriptionId=129, SequenceNumber=14650)]
[asyncua.server.subscription_service][INFO] 2022-01-18 17:22:36,239: publish request with acks [SubscriptionAcknowledgement(SubscriptionId=128, SequenceNumber=863)]
[asyncua.server.subscription_service][INFO] 2022-01-18 17:22:36,240: publish request with acks [SubscriptionAcknowledgement(SubscriptionId=129, SequenceNumber=14651)]
[asyncua.server.subscription_service][INFO] 2022-01-18 17:22:37,243: publish request with acks [SubscriptionAcknowledgement(SubscriptionId=128, SequenceNumber=864)]
[asyncua.server.subscription_service][INFO] 2022-01-18 17:22:37,244: publish request with acks [SubscriptionAcknowledgement(SubscriptionId=129, SequenceNumber=14652)]
[asyncua.server.subscription_service][INFO] 2022-01-18 17:22:38,250: publish request with acks [SubscriptionAcknowledgement(SubscriptionId=128, SequenceNumber=865)]
[asyncua.server.subscription_service][INFO] 2022-01-18 17:22:38,252: publish request with acks [SubscriptionAcknowledgement(SubscriptionId=129, SequenceNumber=14653)]

```

Can I get some help on this issue. What could be the reason that ignition server has the tag updated but not sending acknowledgements.

---

<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:** [January 21, 2022, 10:01pm UTC](https://forum.inductiveautomation.com/t/ignition-did-not-publish-acknowledgement-for-opc-subscription/55275/2 "2022-01-21T22:01:20Z")

</div>

What version of Ignition are you using and is Ignition acting as client or server? You referred to them both as server in your post.

Please upload the captures as well so I don’t have to look at screenshots.

---

<div class="post-metadata">

**Author:** ![Sam\_Lyu](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@Sam\_Lyu](https://forum.inductiveautomation.com/u/Sam_Lyu)\
**Post date:** [January 21, 2022, 10:11pm UTC](https://forum.inductiveautomation.com/t/ignition-did-not-publish-acknowledgement-for-opc-subscription/55275/3 "2022-01-21T22:11:06Z")

</div>

Thanks Kevin, to answer your question, I am using ignition as a client for this case. The ignition we are using have version:8.0.9

It would not let me upload the attachment because I am a new user so I attached a google drive [link](https://drive.google.com/file/d/1BsC22TEo5eosuO51PACItqgMyo61riKJ/view?usp=sharing).

---

<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:** [January 21, 2022, 10:26pm UTC](https://forum.inductiveautomation.com/t/ignition-did-not-publish-acknowledgement-for-opc-subscription/55275/4 "2022-01-21T22:26:54Z")

</div>

I’m not sure I understand or see the issue you’re describing.

In the capture you provided all of the PublishResponse messages for SubscriptionId=128 are keep alives (empty notification data). There’s no reason to expect an acknowledge for these.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/e/4/e46b238ac4a062a153833703bda34798f96ce275.png)

---

<div class="post-metadata">

**Author:** ![Sam\_Lyu](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@Sam\_Lyu](https://forum.inductiveautomation.com/u/Sam_Lyu)\
**Post date:** [January 24, 2022, 2:56pm UTC](https://forum.inductiveautomation.com/t/ignition-did-not-publish-acknowledgement-for-opc-subscription/55275/5 "2022-01-24T14:56:54Z")

</div>

Thanks Kevin, but with the same configuration on the ignition after I change the tag’s subscription mode from subscribed to polled and back to subscribed. I have received request with acknowledgement and non empty notification data. I have attached another [dump](https://drive.google.com/file/d/1gr0dQ41eLj_6TURaQh_8zmgft9MWwwiN/view?usp=sharing) for you to compare. Do you know what could cause the difference here?

---

<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:** [January 24, 2022, 3:08pm UTC](https://forum.inductiveautomation.com/t/ignition-did-not-publish-acknowledgement-for-opc-subscription/55275/6 "2022-01-24T15:08:01Z")

</div>

Sounds like your server stopped sending change notifications until you forced a new subscription to be made.

---

<div class="post-metadata">

**Author:** ![Sam\_Lyu](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@Sam\_Lyu](https://forum.inductiveautomation.com/u/Sam_Lyu)\
**Post date:** [January 24, 2022, 3:58pm UTC](https://forum.inductiveautomation.com/t/ignition-did-not-publish-acknowledgement-for-opc-subscription/55275/7 "2022-01-24T15:58:27Z")

</div>

Thanks Kevin for your valuable feedback. I would ask another question in order to investigate issue on my server side. Is it possible to find the corresponding node (tag on ignition) given the subscription ID?

---

<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:** [January 24, 2022, 4:02pm UTC](https://forum.inductiveautomation.com/t/ignition-did-not-publish-acknowledgement-for-opc-subscription/55275/8 "2022-01-24T16:02:56Z")

</div>

Not directly, it’s really the monitored item(s) in a subscription that correspond to a tag in Ignition. The subscriptions correspond to a Tag Group with tags belonging to that server in Ignition.

I think if you look at the client-side OPC diagnostics in the Ignition gateway you can see the subscriptions and tags belonging to those subscriptions, though. It looks like you only have 2 subscriptions and possibly only 1 tag in this one…

Another thing that may help is to do a long-running Wireshark capture into a rolling file buffer. You’ll have get your pre-filtering set up correctly so you don’t end up with another 500mb capture that has \<100 packets of OPC traffic, though. I’d disable the connection, start the capture, then enable the connection and leave the capture going for hours/days/whatever it takes until the tag stops updating or whatever it is you notice.

---

<div class="post-metadata">

**Author:** ![Sam\_Lyu](https://avatars.discourse-cdn.com/v4/letter/s/ba8739/32.png) [@Sam\_Lyu](https://forum.inductiveautomation.com/u/Sam_Lyu)\
**Post date:** [January 24, 2022, 11:05pm UTC](https://forum.inductiveautomation.com/t/ignition-did-not-publish-acknowledgement-for-opc-subscription/55275/9 "2022-01-24T23:05:30Z")

</div>

> [@Kevin.Herron](#):
>
> I think if you look at the client-side OPC diagnostics in the Ignition gateway you can see the subscriptions and tags belonging to those subscriptions, though. It looks like you only have 2 subscriptions and possibly only 1 tag in this one…

Thanks for explaining, I have setup a capture with circular buffer and hope to get more information.

At the same time I found we have two subscription tag groups. There should be more tags are subscribed since there are 400+ nodes under these tag groups. Are those tag groups correspond to the group with subscription id= 128 and group with subscription id=129?

---

<div class="post-metadata">

**Author:** ![salbrechtsen](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/salbrechtsen/32/18660_2.png) [@salbrechtsen](https://forum.inductiveautomation.com/u/salbrechtsen)\
**Post date:** [December 28, 2022, 9:41pm UTC](https://forum.inductiveautomation.com/t/ignition-did-not-publish-acknowledgement-for-opc-subscription/55275/10 "2022-12-28T21:41:48Z")

</div>

Is there any way to get at this info from ignition 7.9.21? We have some subscriptions timing out and leaving subscriptionId values in the gateway logs. I wrote a webdev endpoint that gets the SRContext and the OPCManager but I haven't found a good way to look up the subscription by the Id in the logs yet...
