Suddenly getting an error "Credential is not correct" Amazon SSM

0

Hi,

We are suddenly getting an error "Credential is not correct" in Amazon SSM Logs. Our Cloudwatch custom metrics have stopped working. We have not changed anything and also made sure that SSM Role is attached to that instance. We also tried to put credential file in the server on .aws folder on the windows server. PSB Actual error getting in log file "amazon-ssm-cloudwatch.log".

Credential is not correct. Setting CloudWatchService IsImpaired to be true, Failed to upload metric to CloudWatch. Amazon.CloudWatch.AmazonCloudWatchException: Amazon CloudWatch Metrics no longer supports TLS 1.0 and TLS 1.1 connections. You must update your client to use TLS version 1.2 or above. To learn more and to update your client, see https://go.aws/3AUlVSb. For further assistance, contact AWS support ---> Amazon.Runtime.Internal.HttpErrorResponseException: The remote server returned an error: (403) Forbidden. ---> System.Net.WebException: The remote server returned an error: (403) Forbidden. at System.Net.HttpWebRequest.GetResponse() at Amazon.Runtime.Internal.HttpRequest.GetResponse() --- End of inner exception stack trace --- at Amazon.Runtime.Internal.HttpRequest.GetResponse() at Amazon.Runtime.Internal.HttpHandler1.InvokeSync(IExecutionContext executionContext) at Amazon.Runtime.Internal.Unmarshaller.InvokeSync(IExecutionContext executionContext) at Amazon.Runtime.Internal.ErrorHandler.InvokeSync(IExecutionContext executionContext) --- End of inner exception stack trace --- at Amazon.Runtime.Internal.HttpErrorResponseExceptionHandler.HandleException(IExecutionContext executionContext, HttpErrorResponseException exception) at Amazon.Runtime.Internal.ErrorHandler.ProcessException(IExecutionContext executionContext, Exception exception) at Amazon.Runtime.Internal.ErrorHandler.InvokeSync(IExecutionContext executionContext) at Amazon.Runtime.Internal.CallbackHandler.InvokeSync(IExecutionContext executionContext) at Amazon.Runtime.Internal.RetryHandler.InvokeSync(IExecutionContext executionContext) at Amazon.Runtime.Internal.CallbackHandler.InvokeSync(IExecutionContext executionContext) at Amazon.Runtime.Internal.CallbackHandler.InvokeSync(IExecutionContext executionContext) at Amazon.Runtime.Internal.ErrorCallbackHandler.InvokeSync(IExecutionContext executionContext) at Amazon.Runtime.Internal.MetricsHandler.InvokeSync(IExecutionContext executionContext) at Amazon.Runtime.Internal.RuntimePipeline.InvokeSync(IExecutionContext executionContext) at Amazon.Runtime.AmazonServiceClient.Invoke[TRequest,TResponse](TRequest request, IMarshaller2 marshaller, ResponseUnmarshaller unmarshaller) at Amazon.CloudWatch.AmazonCloudWatchClient.PutMetricData(PutMetricDataRequest request) at AWS.EC2.Windows.CloudWatch.CloudWatch.CloudWatchService.TryPutMetricData(List`1 metrics, String nameSpace)

feita há 6 meses214 visualizações
2 Respostas
1
Resposta aceita

This error indicates that your Amazon SSM agent is still using TLS 1.0 or 1.1 to connect to CloudWatch, which are now deprecated.

profile pictureAWS
respondido há 6 meses
profile pictureAWS
ESPECIALISTA
avaliado há 6 meses
0

Thanks @Dave Connelly AWS. I updated SSM Agent and its working now.

respondido há 6 meses

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas