Replies: 1 comment 6 replies
-
See https://github.com/FreeOpcUa/opcua-asyncio/blob/master/examples/client-reconnect.py |
Beta Was this translation helpful? Give feedback.
6 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 there,
I need a little help with exception handling.
I just patched from 1.0.2. to 1.0.4 and apperantly the client-watchdog is now working. Yeay! 🥳
Currently I am disconnecting via an unexpected shutdown (aka pausing the vm my OPCUA server is running on to simulate someone pulling the plug) and as expected I get a timeout from the client.
And that is all fine and all, but I am a bit...confused where to put the exception handling for this case.
Should I simply create my own client.py and put it there, or is there a different approach for this?
I am sorry if this is a realy basic question, but I'd like to do this properly 'cause watchdog-timeouts are kind of important :D
Thank you for your time and I hope I didn't mess up the formatting, etiquettte or missed the obvious rtfm 🙏
Beta Was this translation helpful? Give feedback.
All reactions