# Problem connecting prosys java client SDK to ignition server

**URL:** <https://forum.inductiveautomation.com/t/problem-connecting-prosys-java-client-sdk-to-ignition-server/8167>\
**Category:** General Discussion\
**Created:** [March 18, 2014, 4:34pm UTC](https://forum.inductiveautomation.com/t/problem-connecting-prosys-java-client-sdk-to-ignition-server/8167 "2014-03-18T16:34:44Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![lvboque](https://avatars.discourse-cdn.com/v4/letter/l/9f8e36/32.png) [@lvboque](https://forum.inductiveautomation.com/u/lvboque)\
**Post date:** [March 18, 2014, 4:34pm UTC](https://forum.inductiveautomation.com/t/problem-connecting-prosys-java-client-sdk-to-ignition-server/8167/1 "2014-03-18T16:34:44Z")

</div>

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](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](http://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

---

<div class="post-metadata">

**Author:** ![lvboque](https://avatars.discourse-cdn.com/v4/letter/l/9f8e36/32.png) [@lvboque](https://forum.inductiveautomation.com/u/lvboque)\
**Post date:** [March 18, 2014, 4:42pm UTC](https://forum.inductiveautomation.com/t/problem-connecting-prosys-java-client-sdk-to-ignition-server/8167/2 "2014-03-18T16:42:27Z")

</div>

OK I found a solution …

I just need to configure OPC-UA in admin page [localhost:8088](http://localhost:8088)

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

---

<div class="post-metadata">

**Author:** ![Kevin.Herron](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kevin.herron/32/7259_2.png) [@Kevin.Herron](https://forum.inductiveautomation.com/u/Kevin.Herron)\
**Post date:** [March 18, 2014, 4:50pm UTC](https://forum.inductiveautomation.com/t/problem-connecting-prosys-java-client-sdk-to-ignition-server/8167/3 "2014-03-18T16:50:46Z")

</div>

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

I just need to configure OPC-UA in admin page [localhost:8088](http://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.
