Professional OPC
Development Tools

logos

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.

Reconnections attempts stops

More
07 Aug 2020 17:13 #8724 by support
Hello,
the extended tracing will produce even more data than the LogEntry. But having that, reproduced in the lab, with limited number of devices would be great.

Best regards

Please Log in or Create an account to join the conversation.

More
07 Aug 2020 14:56 #8721 by sjscheider
We do not have the EasyUAClient.LogEntry event handler enabled. When we did, the amount of data was just too large to log when we were connected to 250+ devices. If I can duplicate in out lab, I'll enable it when connected to only 3 or 4 devices.

I'll also looking into enabling extended tracing.

Thanks,
Scott

Please Log in or Create an account to join the conversation.

More
07 Aug 2020 09:14 #8720 by support
Hello,
I have no immediate suggestion or ideas, but there are way to investigate deeper. The settings you are using are OK.

Do you have event handler attached to the (static) EasyUAClient.LogEntry event? We would be interested in seeing the generated data - (ideally, covering the time when the reconnection attempts are still being made, and also when they have stopped). Even better would be to enable extended tracing and get the data from that (in that case, the events from the LogEntry are are already included). See kb.opclabs.com/QuickOPC:_How_to_enable_extended_tracing ; the switches listed in the example would be generally the right ones to use.

Best regards

Please Log in or Create an account to join the conversation.

More
05 Aug 2020 22:05 #8710 by sjscheider
Over the last 2 weeks, we've had a customer report what appears to be the same issue. A device was connected and running for weeks and then the device was shutdown for maintenance and was unavailable for multiple days. When the device was placed back online, the connection was not reestablished. In both cases, the customer didn't report the issue until the device didn't reconnect for over a day.

In one case we restarted the app and the app had no issue connecting to the device in question.

In the other case, we disabled the device in the app which causes the app to unsubscribe to the nodes on the device. Then we enabled the device in the app and the app subscribed again to the nodes, the app had zero issues communicating with the app.

Do you have any idea what could be causing this issue? We are running version 5.58.192.

The app has a log message in the ServerConditionChanged event handler and we can see the app trying to reconnect every 25 seconds and then it just stops, indicating the event stopped firing. No errors in the logs.

These are the only settings we have different than the defaults.
            EasyUAClient.AdaptableParameters.SessionParameters.ServerShutdownRetrialDelay = 30000; // default is 10000
            EasyUAClient.AdaptableParameters.SessionParameters.StatusSubscriptionSamplingInterval = 45000; // default is 15000
            EasyUAClient.AdaptableParameters.SubscriptionParameters.PublishStatusChangedQueueLimit = 1000; // default is 100
            EasyUAClient.AdaptableParameters.SessionParameters.PendingMessagesLimit = 1000; // default is 100

Any thoughts?

Thanks,
Scott

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.059 seconds