WebAPI does not start - Negotiate error" Authorization has been denied for this request

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

The nymi_agent.log file also contains the following messages:

 I -- Logging in to NES using Negotiate. NES Settings: #NymiCore.NesLogin<cacertfile: nil, credentials_location: nil, 
directory_service_id: "nes", nes_url: "https://hostname", verify: :verify_peer, ...>
 E -- Error logging in to NES: "Negotiate error: \"Authorization has been denied for this request.\""
 E -- WebAPI Start failed: Check WebAPI settings and restart            

Cause

Misconfigured nymi_agent.toml file.

Resolution

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

  1. Edit the C:\Nymi\NymiAgent\nymi_agent.toml file.
  2. Uncomment the credentials_location parameter, and then save the file.
  3. Restart the Nymi Agent service.

The following figure shows the credentials_location parameter setting in the nymi_agent.toml file.

Figure 1. credentials_location parameter

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.