Avatar

Please consider registering
guest

sp_LogInOut Log In sp_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 RSS sp_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: 1009
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: 518

Currently Online:
19 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 75

ibrahim: 75

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 708

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1465

Posts: 6252

Newest Members:

christi10l, ahamad1, Flores Frederick, ellenmoss, harriettscherer, shanonhumphreys, KupimotoblokfuB, tamhollander5, paulinafcf, bridgette18l

Moderators: Jouni Aro: 1009, Otso Palonen: 32, Tuomas Hiltunen: 5, Pyry: 1, Petri: 0, Bjarne Boström: 982, Heikki Tahvanainen: 402, Jukka Asikainen: 1, moldzh08: 0, Jimmy Ni: 26, Teppo Uimonen: 21, Markus Johansson: 42, Niklas Nurminen: 0, Matti Siponen: 319, Lusetti: 0, Ari-Pekka Soikkeli: 5

Administrators: admin: 1