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?
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?
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.
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..