Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I know if the connection is still active? #155

Closed
luisfmelo opened this issue Feb 26, 2020 · 4 comments
Closed

How can I know if the connection is still active? #155

luisfmelo opened this issue Feb 26, 2020 · 4 comments

Comments

@luisfmelo
Copy link
Contributor

Is there a way to know if the connection is still active?

I tried with send_hello but when I send that message, the connection drops after a while. (wondering why)

Is there any way? will make sense to have that functionality?

@oroulet
Copy link
Member

oroulet commented Feb 26, 2020

the safest is to read the attribute value of a node

@chrisjbremner
Copy link
Contributor

See FreeOpcUa/python-opcua#971

@jjdmol
Copy link

jjdmol commented Oct 27, 2021

Note that sending a HELLO message is only allowed during the connection phase:

https://reference.opcfoundation.org/v104/Core/docs/Part6/7.1.3/

@AndreasHeine
Copy link
Member

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants