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: 1026
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:
12 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

Heikki Tahvanainen: 402

hbrackel: 144

rocket science: 88

pramanj: 86

Francesco Zambon: 83

Ibrahim: 78

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

Member Stats:

Guest Posters: 0

Members: 737

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1524

Posts: 6451

Newest Members:

jonathonmcintyre, fannielima, kristiewinkle8, rust, christamcdowall, redaahern07571, nigelbdhmp, travistimmons, AnnelCib, dalenegettinger

Moderators: Jouni Aro: 1026, Pyry: 1, Petri: 0, Bjarne Boström: 1026, Jimmy Ni: 26, Matti Siponen: 346, Lusetti: 0

Administrators: admin: 1