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: 1026
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: 1919

Currently Online:
18 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: 731

Moderators: 7

Admins: 1

Forum Stats:

Groups: 3

Forums: 15

Topics: 1529

Posts: 6471

Newest Members:

inilarythikibia, rickykennion, PromotionToold, HypromeImpupe, toneylapham544, rondawolinski7, Marypof5711, roycedelargie91, kourtneyquisenbe, ellis87832073466

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

Administrators: admin: 1