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

amazon-ebs timeout creating temporary keypair #1616

Closed
rchekaluk opened this issue Oct 24, 2014 · 1 comment
Closed

amazon-ebs timeout creating temporary keypair #1616

rchekaluk opened this issue Oct 24, 2014 · 1 comment

Comments

@rchekaluk
Copy link

This failure mode began occurring (only in the past couple of days):

Debug mode enabled. Builds will not be parallelized.
amazon-ebs output will be in this color.

==> amazon-ebs: Creating temporary keypair: packer XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX
Build 'amazon-ebs' errored: Error creating temporary keypair: Get https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=XXXXXXXXXXXXXXXXXXX&Action=CreateKeyPair&KeyName=packer+XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&Signature=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-10-24T10%3A06%3A58Z&Version=2013-07-15: dial tcp: i/o timeout

==> Some builds didn't complete successfully and had errors:
--> amazon-ebs: Error creating temporary keypair: Get https://ec2.us-east-1.amazonaws.com/?AWSAccessKeyId=XXXXXXXXXXXXXXXXXXX&Action=CreateKeyPair&KeyName=packer+XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX&Signature=XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX&SignatureMethod=HmacSHA256&SignatureVersion=2&Timestamp=2014-10-24T10%3A06%3A58Z&Version=2013-07-15: dial tcp: i/o timeout

Yet, pasting the identical URL into a curl command works fine, though does take roughly 10+ seconds to return. Presumably, there's some timeout value involved here that may need to be raised.

Related to these?

@rchekaluk
Copy link
Author

Upgrading to current stable packer seems to have alleviated this issue. Sorry for the noise.

@ghost ghost locked and limited conversation to collaborators Apr 10, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant