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

OPC-UA Subscription Stops Receiving Value Changes After ~4 Hours #749

Open
swes24 opened this issue Oct 31, 2024 · 1 comment
Open

OPC-UA Subscription Stops Receiving Value Changes After ~4 Hours #749

swes24 opened this issue Oct 31, 2024 · 1 comment

Comments

@swes24
Copy link

swes24 commented Oct 31, 2024

I’m using Node-RED to read 10 variables from an OPC-UA server with the Subscribe method. These variables are subscribed with a 2-second interval and are configured to output on value change. This setup works as expected initially, but after approximately 4 hours, the subscribed variables stop updating upon value change.

Additional Information:

Alarm events are also being monitored in parallel using the AlarmEvents method, and these continue to function correctly even after the 4-hour mark.
Reading variables using Read or Read Multiple methods still works normally without any issues.

Environment:

Node-RED version: 4.0.5
OPC-UA server: Siemens Sinumerik One
node-red-contrib-opcua: 0.2.337

Steps to Reproduce:

Set up OPC-UA Subscribe method in Node-RED for 10 variables with a 2-second interval.
Wait for approximately 4 hours.

Expected Behavior:
Subscribed variables should continue to update on value change indefinitely.

Actual Behavior:
After ~4 hours, subscribed variables stop updating on value changes.

Questions / Possible Causes:

Is there a known issue with long-running subscriptions in Node-RED OPC-UA?
Are there any recommended configurations to maintain subscription updates over extended periods?

Thank you for any assistance or insights!

31-10-_2024_08-30-06

@nikso-serg
Copy link

A similar problem. I attribute this to problems in the OPC server itself. So far, I have solved the problem by forcibly restarting the OPC client.

image

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

No branches or pull requests

2 participants