cancel
Showing results for 
Search instead for 
Did you mean: 

OPC-UA Client connected to remote OPC-UA Server

OPC-UA Client connected to remote OPC-UA Server

Nathanael
Established Member

Hello Community,

Our customer is struggling in performing OPC-UA communication between a CtrlX Core as client and a remote CtrlX Core as server. 'Remote' means server can be accessed on a different remote network by internet.

The use of UA Expert leads to a successful communication whereas unsuccessful with CtrlX Core Client.

Nathanael_1-1728481246957.pngNathanael_2-1728481256442.png

Nathanael_3-1728481311691.png

 

Nathanael_5-1728481598432.png

Nathanael_6-1728481723168.png

Unfortunately there is no accurate info regarding this error code.


I also tried on my side with both 1.20 and 2.6.3 versions but unsuccessful as well.
However connection to remote Ip is successful:

Nathanael_0-1728481219983.png

Any hints from would be appreciable.

 

6 REPLIES 6

Sgilk
Contributor

Hello @Nathanael ,

Have you trusted the certificate for the ctrlX CORE OPC UA Client on the ctrlX CORE hosting the OPC UA Server?

EX:

Sgilk_0-1728580240884.png

 

Nathanael
Established Member

Hello Sgilk,

Unfortunately the needed certificate is not added on Server side when Client is a CtrlX Core.
However if Client is UA Expert, the needed certificate is added on Server side in the list (like you show) and then must be "Trusted".

NoRisk4Project
Long-established Member

Hello,

I discussed your issue with development to find out what's going on. With the information we have, we think that the OpenSecureConnection fails and this leads to the error message. This would fit to the point, because the server dosn't receives a certificate from the client.

To find the reason for this behavior we need more information. Could you please discribe your system a bit more in detail?

As far as we understood, you use 2 real ctrlX CORE and the both are version 2.6.x systems, right? Or did you only updated the OPC UA server and client app?

You disguised the IP adresses so I have to ask the following questions. How are the network interfaces of both crtlX CORE configured. Which RJ45 ports are used for the connection to the second crtlX CORE and the PC with the UA Expert? Are the two ctrlX CORE conected direcly or is there a switch inbetween?

Hello,

OPC-Client Core is located in our customer office whereas OPC Server Core and 2 additional machines are located in a plant.
Today, these 2 addtional machines equipped with B&R PLC and OPC Servers are properly operating with OPC UA communication (I mean with the OPC Client Core).

Here is the explanation you asked for the Core application:

Nathanael_0-1729070798395.png

 

 

NoRisk4Project
Long-established Member

Hello,

It's still not 100% clear for me what is the reason for the problem, so I will try to summarise all the information I have right now. Please correct me if someting is wrong:

  • The ctrlX CORE X3 is in the office is acting as OPC UA server
  • The ctrlX CORE X7 is located in the plant and working as a OPC UA client.
  • The OPC UA client (X7) can't connect to the OPC UA server (X3).
  • The OPC UA client (X7) can connect to the OPC UA server of two B&R machines inside the plant.
  • You can ping the X3 (office) from the X7 (plant) by using the hostname.
  • You can connect to OPC UA server of the X3 (office) with the UA-Expert from a PC within the office network

So the setting should look like this:

Nathanael_0-1729070798395 - mod.png

I guess a ping from the X3 (office) to the X7 (plant) would also work.

We think that the OpenSecureConnection fails because of firewall settings between the two networks.

Your screenshot of the installed apps showed that the OPC UA server app is installed on the X7. Can you please try to connect OPC UA server of the X7 (plant) with the UA Expert (PC in the office)? Does it work and if not, which error message do you get inside the UA Expert? Please create a WireShark trace of this connection attempt, so we can see more details. 

 

Hello,

Basically, I also misunderstood a bit our customer architecture and I messed up a bit the case... sorry 😔

Here is the current architecture:
Nathanael_0-1729237612690.png
So, OPC UA communication operates properly between the office and the 2 plants with B&R PLC as Clients.
But not operating between the office and the plant with CtrlX Core as Client.

After a discussion with customer, he's going on site next week and will test with UA Expert as well from the plant where the CtrlX Core (Client OPC UA) is located, in order to check if this is related to plant IT issues or CtrlX Core issues with OPC-UA.

Then, I will inform you about the status.

Many thanks for your support and the time you spend 😉

Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist