Created
November 27, 2015 14:11
-
-
Save ferd/6713ec595daa1678f88c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16> hackney:get(<<"http://169.254.169.254/latest/meta-data/iam/security-credentials/">>, [], <<>>, [{connect_timeout,5000},{recv_timeout,5000}]). | |
{error,timeout} % <-- this is good | |
17> hackney:get(<<"http://169.254.169.254/latest/meta-data/iam/security-credentials/">>, [], <<>>, [{connect_timeout,5000},{recv_timeout,5000}]). | |
{error,closed} % <--- why is there no retry? | |
18> hackney:get(<<"http://169.254.169.254/latest/meta-data/iam/security-credentials/">>, [], <<>>, [{connect_timeout,5000},{recv_timeout,5000}]). | |
{error,closed} % <--- why is there no retry? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment