- Posts: 24
- Thank you received: 0
Online Forums
Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.
Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.
Do not use the Contact page for technical issues.
- Forum
- Discussions
- QuickOPC-UA in .NET
- Reading, Writing, Subscriptions
- Using KEPServerEx Sim Driver && Getting dropped subscriptions
Using KEPServerEx Sim Driver && Getting dropped subscriptions
- Bmello4688
- Topic Author
- Offline
- Elite Member
I am now using all default values. I'll push the sampling interval to 1000 if it is not that high already.
Please Log in or Create an account to join the conversation.
And, good that the Node Id part is resolved.
The "subscriptions stopped" problem is different from the Node Id or such issues - it is an internal OPC UA communication problem that (at least in theory) should never be caused by anything that you do in your app.
In OPC-UA terms, one "subscription" holds and handles multiple monitored items. If the subscription parameters of your monitored items are all the same, QuickOPC will create just one subscription. If this is the case, the subscription Id would be irrelevant to you. If the parameters of the monitored items differ (such as their sampling rates), there will be multiple subscriptions, but I do not think this is the case.
Can you please try to slow down all sampling rates that you use significantly - to 1000 milliseconds or so? I understand that this is not what you want from your project, but I am just trying to determine whether the issue would go away in this scenario.
Best regards
Please Log in or Create an account to join the conversation.
- Bmello4688
- Topic Author
- Offline
- Elite Member
- Posts: 24
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- Bmello4688
- Topic Author
- Offline
- Elite Member
- Posts: 24
- Thank you received: 0
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Bmello4688
- Topic Author
- Offline
- Elite Member
- Posts: 24
- Thank you received: 0
The OPC-UA client session on endpoint URL "opc.tcp://localhost:49320" has encountered a publish error with code 0x80790000 for subscription Id 0 and sequence number 0. The error might be from the Publish or the Republish service. Further publish errors with this code on this session will not be logged.
This looks like a client related error because of the reference to publishing and republishing. Is this just a false positive?
Also is there a way to get more verbose logs out of the client so I could better debug what is happening?
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Bmello4688
- Topic Author
- Offline
- Elite Member
- Posts: 24
- Thank you received: 0
How exactly do subscriptions work between the client and the server? Does the server maintain the subscription list and then notify the client when items have changed or is the client really just polling the server under the covers and raises the monitoritemchanged event when it notices a node change?
Please Log in or Create an account to join the conversation.
To the "The OPC-UA subscription published has stopped." error in the monitor change event: This is the reflection of the entries you have seen in the log file, therefore essentially the same primary issue. Thank you - I just wanted to verify what and how gets reported to your app, because *that error* is the actually the description of the problem you have, and the log entries you posted initially then just serve as an explanation for that problem.
How many monitored items are we talking about, and how often in reality they change? I wonder whether we are not dealing with a load that is over the capabilities of the server, the client, or the connection in between.
Thank you
Please Log in or Create an account to join the conversation.
- Bmello4688
- Topic Author
- Offline
- Elite Member
- Posts: 24
- Thank you received: 0
easyUAClient.SubscribeMonitoredItem("opc.tcp://localhost:49320/",
"nsu=KEPServerEX;ns=2;s=ECOM.RobotOPCModel.Alarms.Barcoder.LabelPickPlaceHeadErrorAlarm",
50);
s changes based on the tag we want to subscribe to.
The exception message we are getting from the monitor change event is:
OPC-UA service result - An error specific to OPC-UA service occurred.
---- SERVICE RESULT ----
StatusCode: {BadNodeIdUnknown} = 0x80340000 (2150891520)
Also:
The OPC-UA subscription published has stopped.
After the client retries the subscriptions they work fine for a little while then the exceptions happen again.
Please Log in or Create an account to join the conversation.
- Forum
- Discussions
- QuickOPC-UA in .NET
- Reading, Writing, Subscriptions
- Using KEPServerEx Sim Driver && Getting dropped subscriptions