- Posts: 40
- Thank you received: 2
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
- Subscription stopped firing events
Subscription stopped firing events
- sjscheider
- Topic Author
- Offline
- Platinum Member
Thanks for you efforts on this issue.
Please Log in or Create an account to join the conversation.
I was able to reproduce the issue, and fix it. In fact, it *was* the issue I suspected, the one fixed in 5.54.1151.1. However, due to a mistake in the build procedure, the fix remained in .NET Framework code and was not automatically merged into .NET Core part. This explains why 5.54.1151.1 resolved the customers' issue (they were using .NET Framework), but you were getting the very same problem even with later builds - that's because you are using .NET Core.
Please download and rebuild with 5.54.1296.1. This is now on our Web site and on NuGet.
Thank you for reporting the issue and providing valuable information.
Best regards
Please Log in or Create an account to join the conversation.
I will let you know here when I have an update.
Please Log in or Create an account to join the conversation.
- sjscheider
- Topic Author
- Offline
- Platinum Member
- Posts: 40
- Thank you received: 2
Please Log in or Create an account to join the conversation.
- sjscheider
- Topic Author
- Offline
- Platinum Member
- Posts: 40
- Thank you received: 2
_easyUaClient = new EasyUAClient { Isolated = false, QueueCallbacks = false };
I've only run our app for about 30 minutes, but before I was able to reprocess the issue after only about 10 minutes of inactivity. I'm going to leave it run overnight to see how it performs.
Please Log in or Create an account to join the conversation.
1. Try to reproduce the issue without your tools first. The reason why I haven't done that yet is because (a) I was assembling the necessary information, and also (b) because we have done similar tests and they appeared to work. It needs to be seen whether e.g. NET Core plays a role (most of our testing is done under .NET Framework).
2. If I fail to achieve a repro myself, I will ask you for your tools and we will figure out a way how to deliver them.
Best regards
Please Log in or Create an account to join the conversation.
- sjscheider
- Topic Author
- Offline
- Platinum Member
- Posts: 40
- Thank you received: 2
- We are running using .NET Core, 2.2 under Windows. We have experimented with it under Linux but for our initial release we will be running under Windows 10.
- No part of the system is under heavy load. We are able to duplicate this issue when we are connected to a single device and subscribing to a single node.
- We are able to duplicate the issue all the time. If data change on the device, we have no issue. If data does not change on the device the issue occurs.
- We have a standalone .EXE that you can run (no install needed) that simulates the device the we are connecting to. This is how we are able to run against 100s of devices. We actually have on server PC running 100 copies of the simulator without issues. (I think I customer has even more running on a single PC.) This simulator can run using a few different scripts which mimic how the device works, causing data changes on the device which result in data change events being sent to the client. We are able to duplicate this issue by running no script which results in no data change events occurring. This mimic what we are seeing in the field against a few physical devices that are basically idle. I can send you this app and instructions on how to use if this is something you think is worthwhile.
- We also have a simple .NET Core console app that will communicate to a single device using a single subscription. We can share this as well. We just need a way to share this outside of a public forum.
I will run setting the QueueCallbacks to false and retest later today and let you know what the results are.
Please Log in or Create an account to join the conversation.
Somehow I was under impression that it is known that you are running under .NET Core, but I cannot find an evidence for it in this forum thread. So, are you running your app under .NET Framework, or .NET Core? If it is .NET Core, is it on Windows or Linux?
Thank you
Please Log in or Create an account to join the conversation.
So, it is really critical to use the newer builds. But according to your report, you have them already.
The similarity with this issue is however something that bothers me. It probably is *not* the same thing, because there are important dissimilarities as well (e.g. the fact that it behaves differently in the debugger). In order to test this, can you please set the QueueCallbacks property on your EasyUAClient object(s) to 'false', and re-test? Plan: if it helps, we are dealing with a variant of the old issue. If it does not help, it is something truly different.
--
The fact that there are event entries about publishing stopped/recovered is suspicious, although by itself it should not cause the particular issue (it is a warning; when it escalates to a problem, your code should be notified - so from my point of view, the first issue here would be the absence of the notification, and not the actual "publishing halted" issue). Is any part of the system under heavy load (the server, the network, the client side - CPU etc.?)
--
You described that/how you were able to reproduce the issue in a constrained environment. When you do the same repeatedly, does it *always* happen, or just sometimes?
--
Can you please elaborate on what you mean by "sharing our simulator with you", and the test app? Are you saying you have two pieces of software that we can run here and try to reproduce the issue?
Best regards
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
- Forum
- Discussions
- QuickOPC-UA in .NET
- Reading, Writing, Subscriptions
- Subscription stopped firing events