Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ETIMEDOUT #19

Closed
navigiljshuusko opened this issue Mar 14, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@navigiljshuusko
Copy link

commented Mar 14, 2019

Hi,

I'm seeing small number of ETIMEDOUT errors when connecting to Aurora RDS (less than 10/5000 lambdas a day - not in production yet) . This may be related to the fact that I'm using IAM and authentication tokens for logins.

I've added ETIMEDOUT into tooManyConnsErrors and the normal retry routine seems to handle this.

const tooManyConnsErrors = [ 'ER_TOO_MANY_USER_CONNECTIONS', 'ER_CON_COUNT_ERROR', 'ER_USER_LIMIT_REACHED', 'ER_OUT_OF_RESOURCES', 'ER_CON_COUNT_ERROR', 'PROTOCOL_CONNECTION_LOST', // if the connection is lost 'ETIMEDOUT', // if the connection times out ];

-jari

@jeremydaly

This comment has been minimized.

Copy link
Owner

commented Mar 15, 2019

Thanks for the report!

@jeremydaly jeremydaly added the bug label Mar 15, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.