Skip to content

Instantly share code, notes, and snippets.

@rcteske
Created April 5, 2017 21:11
Show Gist options
  • Save rcteske/e1e7b3499f080b26f3697f239e4269a4 to your computer and use it in GitHub Desktop.
Save rcteske/e1e7b3499f080b26f3697f239e4269a4 to your computer and use it in GitHub Desktop.
C:\Spry-Fox\Bear-Country\Networking\Uploader>python uploader.py upload --source ..\Server\Server\bin\Debug
2017-04-05 18:00:22,614 botocore.credentials [DEBUG] Looking for credentials via: env
2017-04-05 18:00:22,614 botocore.credentials [DEBUG] Looking for credentials via: assume-role
2017-04-05 18:00:22,614 botocore.credentials [DEBUG] Looking for credentials via: shared-credentials-file
2017-04-05 18:00:22,615 botocore.credentials [INFO] Found credentials in shared credentials file: ~/.aws/credentials
2017-04-05 18:00:22,615 botocore.loaders [DEBUG] Loading JSON file: C:\Python27\lib\site-packages\botocore\data\endpoints.json
2017-04-05 18:00:22,651 botocore.loaders [DEBUG] Loading JSON file: C:\Python27\lib\site-packages\botocore\data\s3\2006-03-01\service-2.json
2017-04-05 18:00:22,688 botocore.loaders [DEBUG] Loading JSON file: C:\Python27\lib\site-packages\botocore\data\_retry.json
2017-04-05 18:00:22,690 botocore.client [DEBUG] Registering retry handlers for service: s3
2017-04-05 18:00:22,696 botocore.hooks [DEBUG] Event creating-client-class.s3: calling handler <function add_generate_presigned_post at 0x037DFAF0>
2017-04-05 18:00:22,696 botocore.hooks [DEBUG] Event creating-client-class.s3: calling handler <function _handler at 0x038880F0>
2017-04-05 18:00:22,726 botocore.hooks [DEBUG] Event creating-client-class.s3: calling handler <function add_generate_presigned_url at 0x037DF670>
2017-04-05 18:00:22,726 botocore.args [DEBUG] The s3 config key is not a dictionary type, ignoring its value of: None
2017-04-05 18:00:22,730 botocore.endpoint [DEBUG] Setting s3 timeout as (60, 60)
2017-04-05 18:00:22,732 botocore.client [DEBUG] Defaulting to S3 virtual host style addressing with path style addressing fallback.
making test build:
zipping build:
..\Server\Server\bin\Debug\Configs Configs\bear.bytes
..\Server\Server\bin\Debug\Configs Configs\biomes.bytes
..\Server\Server\bin\Debug\Configs Configs\general.bytes
..\Server\Server\bin\Debug\Configs Configs\index.bytes
..\Server\Server\bin\Debug\Configs Configs\languages.bytes
..\Server\Server\bin\Debug\Configs Configs\maps.bytes
..\Server\Server\bin\Debug\Configs Configs\minigames.bytes
..\Server\Server\bin\Debug\Configs Configs\narrative.bytes
..\Server\Server\bin\Debug\Configs Configs\resources.bytes
..\Server\Server\bin\Debug\Configs Configs\skills.bytes
..\Server\Server\bin\Debug\Configs\Languages Configs\Languages\english.bytes
..\Server\Server\bin\Debug\Terrains Terrains\beach1.txt
..\Server\Server\bin\Debug\Terrains Terrains\beach2.txt
..\Server\Server\bin\Debug\Terrains Terrains\beach3.txt
..\Server\Server\bin\Debug\Terrains Terrains\cave1.txt
..\Server\Server\bin\Debug\Terrains Terrains\cave2.txt
..\Server\Server\bin\Debug\Terrains Terrains\cave3.txt
..\Server\Server\bin\Debug\Terrains Terrains\forest1.txt
..\Server\Server\bin\Debug\Terrains Terrains\forest2.txt
..\Server\Server\bin\Debug\Terrains Terrains\forest3.txt
..\Server\Server\bin\Debug\Terrains Terrains\island1.txt
..\Server\Server\bin\Debug\Terrains Terrains\island2.txt
..\Server\Server\bin\Debug\Terrains Terrains\island3.txt
..\Server\Server\bin\Debug\Terrains Terrains\ruin1.txt
..\Server\Server\bin\Debug\Terrains Terrains\ruin2.txt
..\Server\Server\bin\Debug\Terrains Terrains\ruin3.txt
..\Server\Server\bin\Debug\Terrains Terrains\tutorial.txt
uploading build
2017-04-05 18:00:22,789 botocore.hooks [DEBUG] Event before-parameter-build.s3.PutObject: calling handler <function validate_ascii_metadata at 0x037FF370>
2017-04-05 18:00:22,789 botocore.hooks [DEBUG] Event before-parameter-build.s3.PutObject: calling handler <function sse_md5 at 0x037FBDB0>
2017-04-05 18:00:22,790 botocore.hooks [DEBUG] Event before-parameter-build.s3.PutObject: calling handler <function convert_body_to_file_like_object at 0x037FF6B0>
2017-04-05 18:00:22,792 botocore.hooks [DEBUG] Event before-parameter-build.s3.PutObject: calling handler <function validate_bucket_name at 0x037FBD70>
2017-04-05 18:00:22,792 botocore.hooks [DEBUG] Event before-parameter-build.s3.PutObject: calling handler <bound method S3RegionRedirector.redirect_from_cache of <botocore.utils.S3RegionRedirector object at 0x03C31BD0>>
2017-04-05 18:00:22,792 botocore.hooks [DEBUG] Event before-parameter-build.s3.PutObject: calling handler <function generate_idempotent_uuid at 0x037FBBB0>
2017-04-05 18:00:22,795 botocore.hooks [DEBUG] Event before-call.s3.PutObject: calling handler <function conditionally_calculate_md5 at 0x037FBD30>
2017-04-05 18:00:22,799 botocore.hooks [DEBUG] Event before-call.s3.PutObject: calling handler <function add_expect_header at 0x037FBFB0>
2017-04-05 18:00:22,799 botocore.handlers [DEBUG] Adding expect 100 continue header to request.
2017-04-05 18:00:22,799 botocore.hooks [DEBUG] Event before-call.s3.PutObject: calling handler <bound method S3RegionRedirector.set_request_url of <botocore.utils.S3RegionRedirector object at 0x03C31BD0>>
2017-04-05 18:00:22,799 botocore.endpoint [DEBUG] Making request for OperationModel(name=PutObject) (verify_ssl=True) with params: {'body': <open file 'tmp_build.zip', mode 'r' at 0x03A4FA18>, 'url': u'https://s3.amazonaws.com/beartopia-builds/test.zip', 'headers': {'Content-MD5': u'X1B6eRR9+SZwPGgMUdQ6Pw==', 'Expect': '100-continue', 'User-Agent': 'Boto3/1.4.4 Python/2.7.13 Windows/10 Botocore/1.5.35'}, 'context': {'auth_type': None, 'client_region': u'us-east-1', 'signing': {'bucket': 'beartopia-builds'}, 'has_streaming_input': True, 'client_config': <botocore.config.Config object at 0x03C31990>}, 'query_string': {}, 'url_path': u'/beartopia-builds/test.zip', 'method': u'PUT'}
2017-04-05 18:00:22,801 botocore.hooks [DEBUG] Event request-created.s3.PutObject: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x03C31950>>
2017-04-05 18:00:22,802 botocore.hooks [DEBUG] Event choose-signer.s3.PutObject: calling handler <function set_operation_specific_signer at 0x037FBB30>
2017-04-05 18:00:22,802 botocore.hooks [DEBUG] Event before-sign.s3.PutObject: calling handler <function fix_s3_host at 0x031B2E70>
2017-04-05 18:00:22,802 botocore.utils [DEBUG] Checking for DNS compatible bucket for: https://s3.amazonaws.com/beartopia-builds/test.zip
2017-04-05 18:00:22,802 botocore.utils [DEBUG] URI updated to: https://beartopia-builds.s3.amazonaws.com/test.zip
2017-04-05 18:00:22,803 botocore.auth [DEBUG] Calculating signature using hmacv1 auth.
2017-04-05 18:00:22,805 botocore.auth [DEBUG] HTTP request method: PUT
2017-04-05 18:00:22,805 botocore.auth [DEBUG] StringToSign:
PUT
X1B6eRR9+SZwPGgMUdQ6Pw==
Wed, 05 Apr 2017 21:00:22 GMT
/beartopia-builds/test.zip
2017-04-05 18:00:22,809 botocore.endpoint [DEBUG] Sending http request: <PreparedRequest [PUT]>
2017-04-05 18:00:22,812 botocore.vendored.requests.packages.urllib3.connectionpool [INFO] Starting new HTTPS connection (1): beartopia-builds.s3.amazonaws.com
2017-04-05 18:00:23,996 botocore.awsrequest [DEBUG] Waiting for 100 Continue response.
2017-04-05 18:00:24,178 botocore.awsrequest [DEBUG] 100 Continue response seen, now sending request body.
2017-04-05 18:01:04,378 botocore.vendored.requests.packages.urllib3.connectionpool [DEBUG] "PUT /test.zip HTTP/1.1" 400 None
2017-04-05 18:01:04,384 botocore.parsers [DEBUG] Response headers: {'x-amz-id-2': '9WHne0lmpI3QPmge+UCZEf9e/z/uaan3yyAqiPeS07O7xXAvPc799geO6qdXJD2vaqEx5OGxJjY=', 'server': 'AmazonS3', 'transfer-encoding': 'chunked', 'connection': 'close', 'x-amz-request-id': '5DE693B2BA8E6442', 'date': 'Wed, 05 Apr 2017 21:00:44 GMT', 'content-type': 'application/xml'}
2017-04-05 18:01:04,384 botocore.parsers [DEBUG] Response body:
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>RequestTimeout</Code><Message>Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.</Message><RequestId>5DE693B2BA8E6442</RequestId><HostId>9WHne0lmpI3QPmge+UCZEf9e/z/uaan3yyAqiPeS07O7xXAvPc799geO6qdXJD2vaqEx5OGxJjY=</HostId></Error>
2017-04-05 18:01:04,384 botocore.hooks [DEBUG] Event needs-retry.s3.PutObject: calling handler <botocore.retryhandler.RetryHandler object at 0x03BE1D70>
2017-04-05 18:01:04,385 botocore.retryhandler [DEBUG] retry needed: matching HTTP status and error code seen: 400, RequestTimeout
2017-04-05 18:01:04,387 botocore.retryhandler [DEBUG] Retry needed, action of: 0.75062559206
2017-04-05 18:01:04,387 botocore.hooks [DEBUG] Event needs-retry.s3.PutObject: calling handler <bound method S3RegionRedirector.redirect_from_error of <botocore.utils.S3RegionRedirector object at 0x03C31BD0>>
2017-04-05 18:01:04,388 botocore.endpoint [DEBUG] Response received to retry, sleeping for 0.75062559206 seconds
2017-04-05 18:01:05,138 botocore.awsrequest [DEBUG] Rewinding stream: <open file 'tmp_build.zip', mode 'r' at 0x03A4FA18>
2017-04-05 18:01:05,190 botocore.hooks [DEBUG] Event request-created.s3.PutObject: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x03C31950>>
2017-04-05 18:01:05,190 botocore.hooks [DEBUG] Event choose-signer.s3.PutObject: calling handler <function set_operation_specific_signer at 0x037FBB30>
2017-04-05 18:01:05,190 botocore.hooks [DEBUG] Event before-sign.s3.PutObject: calling handler <function fix_s3_host at 0x031B2E70>
2017-04-05 18:01:05,190 botocore.utils [DEBUG] Checking for DNS compatible bucket for: https://s3.amazonaws.com/beartopia-builds/test.zip
2017-04-05 18:01:05,191 botocore.utils [DEBUG] URI updated to: https://beartopia-builds.s3.amazonaws.com/test.zip
2017-04-05 18:01:05,191 botocore.auth [DEBUG] Calculating signature using hmacv1 auth.
2017-04-05 18:01:05,193 botocore.auth [DEBUG] HTTP request method: PUT
2017-04-05 18:01:05,193 botocore.auth [DEBUG] StringToSign:
PUT
X1B6eRR9+SZwPGgMUdQ6Pw==
Wed, 05 Apr 2017 21:01:05 GMT
/beartopia-builds/test.zip
2017-04-05 18:01:05,197 botocore.endpoint [DEBUG] Sending http request: <PreparedRequest [PUT]>
2017-04-05 18:01:05,197 botocore.vendored.requests.packages.urllib3.connectionpool [INFO] Resetting dropped connection: beartopia-builds.s3.amazonaws.com
2017-04-05 18:01:05,703 botocore.awsrequest [DEBUG] Waiting for 100 Continue response.
2017-04-05 18:01:05,885 botocore.awsrequest [DEBUG] 100 Continue response seen, now sending request body.
2017-04-05 18:01:46,086 botocore.vendored.requests.packages.urllib3.connectionpool [DEBUG] "PUT /test.zip HTTP/1.1" 400 None
2017-04-05 18:01:46,092 botocore.parsers [DEBUG] Response headers: {'x-amz-id-2': 'TJK+D3SR2zkW66tomR/0h35CuYIHpOwR6z/s8rIA9EFmRxz3CQao1BvLgP7C/GmDYG6oFFaI+k0=', 'server': 'AmazonS3', 'transfer-encoding': 'chunked', 'connection': 'close', 'x-amz-request-id': '2C119B2644C32D83', 'date': 'Wed, 05 Apr 2017 21:01:25 GMT', 'content-type': 'application/xml'}
2017-04-05 18:01:46,092 botocore.parsers [DEBUG] Response body:
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>RequestTimeout</Code><Message>Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.</Message><RequestId>2C119B2644C32D83</RequestId><HostId>TJK+D3SR2zkW66tomR/0h35CuYIHpOwR6z/s8rIA9EFmRxz3CQao1BvLgP7C/GmDYG6oFFaI+k0=</HostId></Error>
2017-04-05 18:01:46,094 botocore.hooks [DEBUG] Event needs-retry.s3.PutObject: calling handler <botocore.retryhandler.RetryHandler object at 0x03BE1D70>
2017-04-05 18:01:46,095 botocore.retryhandler [DEBUG] retry needed: matching HTTP status and error code seen: 400, RequestTimeout
2017-04-05 18:01:46,095 botocore.retryhandler [DEBUG] Retry needed, action of: 0.362032501341
2017-04-05 18:01:46,095 botocore.hooks [DEBUG] Event needs-retry.s3.PutObject: calling handler <bound method S3RegionRedirector.redirect_from_error of <botocore.utils.S3RegionRedirector object at 0x03C31BD0>>
2017-04-05 18:01:46,096 botocore.endpoint [DEBUG] Response received to retry, sleeping for 0.362032501341 seconds
2017-04-05 18:01:46,460 botocore.awsrequest [DEBUG] Rewinding stream: <open file 'tmp_build.zip', mode 'r' at 0x03A4FA18>
2017-04-05 18:01:46,461 botocore.hooks [DEBUG] Event request-created.s3.PutObject: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x03C31950>>
2017-04-05 18:01:46,463 botocore.hooks [DEBUG] Event choose-signer.s3.PutObject: calling handler <function set_operation_specific_signer at 0x037FBB30>
2017-04-05 18:01:46,463 botocore.hooks [DEBUG] Event before-sign.s3.PutObject: calling handler <function fix_s3_host at 0x031B2E70>
2017-04-05 18:01:46,463 botocore.utils [DEBUG] Checking for DNS compatible bucket for: https://s3.amazonaws.com/beartopia-builds/test.zip
2017-04-05 18:01:46,463 botocore.utils [DEBUG] URI updated to: https://beartopia-builds.s3.amazonaws.com/test.zip
2017-04-05 18:01:46,464 botocore.auth [DEBUG] Calculating signature using hmacv1 auth.
2017-04-05 18:01:46,464 botocore.auth [DEBUG] HTTP request method: PUT
2017-04-05 18:01:46,466 botocore.auth [DEBUG] StringToSign:
PUT
X1B6eRR9+SZwPGgMUdQ6Pw==
Wed, 05 Apr 2017 21:01:46 GMT
/beartopia-builds/test.zip
2017-04-05 18:01:46,466 botocore.endpoint [DEBUG] Sending http request: <PreparedRequest [PUT]>
2017-04-05 18:01:46,467 botocore.vendored.requests.packages.urllib3.connectionpool [INFO] Resetting dropped connection: beartopia-builds.s3.amazonaws.com
2017-04-05 18:01:47,013 botocore.awsrequest [DEBUG] Waiting for 100 Continue response.
2017-04-05 18:01:47,198 botocore.awsrequest [DEBUG] 100 Continue response seen, now sending request body.
2017-04-05 18:02:27,878 botocore.vendored.requests.packages.urllib3.connectionpool [DEBUG] "PUT /test.zip HTTP/1.1" 400 None
2017-04-05 18:02:27,881 botocore.parsers [DEBUG] Response headers: {'x-amz-id-2': 'dgwp78ImPsrDYs+Yssh8zBhsE7NuEI752K1VMkIA+4RN/cKE1xK6BLa/+If2JwX6ULUNvI5UlhU=', 'server': 'AmazonS3', 'transfer-encoding': 'chunked', 'connection': 'close', 'x-amz-request-id': '3DDC4352B34F4091', 'date': 'Wed, 05 Apr 2017 21:02:06 GMT', 'content-type': 'application/xml'}
2017-04-05 18:02:27,881 botocore.parsers [DEBUG] Response body:
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>RequestTimeout</Code><Message>Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.</Message><RequestId>3DDC4352B34F4091</RequestId><HostId>dgwp78ImPsrDYs+Yssh8zBhsE7NuEI752K1VMkIA+4RN/cKE1xK6BLa/+If2JwX6ULUNvI5UlhU=</HostId></Error>
2017-04-05 18:02:27,881 botocore.hooks [DEBUG] Event needs-retry.s3.PutObject: calling handler <botocore.retryhandler.RetryHandler object at 0x03BE1D70>
2017-04-05 18:02:27,882 botocore.retryhandler [DEBUG] retry needed: matching HTTP status and error code seen: 400, RequestTimeout
2017-04-05 18:02:27,882 botocore.retryhandler [DEBUG] Retry needed, action of: 0.672357487276
2017-04-05 18:02:27,882 botocore.hooks [DEBUG] Event needs-retry.s3.PutObject: calling handler <bound method S3RegionRedirector.redirect_from_error of <botocore.utils.S3RegionRedirector object at 0x03C31BD0>>
2017-04-05 18:02:27,882 botocore.endpoint [DEBUG] Response received to retry, sleeping for 0.672357487276 seconds
2017-04-05 18:02:28,555 botocore.awsrequest [DEBUG] Rewinding stream: <open file 'tmp_build.zip', mode 'r' at 0x03A4FA18>
2017-04-05 18:02:28,555 botocore.hooks [DEBUG] Event request-created.s3.PutObject: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x03C31950>>
2017-04-05 18:02:28,555 botocore.hooks [DEBUG] Event choose-signer.s3.PutObject: calling handler <function set_operation_specific_signer at 0x037FBB30>
2017-04-05 18:02:28,555 botocore.hooks [DEBUG] Event before-sign.s3.PutObject: calling handler <function fix_s3_host at 0x031B2E70>
2017-04-05 18:02:28,556 botocore.utils [DEBUG] Checking for DNS compatible bucket for: https://s3.amazonaws.com/beartopia-builds/test.zip
2017-04-05 18:02:28,556 botocore.utils [DEBUG] URI updated to: https://beartopia-builds.s3.amazonaws.com/test.zip
2017-04-05 18:02:28,558 botocore.auth [DEBUG] Calculating signature using hmacv1 auth.
2017-04-05 18:02:28,558 botocore.auth [DEBUG] HTTP request method: PUT
2017-04-05 18:02:28,559 botocore.auth [DEBUG] StringToSign:
PUT
X1B6eRR9+SZwPGgMUdQ6Pw==
Wed, 05 Apr 2017 21:02:28 GMT
/beartopia-builds/test.zip
2017-04-05 18:02:28,559 botocore.endpoint [DEBUG] Sending http request: <PreparedRequest [PUT]>
2017-04-05 18:02:28,559 botocore.vendored.requests.packages.urllib3.connectionpool [INFO] Resetting dropped connection: beartopia-builds.s3.amazonaws.com
2017-04-05 18:02:29,584 botocore.awsrequest [DEBUG] Waiting for 100 Continue response.
2017-04-05 18:02:29,769 botocore.awsrequest [DEBUG] 100 Continue response seen, now sending request body.
2017-04-05 18:03:09,984 botocore.vendored.requests.packages.urllib3.connectionpool [DEBUG] "PUT /test.zip HTTP/1.1" 400 None
2017-04-05 18:03:09,987 botocore.parsers [DEBUG] Response headers: {'x-amz-id-2': 'om6CxVsjazaHzHdFXOfPh0nFqclW8Ji6pK6B5ArIDbn0pEgtzh3CEO51bPd1LGUrxAkMhYXZ7Lk=', 'server': 'AmazonS3', 'transfer-encoding': 'chunked', 'connection': 'close', 'x-amz-request-id': 'CB9CD8056D914F0B', 'date': 'Wed, 05 Apr 2017 21:02:48 GMT', 'content-type': 'application/xml'}
2017-04-05 18:03:09,989 botocore.parsers [DEBUG] Response body:
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>RequestTimeout</Code><Message>Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.</Message><RequestId>CB9CD8056D914F0B</RequestId><HostId>om6CxVsjazaHzHdFXOfPh0nFqclW8Ji6pK6B5ArIDbn0pEgtzh3CEO51bPd1LGUrxAkMhYXZ7Lk=</HostId></Error>
2017-04-05 18:03:09,989 botocore.hooks [DEBUG] Event needs-retry.s3.PutObject: calling handler <botocore.retryhandler.RetryHandler object at 0x03BE1D70>
2017-04-05 18:03:09,989 botocore.retryhandler [DEBUG] retry needed: matching HTTP status and error code seen: 400, RequestTimeout
2017-04-05 18:03:09,989 botocore.retryhandler [DEBUG] Retry needed, action of: 6.78783371165
2017-04-05 18:03:09,989 botocore.hooks [DEBUG] Event needs-retry.s3.PutObject: calling handler <bound method S3RegionRedirector.redirect_from_error of <botocore.utils.S3RegionRedirector object at 0x03C31BD0>>
2017-04-05 18:03:09,990 botocore.endpoint [DEBUG] Response received to retry, sleeping for 6.78783371165 seconds
2017-04-05 18:03:16,776 botocore.awsrequest [DEBUG] Rewinding stream: <open file 'tmp_build.zip', mode 'r' at 0x03A4FA18>
2017-04-05 18:03:16,778 botocore.hooks [DEBUG] Event request-created.s3.PutObject: calling handler <bound method RequestSigner.handler of <botocore.signers.RequestSigner object at 0x03C31950>>
2017-04-05 18:03:16,778 botocore.hooks [DEBUG] Event choose-signer.s3.PutObject: calling handler <function set_operation_specific_signer at 0x037FBB30>
2017-04-05 18:03:16,779 botocore.hooks [DEBUG] Event before-sign.s3.PutObject: calling handler <function fix_s3_host at 0x031B2E70>
2017-04-05 18:03:16,779 botocore.utils [DEBUG] Checking for DNS compatible bucket for: https://s3.amazonaws.com/beartopia-builds/test.zip
2017-04-05 18:03:16,779 botocore.utils [DEBUG] URI updated to: https://beartopia-builds.s3.amazonaws.com/test.zip
2017-04-05 18:03:16,780 botocore.auth [DEBUG] Calculating signature using hmacv1 auth.
2017-04-05 18:03:16,780 botocore.auth [DEBUG] HTTP request method: PUT
2017-04-05 18:03:16,782 botocore.auth [DEBUG] StringToSign:
PUT
X1B6eRR9+SZwPGgMUdQ6Pw==
Wed, 05 Apr 2017 21:03:16 GMT
/beartopia-builds/test.zip
2017-04-05 18:03:16,782 botocore.endpoint [DEBUG] Sending http request: <PreparedRequest [PUT]>
2017-04-05 18:03:16,782 botocore.vendored.requests.packages.urllib3.connectionpool [INFO] Resetting dropped connection: beartopia-builds.s3.amazonaws.com
2017-04-05 18:03:17,309 botocore.awsrequest [DEBUG] Waiting for 100 Continue response.
2017-04-05 18:03:17,490 botocore.awsrequest [DEBUG] 100 Continue response seen, now sending request body.
2017-04-05 18:03:57,691 botocore.vendored.requests.packages.urllib3.connectionpool [DEBUG] "PUT /test.zip HTTP/1.1" 400 None
2017-04-05 18:03:57,696 botocore.parsers [DEBUG] Response headers: {'x-amz-id-2': '2/12VYfiizI7f5GtSCMKURg+uo5JoF93rPAQFQlhJGLincY6V6jD2FPxhdCycTzhqrEdZ9JtEpM=', 'server': 'AmazonS3', 'transfer-encoding': 'chunked', 'connection': 'close', 'x-amz-request-id': 'CBA00F476A9A3607', 'date': 'Wed, 05 Apr 2017 21:03:37 GMT', 'content-type': 'application/xml'}
2017-04-05 18:03:57,697 botocore.parsers [DEBUG] Response body:
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>RequestTimeout</Code><Message>Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.</Message><RequestId>CBA00F476A9A3607</RequestId><HostId>2/12VYfiizI7f5GtSCMKURg+uo5JoF93rPAQFQlhJGLincY6V6jD2FPxhdCycTzhqrEdZ9JtEpM=</HostId></Error>
2017-04-05 18:03:57,697 botocore.hooks [DEBUG] Event needs-retry.s3.PutObject: calling handler <botocore.retryhandler.RetryHandler object at 0x03BE1D70>
2017-04-05 18:03:57,697 botocore.retryhandler [DEBUG] retry needed: matching HTTP status and error code seen: 400, RequestTimeout
2017-04-05 18:03:57,697 botocore.retryhandler [DEBUG] Reached the maximum number of retry attempts: 5
2017-04-05 18:03:57,697 botocore.retryhandler [DEBUG] No retry needed.
2017-04-05 18:03:57,698 botocore.hooks [DEBUG] Event needs-retry.s3.PutObject: calling handler <bound method S3RegionRedirector.redirect_from_error of <botocore.utils.S3RegionRedirector object at 0x03C31BD0>>
Traceback (most recent call last):
File "uploader.py", line 60, in <module>
upload_build(options.source, options.type)
File "uploader.py", line 44, in upload_build
upload_response = s3.put_object(Bucket=target_bucket, Body=zip_to_upload, Key=build_type+".zip")
File "C:\Python27\lib\site-packages\botocore\client.py", line 253, in _api_call
return self._make_api_call(operation_name, kwargs)
File "C:\Python27\lib\site-packages\botocore\client.py", line 544, in _make_api_call
raise error_class(parsed_response, operation_name)
botocore.exceptions.ClientError: An error occurred (RequestTimeout) when calling the PutObject operation (reached max retries: 4): Your socket connection to the server was not read from or written to within the timeout period. Idle connections will be closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment