12:02, EET
January 7, 2019
Hello to everybody,
for several month we have a strange problem with the OPC UA Client SDK. Sometimes (not always) requested subscriptions are not transfered from the server to the client. To get more information about the problem, we started logging the network traffic between client and server with WireShark.
The observation shows, that in case of not working subscriptions the PublishRequest packages were not send from the client to the server.
Restarting the client helps.
Is there any idea, whats the reason for it?
Our test case:
1. Create a MonitoredDataItem with MonitoringMode: Reporting
2. Create a Subscription with a publishing interval of 5000ms
3. Add the data item to the subscription
4. Add the subscription to the UAClient
5. UAClient.connect()
You can also take a look in our WireShark observations. They are downloadable with the following links:
WireShark-Log with working subscriptions:
https://superus-my.sharepoint.com/:u:/g/personal/j_fischer_superus_de/ETR7yFWDSVNEoShtf7VtCacBSZDt8oC4sirLkIhqwxFPIw?e=icTHYW
WireShark-Log without PublishRequests (subscriptions not working):
https://superus-my.sharepoint.com/:u:/g/personal/j_fischer_superus_de/EeYAVupRrEZIq6Kjm7b-LokBLZ64_i4pRuIV04lCplW41g?e=1fcN1k
To reduce the high amount of logged data you can set a filter in WireShark with the following restrictions:
” opcua and ip.addr == 172.22.18.102 “
(172.22.18.102 is the IP Address of the OPC client, 172.17.20.5 is the OPC server)
Thanks for your help!
Most Users Ever Online: 1919
Currently Online:
11 Guest(s)
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 88
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 737
Moderators: 7
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1524
Posts: 6450
Newest Members:
fannielima, kristiewinkle8, rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger, howardkennerleyModerators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0
Administrators: admin: 1