nauful / LibUA

Open-source OPC UA client and server library
Apache License 2.0
262 stars 94 forks source link

UaExpert Error: Number of acknowledgement results (0) does not match number of acknowledgements(1) #27

Closed davidguidali closed 4 years ago

davidguidali commented 4 years ago

Hi Thank you very much for your client / server implementations, I like them a lot! I am actually learning OPC-UA, so this may be a basic question. I tried your server and connected with UA Expert (v1.5.1.331). Everything seems to work fine, however I get this error a lot in the logs:

Error: Number of acknowledgement results (0) does not match number of acknowledgements(1)

image

Do you know whats the issue there?

maveyx commented 4 years ago

I also observe this messages with UaExpert

nauful commented 4 years ago

Could you please upload an installer for your version of UaExpert?

I suspect behaviour is different from the previous version(s) now: image

davidguidali commented 4 years ago

Thats the client I'm using, downloaded from unified automation page https://www.unified-automation.com/de/downloads/opc-ua-clients/file/download/details/uaexpert-v144.html

uaexpert-bin-win32-x86-vs2008sp1-v1.5.1-331.zip

nauful commented 4 years ago

Done, added support for subscription acknowledgements and publishing available sequence numbers.

Note that subscription acknowledgements are asynchronous, so you might still see a harmless warning (e.g. sent 0 or 2 when 1 is consistently returned from the server). Available sequence numbers only cover the current published data change or event notification.

davidguidali commented 4 years ago

Cool, thanks very much! :)