

12:51, EEST

May 9, 2022

Hi Team,
We are using an embedded imx board from NXP having the below OS details :
root@imx8mmevk-1:/root/iotms/4.5.6/sampleconsoleserver# cat /etc/os-release
ID=”fsl-imx-xwayland”
NAME=”NXP i.MX Release Distro”
VERSION=”5.4-zeus (zeus)”
VERSION_ID=”5.4-zeus”
PRETTY_NAME=”NXP i.MX Release Distro 5.4-zeus (zeus)”
I am trying to run Prosys sample OPC UA server from java kit ‘prosys-opc-ua-sdk-for-java-4.5.6-1429-client-server-pubsub-source’. & facing below exception before connection.
SLF4J: See http://www.slf4j.org/codes.htm…..ggerBinder for further details.
Exception in thread “main” java.lang.IllegalArgumentException: Invalid URL
at com.prosysopc.ua.stack.utils.EndpointUtil.toSocketAddresses(SourceFile:847)
at com.prosysopc.ua.stack.utils.EndpointUtil.toSocketAddresses(SourceFile:761)
at com.prosysopc.ua.stack.application.Server.bind(SourceFile:221)
at com.prosysopc.ua.server.UaServer.i(SourceFile:2155)
at com.prosysopc.ua.server.UaServer.eH(SourceFile:2182)
at com.prosysopc.ua.server.UaServer.start(SourceFile:2060)
at com.prosysopc.ua.samples.server.SampleConsoleServer.run(SampleConsoleServer.java:846)
at com.prosysopc.ua.samples.server.SampleConsoleServer.main(SampleConsoleServer.java:269)
Caused by: java.net.URISyntaxException: Illegal character in scope id at index 46: opc.tcp://[fe80:0:0:0:42:19ff:febf:e03e%docker_gwbridge]:52520
at java.net.URI$Parser.fail(Unknown Source)
at java.net.URI$Parser.checkChars(Unknown Source)
at java.net.URI$Parser.parseServer(Unknown Source)
at java.net.URI$Parser.parseAuthority(Unknown Source)
at java.net.URI$Parser.parseHierarchical(Unknown Source)
at java.net.URI$Parser.parse(Unknown Source)
at java.net.URI.(Unknown Source)
at com.prosysopc.ua.stack.utils.EndpointUtil.toSocketAddresses(SourceFile:781)
… 7 more
Could any one of you please help us to fix this as soon as possible?
Thanks
1 Guest(s)
