首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在uaexpert中查看新增的open62541参数?

如何在uaexpert中查看新增的open62541参数?
EN

Stack Overflow用户
提问于 2020-09-16 04:40:41
回答 1查看 163关注 0票数 0

我之所以在这里发布这篇文章,是因为我确信这不是一个bug,这只是我的测试配置没有正确设置,但我不能指出我做错了什么。

我安装了单个文件版本:https://open62541.org/releases/

以及open62541的构建环境,然后构建并运行本教程:https://github.com/open62541/open62541/blob/master/examples/tutorial_server_variable.c

使用以下命令:

代码语言:javascript
复制
gcc -std=c99 open62541.c myServerTuturial.c -o myServerTuturial
./myServerTuturial

但是,当我使用匿名登录与UA专家联系时,我无法看到每个示例中添加的任何变量。我确实看到并且能够订阅一些默认的服务器参数。非常感谢能解释为什么我看不到变量的人。我相信它们应该出现在左窗格导航器中的"Objects“文件夹下。

ua expert版本为1.4.4 275

以下是服务器的控制台输出:

代码语言:javascript
复制
[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
EN

回答 1

Stack Overflow用户

发布于 2020-09-17 17:39:14

您是否确定已连接到正确的服务器应用程序?

当我开始上面提到的例子时,我得到了预期的结果。请看下面的截图。

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/63909567

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档