logstash-plugins / logstash-input-sqs

Apache License 2.0
16 stars 40 forks source link

Always do retries on non-specific errors #7

Closed algesten closed 9 years ago

algesten commented 9 years ago

Unrecognized exception will cause the plugin to stop polling. This commit will always do retries on non-specific errors. Close #6

dwagner2301 commented 9 years ago

We got the same problem several times. The exception we got was: message=>"Error reading SQS queue.", :error=>#<SocketError: initialize: name or service not known>

It would be nice if something like @algesten's change would be included. If something is not right about the PR, what needs to be changed about the commit to be pulled in?

ph commented 9 years ago

Thanks for you PR @algesten, I just released 1.1.0 with the help of @dwagner2301 and I have also change the code to make sure the input doesnt die. I am pretty sure it fix this issue.

WoLfulus commented 7 years ago

I'm getting "name or service not known" too.

What can cause this issue?