Skip to content
Discussion options

You must be logged in to vote

Yes, the PublishResult arriving after delete_monitored_items is the relevant part here.

In asyncua, unsubscribe(handle) sends DeleteMonitoredItems, checks the result, then removes the local mapping from client handle to SubscriptionItemData. Later, publish_callback() explodes the server notification data. If a queued DataChangeNotification still contains the old ClientHandle and the local mapping has already been removed, _explode_datachange() logs Received a notification for unknown handle and drops that item.

So in the sequence from your log:

  1. client sends DeleteMonitoredItems for server monitored item 112;
  2. server returns StatusCode(value=0) for the delete;
  3. a publish response that was a…

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by iamthebull
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants