# How to connect the prosys OPC UA sever with ignition

**URL:** <https://forum.inductiveautomation.com/t/how-to-connect-the-prosys-opc-ua-sever-with-ignition/4887>\
**Category:** Ignition\
**Created:** [July 26, 2012, 4:35am UTC](https://forum.inductiveautomation.com/t/how-to-connect-the-prosys-opc-ua-sever-with-ignition/4887 "2012-07-26T04:35:01Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![wengzijue](https://avatars.discourse-cdn.com/v4/letter/w/ee59a6/32.png) [@wengzijue](https://forum.inductiveautomation.com/u/wengzijue)\
**Post date:** [July 26, 2012, 4:35am UTC](https://forum.inductiveautomation.com/t/how-to-connect-the-prosys-opc-ua-sever-with-ignition/4887/1 "2012-07-26T04:35:01Z")

</div>

Using prosys example opc ua client (Prosys-OPC-UA-Java-SDK-Client-Server-Evaluation-1.3.0-3321 ignition 7.5.1 )to connect to ignition (OPC UA Severignition 7.5.1 ),but failed .  
and with ignition gateway to connect the prosys OPC UA sever ,but also failed,what is the problem. the configue page and console message is below,what is the problem? thanks.

12:32:28 ConnectionUtil Error getting endpoint response from url “opc.tcp://localhost/UA/SampleServer:51210”.  
12:32:23 ConnectionUtil Error getting endpoint response from url “opc.tcp://localhost/UA/SampleServer:51210”.  
12:32:18 ConnectionUtil Error getting endpoint response from url “opc.tcp://localhost/UA/SampleServer:51210”.  
12:32:16 TCPServerChannel Connection lost due to IOException.  
java.io.IOException: End of stream reached.

 ![](https://us1.discourse-cdn.com/inductiveautomation/original/2X/3/38df065dc3527d9f66cf90c4db3d4387ae3d008e.JPG)

---

<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:** [July 26, 2012, 1:57pm UTC](https://forum.inductiveautomation.com/t/how-to-connect-the-prosys-opc-ua-sever-with-ignition/4887/2 "2012-07-26T13:57:26Z")

</div>

The “Host” field should just be “localhost”.

---

<div class="post-metadata">

**Author:** ![wengzijue](https://avatars.discourse-cdn.com/v4/letter/w/ee59a6/32.png) [@wengzijue](https://forum.inductiveautomation.com/u/wengzijue)\
**Post date:** [July 26, 2012, 3:18pm UTC](https://forum.inductiveautomation.com/t/how-to-connect-the-prosys-opc-ua-sever-with-ignition/4887/3 "2012-07-26T15:18:43Z")

</div>

thanks ,I just input just “localhost” ,there is no console message ,but state is faulted,not Connected

The Server Url is “opc.tcp://localhost:52520/OPCUA/SampleConsoleServer”,but no place to enter the whole url,what is the problem,what can I do?thanks

---

<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:** [July 26, 2012, 3:20pm UTC](https://forum.inductiveautomation.com/t/how-to-connect-the-prosys-opc-ua-sever-with-ignition/4887/4 "2012-07-26T15:20:45Z")

</div>

Looks like you have the wrong port specified. You just said it’s 52520 but you have 51210 configured?

---

<div class="post-metadata">

**Author:** ![wengzijue](https://avatars.discourse-cdn.com/v4/letter/w/ee59a6/32.png) [@wengzijue](https://forum.inductiveautomation.com/u/wengzijue)\
**Post date:** [July 26, 2012, 3:36pm UTC](https://forum.inductiveautomation.com/t/how-to-connect-the-prosys-opc-ua-sever-with-ignition/4887/5 "2012-07-26T15:36:26Z")

</div>

thanks, I entered wrong port , now I has modified it .  
I just input just “localhost” ,there is no console message ,but state is faulted,not Connected

The Server Url is “opc.tcp://localhost:52520/OPCUA/SampleConsoleServer”,but no place to enter the whole url,what is the problem,what can I do?thanks

Last edited by wengzijue on Thu Jul 26, 2012 7:34 am, edited 1 time in total.

---

<div class="post-metadata">

**Author:** ![wengzijue](https://avatars.discourse-cdn.com/v4/letter/w/ee59a6/32.png) [@wengzijue](https://forum.inductiveautomation.com/u/wengzijue)\
**Post date:** [July 26, 2012, 3:44pm UTC](https://forum.inductiveautomation.com/t/how-to-connect-the-prosys-opc-ua-sever-with-ignition/4887/6 "2012-07-26T15:44:41Z")

</div>

there is new console message :  
23:38:32 TCPServerChannel Connection lost due to IOException.  
java.io.IOException: End of stream reached.  
more  
23:35:51 TCPServerChannel Connection lost due to IOException.  
java.io.IOException: End of stream reached.  
more  
23:34:31 TCPServerChannel Connection lost due to IOException.  
java.io.IOException: End of stream reached.

---

<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:** [July 26, 2012, 3:45pm UTC](https://forum.inductiveautomation.com/t/how-to-connect-the-prosys-opc-ua-sever-with-ignition/4887/7 "2012-07-26T15:45:45Z")

</div>

Are there any messages in the console now? Do you have the right security settings configured?

There is no place you would enter the whole “opc.tcp://localhost:52520/OPCUA/SampleConsoleServer”… you just use the hostname and port from that.

---

<div class="post-metadata">

**Author:** ![wengzijue](https://avatars.discourse-cdn.com/v4/letter/w/ee59a6/32.png) [@wengzijue](https://forum.inductiveautomation.com/u/wengzijue)\
**Post date:** [July 26, 2012, 4:01pm UTC](https://forum.inductiveautomation.com/t/how-to-connect-the-prosys-opc-ua-sever-with-ignition/4887/8 "2012-07-26T16:01:59Z")

</div>

there are a lot of same new messages :  
TCPServerChannel Connection lost due to IOException.  
java.io.IOException: End of stream reached.

---

<div class="post-metadata">

**Author:** ![wengzijue](https://avatars.discourse-cdn.com/v4/letter/w/ee59a6/32.png) [@wengzijue](https://forum.inductiveautomation.com/u/wengzijue)\
**Post date:** [July 26, 2012, 4:07pm UTC](https://forum.inductiveautomation.com/t/how-to-connect-the-prosys-opc-ua-sever-with-ignition/4887/9 "2012-07-26T16:07:17Z")

</div>

I think I have the right security settings configured.

---

<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:** [July 26, 2012, 4:12pm UTC](https://forum.inductiveautomation.com/t/how-to-connect-the-prosys-opc-ua-sever-with-ignition/4887/10 "2012-07-26T16:12:42Z")

</div>

I can’t connect to the Prosys server either; they are returning Bad\_ServiceUnsupported when the Ignition client tries to create a session.

You won’t be able to connect to their sample server if this service is not supported.

---

<div class="post-metadata">

**Author:** ![wengzijue](https://avatars.discourse-cdn.com/v4/letter/w/ee59a6/32.png) [@wengzijue](https://forum.inductiveautomation.com/u/wengzijue)\
**Post date:** [July 26, 2012, 4:36pm UTC](https://forum.inductiveautomation.com/t/how-to-connect-the-prosys-opc-ua-sever-with-ignition/4887/11 "2012-07-26T16:36:53Z")

</div>

I hope I can connect the ignition OPC UA server with third party opc client,and connect third part OPC UA Sever with your OPC client,but I failed , Is something wrong with Prosys,How I can do to connect your product with prosys

---

<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:** [July 26, 2012, 4:40pm UTC](https://forum.inductiveautomation.com/t/how-to-connect-the-prosys-opc-ua-sever-with-ignition/4887/12 "2012-07-26T16:40:03Z")

</div>

I answered about connecting to the Ignition UA server using the Prosys client in the other thread. The bottom line is: wait for the next beta/release. I’ve fixed the interop issues in that release.

---

<div class="post-metadata">

**Author:** ![wengzijue](https://avatars.discourse-cdn.com/v4/letter/w/ee59a6/32.png) [@wengzijue](https://forum.inductiveautomation.com/u/wengzijue)\
**Post date:** [July 27, 2012, 7:42am UTC](https://forum.inductiveautomation.com/t/how-to-connect-the-prosys-opc-ua-sever-with-ignition/4887/13 "2012-07-27T07:42:36Z")

</div>

what service is not supported by prosys server which produce Bad\_ServiceUnsupported ?

---

<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:** [August 1, 2012, 4:29pm UTC](https://forum.inductiveautomation.com/t/how-to-connect-the-prosys-opc-ua-sever-with-ignition/4887/14 "2012-08-01T16:29:21Z")

</div>

CreateSession.
