Problem connecting prosys java client SDK to ignition server

Hello,

I got problem to connect my prosys client to the server … Should I change some permission on the ignition server for this?

Thanks,

~/projects/prosys/Prosys-OPC-UA-Java-SDK-Client-Server-Evaluation-1.4.8-8731/samples$ ./SampleConsoleClient.sh
No server URI defined. (Run with /? to see command line usage)
Would you like to use the default server URI
'opc.tcp://localhost:52520/OPCUA/SampleConsoleServer’?
(Y=Yes, N=No, or just enter a different URI manually)
opc.tcp://10.0.2.15:4096/iaopcua/None
Select the security mode to use.
(n=None,s=Sign,e=SignAndEncrypt)
n
Connecting to opc.tcp://10.0.2.15:4096/iaopcua/none

  • Prosys OPC UA Java SDK v1.4.8-8731

  • © Prosys PMS Ltd. http://www.prosysopc.com

  • Running in EVALUATION mode

  • Connections will close after 119 minutes

03/18/2014 17:29:00.954 INFO Reading application certificate from /home/lvboque/projects/prosys/Prosys-OPC-UA-Java-SDK-Client-Server-Evaluation-1.4.8-8731/samples/PKI/CA/private/SampleConsoleClient.der
03/18/2014 17:29:01.064 INFO Reading private key from keystore /home/lvboque/projects/prosys/Prosys-OPC-UA-Java-SDK-Client-Server-Evaluation-1.4.8-8731/samples/PKI/CA/private/SampleConsoleClient.pem
Using SecurityMode [opcfoundation.org/UA/SecurityPolicy#None,None]
03/18/2014 17:29:02.753 INFO Using an alternate endpoint URL 'opc.tcp://10.0.2.15:4096/iaopcua/none’
03/18/2014 17:29:02.772 INFO Failed to CloseSession: ServiceFault: Bad_SessionNotActivated (0x80270000) “The session cannot be used because ActivateSession has not been called.”
Diagnostic Info:
com.prosysopc.ua.SessionActivationException: Failed to initialize User Identity Token: Bad_IdentityTokenRejected (code=0x80210000, description=“Anonymous UserTokenType is not supported”) ServiceResult=Bad_IdentityTokenRejected (0x80210000) “The user identity token is valid but the server has rejected it.”
Caused by: org.opcfoundation.ua.common.ServiceResultException: Bad_IdentityTokenRejected (code=0x80210000, description=“Anonymous UserTokenType is not supported”)
The server supports the following user tokens:
UserName

*** NOT connected to: opc.tcp://10.0.2.15:4096/iaopcua/none

OK I found a solution …

I just need to configure OPC-UA in admin page localhost:8088

and click on “Allow users to connect whether or not they possess authentication credentials.” as by default this is deactivated …

[quote=“lvboque”]OK I found a solution …

I just need to configure OPC-UA in admin page localhost:8088

and click on “Allow users to connect whether or not they possess authentication credentials.” as by default this is deactivated …[/quote]

Yep, or you can configure the prosys client to send a username and password.