locka99 / opcua

A client and server implementation of the OPC UA specification written in Rust
Mozilla Public License 2.0
475 stars 128 forks source link

simple-client sample seems broken #324

Open cjjb01 opened 2 months ago

cjjb01 commented 2 months ago

As the simple-server sample only publishes v1 and v2, the client is subscribed to v1,v2,v3,v4 and does not receive updates for v3,v4 and does nothing after the first update. After changing the client to only subscribe to v1,v2 it behaves as expected and receives updates from the server.

AiyionPrime commented 23 hours ago

Hey @cjjb01; I just git bisected your problem, as I did not encounter it in 0.12.0. It appears the first commit introducing the bad behaviour is eab4caabab7b9bff4f23d5a35cfbc95c4327dc47, which was merged in #317.

@einarmo Can you reproduce the problem with your machine as well? Or is this unrelated to your (merged) PR?

einarmo commented 22 hours ago

I think I noticed this at one point and found it only happens with this server SDK, so I wonder if it's a change in the client exposing a bug in the server, or it may be a bug in the client. I'll look into it when I find some time.