AWS Codedeploy: Errno 104

Issue:

You may receive an error such as:

‘[Errno 104] Connection reset by peer…

In my case this was happening when I was pushing a Codedeploy via circleci.

Solution:

The AWS user attached to my CircleCI had no permission to write to the S3 I was attempting to upload my deployment to.

Once I updated the policy to allow permission to write to the S3 bucket, this error stopped.

Pretty straight forward fix, but it felt like the error was  a little deceiving.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s