cognitect-labs / aws-api

AWS, data driven
Apache License 2.0
727 stars 100 forks source link

SQS fails to send message to the queue with error "cognitect.aws.client/ClientSPI found for class: nil" #185

Open gozes opened 3 years ago

gozes commented 3 years ago

Dependencie

e.g.

                 [com.cognitect.aws/api "0.8.469"]
                 [com.cognitect.aws/endpoints "1.1.11.837"]
                 [com.cognitect.aws/sqs "801.2.702.0"]

Description with failing test case

I have an ECS service that when calling :SendMessage it will fail at times with

implementation of method: :-get-info of protocol: #'cognitect.aws.client/ClientSPI found for class: nil

I can't give you a snippet for this as this will only happen when the service is getting a lot of traffic but it doesn’t happen on normal loads

I have looked at container insides metrics and at no point have the container gone above 50% of CPU or Memory so I don't think it has to do with running out of resources.

Any suggestions you can provide on how to get around this issue will be really appreciated.

dchelimsky commented 2 years ago

Even if you can't provide a snippet, can you provide a stack trace when this happens? There are a number of places in the code that call -get-info.