cancel
Showing results for 
Search instead for 
Did you mean: 
SOLVED

ctrlX OPC UA client to a Rexroth IoT Gateway OPC UA server error DL_COMMUNICATION_ERROR

ctrlX OPC UA client to a Rexroth IoT Gateway OPC UA server error DL_COMMUNICATION_ERROR

ThibaultM
Member

Hello,

I need for an application to connect a ctrlX as an OPC UA client to an existing Rexdroth IoT Gateway as OPC UA Server.

I tested it OPC UA connection to the IoT Gateway with UA expert and it works fine : 

 

ThibaultM_1-1684928188037.png

With following settings: 

ThibaultM_2-1684928230270.png

Now, when I try to connect my ctrlX OPC UA client it does not work, I have always an error : DL_COMMUNICATION_ERROR: 

ThibaultM_0-1684928350025.png

I searched on ctrlX user manual and alos with the question mark : (?) on the error but the description is empty :

ThibaultM_1-1684928449422.png

I checked ctrlX log files and IoT gateway log files but I didn't find any information about this problem.

Here are  my client OPC UA settings : 

ThibaultM_2-1684928550539.png

ThibaultM_3-1684928590518.png

I tested from my ctrlX to ping the IoT Gateway and it works.

I checked if port  9999 is open and it is also ok.

I added (manually) on the IoT Gateway OPC UA server the certificate of my ctrlX client but it didn't improve the problem///

Where can be my mistake? Do you have any idea?

4 REPLIES 4

CodeShepherd
Community Moderator
Community Moderator

Are there any more information in the ctrlX CORE logbook? Could you please send us an export of all logbook messages or a system report directly after trying to establish connection?

The general error "0D0A0201 OPC UA status code of connected server" description can be found in the online documentation. I have to check why "OpcUa_BadCommunicationError 0x80050000" is missing.

Hello,

Ok, so the error code 0D0A0201 is the interna ctrlX stauts code of connected server and error 0x80050000 is the standard error code of ther OPC UA server. I found follwing description : BadCommunicationError 

ThibaultM_0-1684933460455.png

What does it mean?

After a connection try there is always the following error : 

ThibaultM_1-1684933845577.png

If I filter logs informations with Entities : opcuaclient or Units : comm.opcua/client it is always empty 

I attached ctrlX log file downloaded executed just after tried connection at 15:07

Thanks for your help

NoRisk4Project
Long-established Member

Hello,

I used the same settings like you

2023-05-25_15h24_28.png                          

2023-05-25_15h24_39.png

and I can communicate between ctrlX CORE OPC UA client (version 1.20.0) and the OPC UA server of the IoT-Gateway (version 3.7.3).

2023-05-25_15h24_16.png

After I trusted the certificate of the OPC UA client inside the IoT-Gateway server.

I guess, I also could reproduce your error 

2023-05-25_15h23_15.png

by using a different IP address "192.168.1.22", instead of the IP address "192.168.1.21" of the IoT-Gateway.

2023-05-25_15h19_15.png

 

Could you please check, if the ctrlX CORE can reach the IoT-Gateway on your selected IP address 192.168.3.58? Could you describe your network topology?

The wrong port could lead to the same error, but I see inside you screenshots, that the port "9999" is set inside the IoT-Gateway and the UA-Expert.

Hello,

Finally, I found the issue and it was a bad Windows firewall settings, I didn't open the right port number : 9999ThibaultM_0-1685975717945.png

No the OPC UA client connection from my ctrlX to the IoT Gatreway is working : 

ThibaultM_1-1685975792799.png

Thanks for your help

 

 

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