Getting frequent error with Laravel Forge SQS connection

0

Hi Guys, I am getting this error every day in my logs on night time, but the queue is working perfectly, I am using reset emails jobs on this queue and all good, but sometimes I am getting this error in my log.. Please help me.

Error executing "ReceiveMessage" on "https://sqs.us-east-1.amazonaws.com/600882XXXX98365/xxxx-pwd-reset-emails"; AWS HTTP error: cURL error 6: Could not resolve host: sqs.us-east-1.amazonaws.com (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://sqs.us-east-1.amazonaws.com/60088XXXX98365/xxxx-pwd-reset-emails

Level ERROR Exception

   "class": "Aws\\Sqs\\Exception\\SqsException",
   "message": "Error executing \"ReceiveMessage\" on \"https://sqs.us-east-1.amazonaws.com/6008xxxx98365/xxxx-pwd-reset-emails\"; AWS HTTP error: cURL error 6: Could not resolve host: sqs.us-east-1.amazonaws.com (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://sqs.us-east-1.amazonaws.com/60xxxx898365/xxxx-pwd-reset-emails",
   "code": 0,
   "file": "/home/forge/api.xxxx.com/vendor/aws/aws-sdk-php/src/WrappedHttpHandler.php:196",
질문됨 2달 전161회 조회
1개 답변
0

Most likely this error was caused by a network connectivity issue preventing the request from reaching the SQS service. Failures are scenarios you have to expect in distributed systems and therefore must design to mitigate or withstand. By using SQS, you can depend on the high resiliency it provides for message queuing through its built-in redundancy and durability features. CloudWatch logs will show examples of issues that have occurred that SQS has mitigated or withstood. As long as upstream callers are using retry and backoff logic with SQS, the workload should continue operating as expected.

AWS
답변함 2달 전
profile picture
전문가
검토됨 한 달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인