AS6- Error Booting the OPC UA Server

I get the following errors from OPCUA in AS6 “End point has none of the security policies enabled” And “Error creating server instance” and “Initialization of the Software Components Provider Failed”. The widgets in Visu just display XX.

Hello,

the OPC UA Server did not start, therefore the XX display is reasonable.
Make sure that there is no concurrent server using the default port (4840).
Use the getting started to check the settings for the OPC UA Server in combination with mappView. (especially the chapter “Binding widgets to data”)

BR Fabian

1 Like

Thank you for the reply. :pray:

I did do everything in the help manual and the migration guide. This is a project that was migrated from AS4 to AS6. I still receive these errors.

What is “Make sure that there is no concurrent server using the default port (4840)”? This project works in AS4, but after the migration process these errors remain. I have lots of B&R experience. These errors have no obvious cause to me. The help and logger provides no clues to fix this.

The error i had before this can be found here:

Hello,

by “concurrent server” I mean that at the same time there are more than one Server activly using the port 4840. You can test to change it.

The error logs from your screenshot are somehow reproducible by the following settings:

Please allow at least one of the security policies to get rid of the error:
“End point has none of the security policies enabled” And “Error creating server instance”

From the message "tCoalProvider - Initialization of the Software Components Provider Failed " I can see that this is coming from the mappCockpit component. SInce the OPC UA server is used as a basis for mappCockpit this is a followup error.

BR
Fabian

1 Like

Hello @Fabian. I really appreciate your help!

  1. If I even enable one of the Security policies then the HMI goes into service mode. This is the error that I linked to in a previous post. It is an active bug. But disabling all also gives an error.

  2. We don’t use MappCockpit in the project at all. Its not included in the MappServices folder in Configuration View. Its also not in the “Project->Change Runtime version” popup window.

I disabled all the “Enable MpCockpit” options in the MappService configuration files (MpAlarmX, MpReport, Mprecipe, MpAlarmXHistory). I still receive the “Initialization Of Software components” error

  1. In “Project->Change Runtime Version”. I use OPC UA C/S V6.0.0. I can find this technology package or higher on the B&R download page. Only OPCUAFX is available. Is there a newer version of OPC UA C/S?

image

Hello,

if there is an report regarding this bug and it is beeing worked on I can not do much further.
Regarding your questions:

  1. Disabling all leads to the error message “End point has none of the security policies enabled”
    Enabling at least one leads to SERVICE - which I haven’t experienced yet using Automation Studio 6.1.1.14, Automation Runtime 6.1.0 and OPC UA C/S 6.0 within my testproject (very minimal project though)
    Please keep up to date with the local support team

  2. It might be that mappCockpit or at least parts of it is starting anyway due to configuration, used libraries etc. Up to my knowledge the COALprovider is part of the mappCockpit and it is depening on the OPC UA server, when the server does not start, the components can not be initialized. = “Initialization Of Software components”

  3. OPC UA C/S has no newer package than 6.0.0. at the moment.
    OPC UA FX is a different technology package.

Best regards
Fabian

Thank you very much @fabian.pries. Your time and efforts is appreciated.

My feedback on the points your mentioned:

  1. B&R support came back to me on the Security policy resulting in SERVICE bug. This issue is confirmed to be a active bug.

  2. I logged the issues in this topic with local B&R support. I sent them AS4 and the AS6 migrated project. I will post their reply/solution and guidance on this post as soon as they come back to me.

Have a nice day!
JH Hattingh

1 Like