asyncua Client.connect() error - BadSessionNotActivated #1676
Unanswered
ryan-bloom
asked this question in
Q&A
Replies: 0 comments
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.
Uh oh!
There was an error while loading. Please reload this page.
-
When establishing my connection for my client by calling
Client().connect()
the connection will work once in a while but the vast majority of the time I will get this error:asyncua.ua.uaerrors._auto.BadSessionNotActivated: The session cannot be used because ActivateSession has not been called.(BadSessionNotActivated)
I try to call client.disconnect() and then client.connect() again but the same error is thrown. Any thoughts would be greatly appreciated!
NOTE: This discussion is my issue as well https://stackoverflow.com/questions/77329954/python-client-cannot-connect-to-an-codesys-opc-ua-server
UPDATE 7/5/2024: It seems that this issue occurs with opcua-asyncio but does not occur when trying to connect using the deprecated opcua python package here
Beta Was this translation helpful? Give feedback.
All reactions