Rolling Log Fix: "ERROR NNT.Hub.ServiceClient.HubAdapter - HubAdapter.Authenticate() Error Authenticating to Hub"
Symptoms
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
# Example Message: #
# # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # #
2018-07-31 13:03:22,240 [HubClient-PollHubThreadProcessing] ERROR NNT.Hub.ServiceClient.HubAdapter -
HubAdapter.Authenticate() Error authenticating to hub at https://example.ip/api/ - Error writing headers (Error
while sending TLS Alert (Fatal:InternalError): System.IO.IOException: The authentication or decryption has failed. --->
System.IO.IOException: EndRead failure ---> System.Net.Sockets.SocketException: Connection reset by peer
Cause
If you have recently disabled TLS 1.0/1.1 on your Windows Hub, it is likely that a few of your Linux devices are offline and cannot connect to your Hub (mostly disabled for audit/compliance standards).
If the Linux device is currently at Mono 4.5, you will receive this error if you disable TLS 1.0/1.1 on your Windows Hub.
Since Mono 4.5 has compatibility issues with TLS 1.2, you will need to upgrade Mono to a later version (Mono 5.0.1.1). Instructions below on how to install/remedy this issue.
Resolution
If you are receiving this error, the Netwrix Agent is NOT reporting to your hub. This is a critical error, and for monitoring to continue, it must be resolved. To resolve this error:
-
Stop the Netwrix Agent Service:
# service nntgen7agent stop -
Download the nnt-mono-5.0.1.1-5.x86_64.rpm package.
-
Copy the download over to a directory on the Linux device (e.g.,
/tmpdirectory). -
Change directory to that folder:
# cd /tmp -
Next, upgrade to the downloaded mono package:
# rpm -Uvh nnt-mono-5.0.1.1-5.x86_64.rpm -
Start the Netwrix Agent Service:
# service nntgen7agent start
This will need to be done to all Linux devices that have been disconnected and show this error.
Related Articles
- Hub Offline, connection retries exhausted (The remote server returned an error: (403) Forbidden)
- ERROR HubDetails - Crypto error. Has the agent process account changed since the password data was entered?
- ERROR NNT.Hub.ServiceClient.HubAdapter - HubAdapter.Authenticate() Error Authenticating to Hub at https://.../api/ - Error Writing Headers (Error While Sending TLS Alert (Fatal:InternalError):
- Script Error Executing Line 6: ExecuteAndCaptureChunked - /NNT_FILEHASH_LINUX_X64: Permission Denied (AGENTLESS LINUX)
- Hub Connection Failed (403 Server Message: IP Address Blocked: Login Failures)