Connection freeze|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Connection freeze
Avatar
Ilya K
New Member
Members
Forum Posts: 1
Member Since:
03/25/2020
sp_UserOfflineSmall Offline
1
01/07/2021 - 08:29
sp_Permalink sp_Print sp_EditHistory

Hello,

We have developed an OPC UA client using .NET Standard UA SDK running on Win10 Pro. It connects to an OPC server, subscribes to nodes changes and starts to monitor them.

At one installation we have a really weird problem. The OPC server has to be turned off every night for about an hour. After being online again, no values are coming into our app. In the same time, the connection to server runs without any errors. Even more, if we restart the connection, meaning close an existing session and create a new one, it doesn't start to work.

We have added a polling mode instead of using subscriptions and it didn't help. Only the restart of our app helps.

It seems that all sessions within a single process are freezing somehow without any error after loosing a connection to an offline server.

Meanwhile we tried to reproduce this with simulation OPC servers (one from UA SDK sample and UaCpp from Unified Automation) running on the same PC as our app, and it always worked as expected.

Any ideas?

Avatar
Randy Armstrong
Admin
Forum Posts: 1451
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
01/07/2021 - 11:12
sp_Permalink sp_Print

I suspect that the thread pool is getting exhausted. You need to examine the callback logic in your application and see if error notifications are tying up a thread when they should not be.

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 30
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1351
Posts: 4580