Closed jthomerson closed 1 year ago
I'm seeing the exact same thing and also have node deployed behind a squid proxy polling S3 for updated files. When internet connectivity is lost the polling fails and I have to restart node to make it work again.
This code in this repository has been moved to the proxy-agents
monorepo, so I am closing this pull request. If you feel that this issue still exists as of the latest release, feel free to open a new issue over there.
I'll apologize in advance, because I hate submitting this kind of an issue - I can't find where the issue is, and it's totally possible that the issue is not with this library, but I'm not sure where to go next and hoping your expertise can help.
Some details:
proxy-agent
for the AWS SDK as documented here: http://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/node-configuring-proxies.html1503602453.019 59884 10.7.1.114 TCP_MISS/503 0 CONNECT dynamodb.us-east-1.amazonaws.com:443 - HIER_NONE/- -
When the proxy times out trying to connect, my long-running script that's using the AWS SDK just dies. There does not seem to be any error thrown, the SDK doesn't seem to retry, ... nothing. Compare this to if there's an actual error from the AWS API (any API) - I get an error that I can handle and move on. But when one of these proxy timeouts happens, the script dies with no indication of what went wrong.
I've tried the following:
Do you have any ideas on: