Cannot get OPC Server connected to Thingworx
Hi Community,
I`m running out of ideas when trying to connect my OPC UA server to the Thingworx platform..
That`s where I`m at and what I tried:
1. Connect to the Server with UA Expert or Prosys OPC Client >> works fine.
2. Use the OPC Client extension to connect to the Thingworx Platform:
- Create Application Key and test it by changing a property of a thing via URL >> works.
- Create a Thing with RemoteOPCUAEndpoint Template.
- Change the following parameters in the config.json file: host, port, app_key, thing_name, endpoint host, endpoint port.
- Start the ThingWorx_OPC_UA_Client.jar file in the same network: Nothing happens. Note: When monitoring the OPC server on my raspberrypi I can see that the Server activates the session when using OPC UA Expert. When starting the ThingWorx_OPC_UA_Client.jar it also logs an incoming connection but can not activate the session and therefore closes the session.
- Raspberrypi log from connection to UA Expert: [2019-04-11 10:35:26.836 (UTC+0100)] info/network Connection 5 | New connection over TCP from 192.168.0.124
[2019-04-11 10:35:26.840 (UTC+0100)] info/channel Creating a new SecureChannel
[2019-04-11 10:35:26.840 (UTC+0100)] warn/securitypolicy No PKI plugin set. Accepting all certificates
[2019-04-11 10:35:26.840 (UTC+0100)] info/channel Connection 5 | SecureChannel 2 | Opened SecureChannel
[2019-04-11 10:35:27.077 (UTC+0100)] info/session Connection 5 | SecureChannel 2 | Session 758b08c1-7716-06c1-1441-d44dcafcdfbd | ActivateSession: Session activated - Raspberrypi log after executing ThingWorx_OPC_UA_Client.jar: [2019-04-11 10:35:52.645 (UTC+0100)] info/network Connection 6 | New connection over TCP from 192.168.0.124
[2019-04-11 10:35:52.704 (UTC+0100)] info/channel Creating a new SecureChannel
[2019-04-11 10:35:52.705 (UTC+0100)] warn/securitypolicy No PKI plugin set. Accepting all certificates
[2019-04-11 10:35:52.705 (UTC+0100)] info/channel Connection 6 | SecureChannel 3 | Opened SecureChannel
[2019-04-11 10:35:52.755 (UTC+0100)] info/channel Connection 6 | SecureChannel 3 | CloseSecureChannel
[2019-04-11 10:35:52.755 (UTC+0100)] info/network Connection 6 | Closed by the server
I suspect that I need to configure something in Thinworx to establish the connection, but I do not know what that could be.. I also could not connect the Prosys Simulation Server which undermines that point.
Would it be possible to use Kepware in Thingworx with a non-Kepware OPC UA server? I tried that but also did not succeed.
Are there any other options besides OPC UA client extension and Kepware?
Thanks a lot for whatever advice!

