Mid Server - user cannot be authenticated or is missing roles

Shane38
Tera Expert

Hi All

I am trying to install new mid server to San Diego developer instance, but it will not connect. Giving the error "user cannot be authenticated or is missing the proper roles". I am using the msi installer. (not sure where to get the package). So this is a NEW install and not a broken upgrade etc. I cannot get past this point. I am able to connect and log into the instance from a browser on the same server. So it is reachable via the network and the account has the correct mid server roles etc. I tried to add outbound firewall rules as well.

- Is mid server connection allowed to PDI?

- What else can I check?

Thanks

Shane

3 REPLIES 3

Hitoshi Ozawa
Giga Sage
Giga Sage

To authenticate a MID Server, it is necessary to create an user with role "mid_server". Check that the user to connect to ServiceNow has this role.

FYR:

https://docs.servicenow.com/bundle/sandiego-servicenow-platform/page/product/mid-server/task/t_Setup...

Shane38
Tera Expert

Thanks Hitoshi, I have already assigned the "mid_server" role and even gave it admin but still no luck

Adarsh Krishnam
ServiceNow Employee
ServiceNow Employee

from the node logs verify if you are facing any error like this

 

Information <mid-server-user> has attempted to perform basic auth from a non-authorized IP Address <your-ip-address>

If yes : navigate to o System Security > IP Access Control, and ensure that the MID Server's host machine IP is allowed.

the above has fixed my issue. 🙂