Subscriptions not resuming after server restart , only read requests seen on NodeId i=2259 #1630
ravi-kothapally
started this conversation in
General
Replies: 1 comment
-
|
You need to implement When the client reconnects and fails to transfer the existing subscriptions this callback is invoked and you must create them again. Milo will never create subscriptions or monitored items for you; only attempt to recover them upon reconnecting, either by resuming the previous session (only in 1.0), or if that fails by creating a new session and trying to transfer them (both 0.6.x and 1.0). In your case it's destined to fail because you restarted the server and all the state is gone, so you'll get the callback. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I’m using Eclipse Milo SDK version 0.6.15 and have implemented subscription to a few nodes.

Initially, I can see Publish requests reaching the server and data change notifications working fine.
However, after I restart the server, my client reconnects successfully, but I only see Read requests on
and no further Publish requests or subscription updates.
Could someone help me understand why the subscriptions are not resuming after the reconnect?
Do I need to explicitly recreate the subscriptions and monitored items after the server restarts,
or should Milo handle this automatically?
Beta Was this translation helpful? Give feedback.
All reactions