Error logging in to NES: "Basic Authentication error: \"Perform basic auth with username and password.: Basic Authentication query returned with a status code of 401 Unauthorized

Error logging in to NES: "Basic Authentication error: \"Perform basic auth with username and password.: Basic Authentication query returned with a status code of 401 Unauthorized

The error message appears in the nymi_agent.log file when the Nymi Agent service starts.The Nymi Agent also stops running.

The nymi_agent.log file also contains the following messages:

 I -- Logging in to NES using service account with username: nymi_infra_service
 E -- Error logging in to NES: "Basic Authentication error: \"Perform basic auth with username and password.: Basic Authentication query returned with a status code of 401 Unauthorized.\""
 E -- WebAPI Start failed: Check WebAPI settings and restart

Cause

Misconfigured Nymi Infrastructure Service Account account.

Resolution

To resolve this issue, perform the following steps on the centralized Nymi Agent server:

  1. Re-install Nymi Runtime.
  2. On the Nymi Infrastructure Service Account window, include the domain name when you specify the Service Account username, and ensure that you type the correct password.

    The following figure shows the Nymi Infrastructure Service Account window.

    Figure 1. Nymi infrastructure service account window
  3. Complete the installation, and then review the nymi_agent.log file to confirm that the WebAPI starts without error.

Articles in this section

Was this article helpful?
0 out of 0 found this helpful
Share

Comments

0 comments

Please sign in to leave a comment.