Error establishing the connection to MpUserX

Hi,

when I login into my application I have the following error:

-1061091324: Error establishing the connection to MpUserX.

The structure of my project is the following:

  • one cpu with 2 t80 pp connected
  • Visualization developed with mappView 5.24
  • User management: MpUserX 5.24
  • Login through eventbinding
  • opcua connection protected with certificates

The project always worked until I added the certificate to the opcua.
The other features of my application work as expected with no errors, only when I try to log in I have some problems.

Can anyone help me figure out how to solve the problem?

Here some more details:

**certificates ** ------------------------------------------------------------------------------------------

opcua settings ------------------------------------------------------------------------------------------

image

mappView settings ------------------------------------------------------------------------------------------

image
image

login ----------------------------------------------------------------------------------------------------------------

Thank you!

I created two articles for this topic. How to configure a secure connection between mappView server and mappView client and UAExpert, mappView: How to make a secure OPCUA connection to OPCUA server with communication partner validation - #4 by keji.wu. Check it quickly, maybe it will help.

What is happening if you use RBAC authentication instead of MpUserX. And last question, is it anonymous user still present in your user and role configuration?

Thank you for the reply,

I have already checked this articles for the implementation of the opcua secure connection.

1 Like

If I use the RBAC option the login works but the info related to the users inside the mapp user X are not updated. For example I have a limits on the wrong login attempts equal to 5. If I set RBAC option and execute the login with a wrong password the limits remains 5.

Hi , what is the status of your topic? if is it solved, can you marked answer that helps you the most?

Hello,

I came to this post since I have a very similar hardware setup, use mappView for my visu and MpUserX for the user stuff. The only difference is that my PLC is the PPC50 where the mappView server and client is running, and I’m not using TLS/SSL.

Logging in via event binding worked fine until I disabled the “Anonymous” authentication in OPC UA settings:

Now I’m getting the same error “Error establishing the connection to MpUserX” in the logger when I want to login via my visu.

I don’t think it has to do something with the TLS/SSL configuration, since I don’t use TLS in my project. But I think that the C50 mappView client is accessing the mappView server via OPC UA as user “Anonymous” (which I have disabled previously) and thus can’t properly login. This can be seen in the logger entries as well:

Any ideas how to solve this issue? How can I enable the C50 internal mappView client stil to login? Otherwise the option to disable anonymous OPC authentication wouldn’t make sense..

Thanks.