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
SampleConsoleClient cannot connect to Ignition OPC UA Server
August 29, 2012
7:50, EEST
Avatar
M.Zerwes
Member
Members
Forum Posts: 5
Member Since:
May 26, 2012
sp_UserOfflineSmall Offline

Hello,
I tried to connect to Ignition OPC UA Server (which works with UAExpert) but SampleConsoleClient fails to connect:

opc.tcp://192.168.169.13:4096/
Connecting to opc.tcp://192.168.169.13:4096/
* Prosys OPC UA Java SDK v1.3.4.4616
* (c) Prosys PMS Ltd.

* Running in EVALUATION mode
* Connections will close after 120 minutes

08/29/2012 09:33:50.629 INFO Reading application certificate from C:\Comm\samples\PKI\CA\private\SampleConsoleClient.der
08/29/2012 09:33:50.783 INFO Reading private key from keystore C:\Comm\samples\PKI\CA\private\SampleConsoleClient.pem
Using SecurityMode[http://opcfoundation.org/UA/SecurityPolicy#None,None]
08/29/2012 09:33:53.199 WARN Using an alternate endpoint URL ‘opc.tcp://192.168.169.13:4096/iaopcua/None’ instead of the requested ‘opc.tcp://192.168.169.13:4096/’
Exception in thread “TcpConnection/Read” java.lang.IllegalArgumentException: object argument must not be null
at org.opcfoundation.ua.builtintypes.ExtensionObject.(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getExtensionObject(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getScalarObject(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getVariant(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getDataValue(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getDataValueArray(Unknown Source)
at org.opcfoundation.ua.core.EncodeableSerializer$120.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.utils.AbstractSerializer.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.utils.SerializerComposition.getEncodeable(Unknown Source)
at org.opcfoundation.ua.encoding.binary.BinaryDecoder.getMessage(Unknown Source)
at org.opcfoundation.ua.transport.tcp.io.TcpConnection$ReadThread.run(Unknown Source)
ServerStatus: null

*** Connected to: opc.tcp://192.168.169.13:4096/

These messages keep repeating until i quit the terminal.
Do you have an idea what could be wrong? I really need this connection to be working.

Kind regards,
M.Zerwes

August 29, 2012
8:13, EEST
Avatar
Jouni Aro
Moderator
Moderators
Forum Posts: 1010
Member Since:
December 21, 2011
sp_UserOfflineSmall Offline

The server seems to be sending invalid data. You need to connect Ignition about this.

August 29, 2012
9:36, EEST
Avatar
M.Zerwes
Member
Members
Forum Posts: 5
Member Since:
May 26, 2012
sp_UserOfflineSmall Offline

Hello Jouni,

thank you for the clear statement.
I’m happy I already got this fixed by installing the latest version of Ignition.

Kind regards,
M.Zerwes

March 9, 2015
17:22, EET
Avatar
bigschottkyd
New Member
Members
Forum Posts: 2
Member Since:
March 2, 2015
sp_UserOfflineSmall Offline

Zerwes,
Would you mind explaining how you connected to the Ignition OPC-UA
I’m trying to do the same thing for my Android Client to connect to that Gateway.

Forum Timezone: Europe/Helsinki

Most Users Ever Online: 518

Currently Online:
21 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

hbrackel: 135

pramanj: 86

Francesco Zambon: 81

rocket science: 77

Ibrahim: 76

Sabari: 62

kapsl: 57

gjevremovic: 49

Xavier: 43

fred: 41

Member Stats:

Guest Posters: 0

Members: 682

Moderators: 16

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1467

Posts: 6261

Newest Members:

digitechroshni, LouieWreve, Kickbiche, karrimacvitie5, graciela2073, sagarchau, elviralangwell4, Donnavek, Eddiefauth, DonaldPooma

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

Administrators: admin: 1