[Errno 104] Connection reset by peer

codedeploy

#1

Why aws codedeploy return [Errno 104] Connection reset by peer

`
create_application_revision /tmp/codedeploy_applications.json /tmp/codedeploy_revisions.json
create_application_revision loaded: {“applications”:[{“region”:“us-east-1”,“application_root”:"/",“revision_location”:{“s3Location”:{“bucket”:“circle-codedeploy-master”,“key”:“cd-master-b7fce9e-208”},“revisionType”:“S3”},“deployment_group”:“CodeDeploy-master-Group”,“application_name”:“CodeDeploy-master”}]}
Bundling CodeDeploy-master from /home/ubuntu/laravel
Failed to upload to {u’bucket’: u’circle-codedeploy-master’, u’key’: u’cd-master-b7fce9e-208’} in us-east-1. Check:

  1. Your S3 bucket is in us-east-1
  2. The S3 location is correct for your app
  3. Your AWS credentials are correct
    Unhandled exception
    [Errno 104] Connection reset by peer

((create_application_revision “/tmp/codedeploy_applications.json” “/tmp/codedeploy_revisions.json”)) returned exit code 1

Action failed: Create new revision of CodeDeploy-master
`


#2

I’m running into this too. Verified that items 1, 2, and 3 are correct.


#3