locka99 / opcua

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

Potential Issue with Tutorials (Client and Server) #121

Open sysarcher opened 3 years ago

sysarcher commented 3 years ago

Hey @locka99 ... many thanks for the great project.

Client

I'm new to this project (and OPC-UA in general) but I think there may be a potential issue in the client tutorial... With the servers provided in the repo, stuff seems to work as-expected. But if I set up a Python server (example here), I need to add .session_timeout() to the ClientBuilder::new() arguments. Otherwise, I get a "Connection Refused" error.

After adding the .session_timeout() however, I am still unable to subscribe to variables as given in the example code. I might be doing something wrong though :/

Server

Setting up a simple server works well and the simple-client is able to talk to it. But if I use a tool like opcua-commander I'm unable to connect. Again, the fault may very well be on my end.

Thanks in advance for the help.

locka99 commented 3 years ago

I'll leave this open until I have a chance to look but generally endpoints, ports and security profiles are the main source of connectivity issues