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

Problem with variables at the server

Problem with variables at the server

Hello, I have problem with connection variables at the server. When I open preview, I see all variables and I can remote them, but when I start project at RunTime Manager, I do not see any variables and all button are grey and I can not remote them.

Thank you

ladislavsvehla_0-1715149933078.png

ladislavsvehla_1-1715149948107.png

 

 

10 REPLIES 10

webiq-sk
Frequent Contributor

Please provide connect.log in trace level, otherwise this cannot be analyzed.

I'm not sure if this file is the one you need.

I think this one is in trace level.

Thank you, it is not in trace level, you can set this in Runtime Manager:

webiqsk_0-1715154348646.png

However, we can already see that your OPC-UA server returns the OPC-UA error BadSecurityChecksFailed, which is a server and not a client error:

[2024-05-08 05:54:08.410732] [ error | ctrlX-CORE] Connection error.
[2024-05-08 05:54:08.410732] [ error | ctrlX-CORE] service_type(): OpenSecureChannel
[2024-05-08 05:54:08.410732] [ error | ctrlX-CORE] error(): BadSecurityChecksFailed
[2024-05-08 05:54:08.410732] [ error | ctrlX-CORE] client_side_error(): no

This might happen because your OPC-UA server does not trust WebIQ's client certificate and might have to be trusted from inside the OPC-UA server, because currently the OPC-UA server refuses the connection from WebIQ.

webiq-sk
Frequent Contributor

Please also check if your time in ctrlX has been setup correctly!

I don´t know, what to do with this. I´m trying everything but in connect.log is still this. 

I don't understand the problem with the screenshot. Can you please provide the corresponding connect.log? It's correctly in trace mode now. However, did you fix the issue with the OPC-UA server?

The only thing in the screenshot I see is that you deleted the "Systemzeit" item in WebIQ Designer.

Thank you, I have Rejected one certifikate on OPC server. So I trusted it and now it´s working.

Thanks for the feedback. Just to sum for everyone with a similar issue:

many OPC-UA servers require you to trust an OPC-UA client certificate before the OPC-UA server will accept any connection from that client. This is not a bug in WebIQ, this is a security feature in OPC-UA utilized by most OPC-UA servers.

HmiGuide
Community Moderator
Community Moderator

Keep in mind that every client has it's own certificate. This means when you connect the first time from the client instead of the preview, you have to trust the new certificate. Below you find the message, which we display in our programs, when the connection fails.

Connection to the PLC interrupted
Please wait while the connection is being established.

Make sure that the ctrlX:
- OpcUa Server App is installed and license is valid
- ctrlX user exists for the OpcUa connection with correct password "OPCUA server access" and all "Data Layer scopes". (default user boschrexroth)
- Date and time are valid
- Certificate is trusted & still valid
- Correct PLC program is loaded and running
- Network is OK

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