error trying to connect: "tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)
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 Basic and encrypted credentials. NES Settings: #NymiCore.NesLogin<cacertfile: nil, credentials_location: "certs/", directory_service_id: "nes", nes_url: "https://hostname", verify: :verify_peer, ...></cacertfile:>
I -- Decrypting credentials using RSA key: c:/Nymi/NymiAgent/certs/key.der
I -- Logging in to NES using service account with username: username
E -- Error logging in to NES: "Basic Authentication error: \"Perform basic auth with username and password.: Generate request for basic auth query.: error sending request for url (https://hostname/nes/api/BasicLoginWithToken):
error trying to connect: tcp connect error: No connection could be made because the target machine actively refused it. (os error 10061)
Cause
The Nymi Agent cannot connect to IIS.
Resolution
To resolve this issue, perform the following steps:
- Log into the NES machine and start the IIS service.
- Start the Nymi Agent service on the centralized Nymi Agent server.
- Review the nymi_agent.log file to confirm that the WebAPI starts without error.
Comments
0 commentsPlease sign in to leave a comment.