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

Make TransferSubscriptionsOnReconnect configurable (via publishednodes.json) #2205

Closed
steffenbeermann opened this issue Apr 5, 2024 · 5 comments
Labels
feature request New feature or request
Milestone

Comments

@steffenbeermann
Copy link

steffenbeermann commented Apr 5, 2024

Is your feature request related to a problem? Please describe.
We recently changed to 2.9 version of the opc publisher and since than we had a problem with one of our connection to one OPC UA Server. After some investigation we found that the OPC UA Server does not support the TransferSubscriptionsRequest and crashes when the OPC Publisher sends this request. In the OPC UA Publisher 2.9 you introduces the transfer subscription on reconnect feature.

Describe the solution you'd like
Be able to configure the TransferSubscriptionsOnReconnect for each endpoint in the publishednodes.json. E.G:
"UseTransferSubscriptionsOnReconnect": true,
Describe alternatives you've considered
For now we need to deploy the OPC Publisher in Version 2.8 for this one OPC UA Server.

Additional context

@marcschier marcschier added the feature request New feature or request label Apr 7, 2024
@marcschier marcschier added this to the 2.9.6 milestone Apr 7, 2024
@marcschier
Copy link
Collaborator

That should be easy to add. We would opt for "DisableTransferSubscriptions": true, if that is ok. We would like to keep this on by default. Either it should be failing and then we fall back, or it works. It should not crash the server, so best to also talk to the server vendor in the meantime.

@steffenbeermann
Copy link
Author

steffenbeermann commented Apr 8, 2024

Thank you for your reply! "DisableTransferSubscriptions" would be completely fine for us. We are in contact with the supplier of the OPC Server but atm they only offer a small subset of OPC Services in their client and we could troubleshoot it down to the TransferSubscriptionRequest. But we are not sure if they can or will implement it.

@marcschier
Copy link
Collaborator

New option "dtr|disabletransferonreconnect" or "DisableSubscriptionTransfer": true in published nodes configuration.

@steffenbeermann
Copy link
Author

Thank you very much for the quick implementation. We already rolled it out and it seems to have solved our problem!

@marcschier marcschier modified the milestones: 2.9.9, 2.9.8 Jun 3, 2024
@marcschier
Copy link
Collaborator

Also in 2.9.8, just released to MCR.

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

No branches or pull requests

2 participants