How to see added open62541 parameters in uaexpert?

360 views Asked by At

I'm posting this here because I'm convinced this is not a bug an it is just my test configuration that is not properly setup but I'm not able to put a finger on what I'm doing wrong.

I install the single file release: https://open62541.org/releases/

along with the build environment for open62541 and then build and run this tutorial: https://github.com/open62541/open62541/blob/master/examples/tutorial_server_variable.c

Using these commands:

gcc -std=c99 open62541.c myServerTuturial.c -o myServerTuturial
./myServerTuturial

But when I connect with UA expert with the anonymous login I'm not able to see any of the added variables per the example. I do see and am able to subscribe to several of the default server parameters. Greatly appreciate anyone that can explain why I'm not seeing the variables. I believe they should appear under the "Objects" folder in the left pane navigator. ua expert screenshot ua expert is version 1.4.4 275

Here is the server's console output:

[2020-09-15 13:14:03.091 (UTC-0700)] warn/server    AccessControl: Unconfigured 
AccessControl. Users have all permissions.
[2020-09-15 13:14:03.091 (UTC-0700)] info/server    AccessControl: Anonymous login is enabled
[2020-09-15 13:14:03.091 (UTC-0700)] warn/server    Username/Password configured, but no encrypting SecurityPolicy. This can leak credentials on the network.
[2020-09-15 13:14:03.091 (UTC-0700)] warn/userland  AcceptAll Certificate Verification. Any remote certificate will be accepted.
Writing a string returned statuscode BadNodeIdUnknown
[2020-09-15 13:14:03.091 (UTC-0700)] info/network   TCP network layer listening on opc.tcp://jchan-Z170N:4840/
[2020-09-15 13:14:03.328 (UTC-0700)] info/network   Connection 5 | New connection over TCP from 127.0.0.1
[2020-09-15 13:14:03.328 (UTC-0700)] info/channel   Connection 5 | SecureChannel 1 | SecureChannel opened with SecurityPolicy http://opcfoundation.org/UA/SecurityPolicy#None and a revised lifetime of 600.00s
[2020-09-15 13:14:03.329 (UTC-0700)] warn/channel   Connection 5 | SecureChannel 1 | ActivateSession: Session not found
[2020-09-15 13:14:03.330 (UTC-0700)] info/channel   Connection 5 | SecureChannel 1 | Session 6378a196-2473-375e-ed2e-0250fdff8f98 created
[2020-09-15 13:14:03.346 (UTC-0700)] info/session   SecureChannel 1 | Session ns=1;g=6378a196-2473-375e-ed2e-0250fdff8f98 | Subscription 1 | Created the Subscription with a publishing interval of 500.00 ms
[2020-09-15 13:21:33.338 (UTC-0700)] info/channel   Connection 5 | SecureChannel 1 | SecureChannel renewed with a revised lifetime of 600.00s
[2020-09-15 13:29:03.344 (UTC-0700)] info/channel   Connection 5 | SecureChannel 1 | SecureChannel renewed with a revised lifetime of 600.00s
1

There are 1 answers

4
Frank Meerkötter On

Are you certain that you are connected to the right server application?

When I start the example mentioned I get the expected result. See the screenshot below.

enter image description here