Avatar
Please consider registering
guest
sp_LogInOut Log Insp_Registration Register
Register | Lost password?
Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
sp_Feed Topic RSSsp_TopicIcon
OPC UA Server generating invalid URL
May 9, 2022
12:51, EEST
Avatar
milindkaklij
Member
Members
Forum Posts: 7
Member Since:
May 9, 2022
sp_UserOfflineSmall Offline

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

May 9, 2022
14:38, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1029
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

Please, check out the latest SDK. I think we have fixed something in relation to IPV6 recently.

Forum Timezone: Europe/Helsinki
Most Users Ever Online: 1919
Currently Online:
Guest(s) 14
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Heikki Tahvanainen: 402
hbrackel: 144
rocket science: 90
pramanj: 86
Francesco Zambon: 83
Ibrahim: 78
Sabari: 62
kapsl: 57
gjevremovic: 49
Xavier: 43
Member Stats:
Guest Posters: 0
Members: 733
Moderators: 8
Admins: 1
Forum Stats:
Groups: 3
Forums: 15
Topics: 1545
Posts: 6516
Newest Members:
basilpullman, Richardmip, mood edibles, LouieWreve, daniellabdx, janessan21, sammiebeak359, gena7127517, thorstenbouldin, Brett.Rollason
Moderators: Jouni Aro: 1029, Pyry: 1, Petri: 1, Bjarne Boström: 1045, Jimmy Ni: 26, Matti Siponen: 353, Lusetti: 0, Elias: 0
Administrators: admin: 1