Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Case 180201201 - ERR_CONNECTION_RESET when PUTting to S3
createCORSRequest: (method, url) ->
xhr = new XMLHttpRequest()
if xhr.withCredentials?
xhr.open method, url, true
else if typeof XDomainRequest != "undefined"
xhr = new XDomainRequest()
xhr.open method, url
else
xhr = null
xhr
uploadToS3: (file, signature) ->
this_s3upload = this
this_s3upload.signature = signature
url = signature.signed_request
xhr = @createCORSRequest 'PUT', decodeURIComponent(signature.signed_request)
if !xhr
@onError 'CORS not supported'
else
xhr.onload = () ->
if xhr.status == 200
this_s3upload.onProgress 100, 'Upload completed.'
this_s3upload.onFinishS3Put file, this_s3upload.signature
else
this_s3upload.onError file, 'Upload error: ' + xhr.status
xhr.onerror = () ->
this_s3upload.onError file, 'XHR error.', this_s3upload.signature
xhr.upload.onprogress = (e) ->
if e.lengthComputable
percentLoaded = Math.round (e.loaded / e.total) * 100
if percentLoaded == 100
message = "Finalizing"
else
message = "Uploading"
this_s3upload.onProgress xhr, file, percentLoaded, message, this_s3upload.signature
xhr.onabort = ->
this_s3upload.onAbort file, "XHR cancelled by user.", this_s3upload.signature
xhr.setRequestHeader 'Content-Type', file.type
xhr.setRequestHeader 'x-amz-acl', 'public-read'
xhr.send file
452133: SOCKET
pm/ssl/vbenergyzone_staging.s3.amazonaws.com:443
Start Time: 2014-04-02 12:14:00.697
t=1396458840697 [st= 0] +SOCKET_ALIVE [dt=1234]
--> source_dependency = 452126 (CONNECT_JOB)
t=1396458840697 [st= 0] +TCP_CONNECT [dt=48]
--> address_list = ["176.32.99.153:443"]
t=1396458840697 [st= 0] TCP_CONNECT_ATTEMPT [dt=48]
--> address = "176.32.99.153:443"
t=1396458840745 [st= 48] -TCP_CONNECT
--> source_address = "192.168.5.100:65236"
t=1396458840745 [st= 48] +SOCKET_IN_USE [dt=1186]
--> source_dependency = 452125 (CONNECT_JOB)
t=1396458840745 [st= 48] +SSL_CONNECT [dt=117]
t=1396458840746 [st= 49] SOCKET_BYTES_SENT
--> byte_count = 517
t=1396458840795 [st= 98] SOCKET_BYTES_RECEIVED
--> byte_count = 1460
t=1396458840795 [st= 98] SOCKET_BYTES_RECEIVED
--> byte_count = 1460
t=1396458840796 [st= 99] SOCKET_BYTES_RECEIVED
--> byte_count = 1281
t=1396458840797 [st= 100] SOCKET_BYTES_SENT
--> byte_count = 342
t=1396458840861 [st= 164] SOCKET_BYTES_RECEIVED
--> byte_count = 6
t=1396458840861 [st= 164] SOCKET_BYTES_RECEIVED
--> byte_count = 69
t=1396458840862 [st= 165] SSL_CERTIFICATES_RECEIVED
--> certificates =
-----BEGIN CERTIFICATE-----
MIIFQTCCBCmgAwIBAgIQbAV+cFXJqNM5CBNvFjOtdDANBgkqhkiG9w0BAQUFADCB
tTELMAkGA1UEBhMCVVMxFzAVBgNVBAoTDlZlcmlTaWduLCBJbmMuMR8wHQYDVQQL
ExZWZXJpU2lnbiBUcnVzdCBOZXR3b3JrMTswOQYDVQQLEzJUZXJtcyBvZiB1c2Ug
YXQgaHR0cHM6Ly93d3cudmVyaXNpZ24uY29tL3JwYSAoYykxMDEvMC0GA1UEAxMm
VmVyaVNpZ24gQ2xhc3MgMyBTZWN1cmUgU2VydmVyIENBIC0gRzMwHhcNMTMxMDIy
MDAwMDAwWhcNMTQxMDIyMjM1OTU5WjBrMQswCQYDVQQGEwJVUzETMBEGA1UECBMK
V2FzaGluZ3RvbjEQMA4GA1UEBxQHU2VhdHRsZTEYMBYGA1UEChQPQW1hem9uLmNv
bSBJbmMuMRswGQYDVQQDFBIqLnMzLmFtYXpvbmF3cy5jb20wggEiMA0GCSqGSIb3
DQEBAQUAA4IBDwAwggEKAoIBAQDao3acOGvYuLqiJE6z3WqadKgeBtO/dvZZilWe
SqFXh7yONdLbI91Y11oxLIGG2kBDSZpcFv5lhkz6i3nuczA+hFZKijGFH4+Aa2KZ
RyuSCOhxf/I1kiW0mo5ALt/OtwTbw8UqbGUJtD5c3ORFRxST2aGkdKmAIjLO0wkA
9/m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1UdDwEB/wQEAwIBBjA9
BgNVHSAENjA0MDIGBFUdIAAwKjAoBggrBgEFBQcCARYcaHR0cHM6Ly93d3cudmVy
aXNpZ24uY29tL2NwczAdBgNVHQ4EFgQUf9Nlp8Ld7LvwMAnzQzn6Aq8zMTMwNAYD
VR0lBC0wKwYJYIZIAYb4QgQBBgpghkgBhvhFAQgBBggrBgEFBQcDAQYIKwYBBQUH
AwIwbQYIKwYBBQUHAQwEYTBfoV2gWzBZMFcwVRYJaW1hZ2UvZ2lmMCEwHzAHBgUr
DgMCGgQUj+XTGoasjY5rw8+AatRIGCx7GS4wJRYjaHR0cDovL2xvZ28udmVyaXNp
Z24uY29tL3ZzbG9nby5naWYwNAYIKwYBBQUHAQEEKDAmMCQGCCsGAQUFBzABhhho
dHRwOi8vb2NzcC52ZXJpc2lnbi5jb20wDQYJKoZIhvcNAQEFBQADgYEADyWuSO0b
M4VMDLXC1/5N1oMoTEFlYAALd0hxgv5/21oOIMzS6ke8ZEJhRDR0MIGBJopK90Rd
fjSAqLiD4gnXbSPdie0oCL1jWhFXCMSe2uJoKK/dUDzsgiHYAMJVRFBwQa2DF3m6
CPMr3u00HUSe0gST9MsFFy0JLS1j7/YmC3s=
-----END CERTIFICATE-----
t=1396458840862 [st= 165] SIGNED_CERTIFICATE_TIMESTAMPS_RECEIVED
--> embedded_scts = ""
--> scts_from_ocsp_response = ""
--> scts_from_tls_extension = ""
t=1396458840862 [st= 165] SIGNED_CERTIFICATE_TIMESTAMPS_CHECKED
--> invalid_scts = []
--> unknown_logs_scts = []
--> verified_scts = []
t=1396458840862 [st= 165] -SSL_CONNECT
t=1396458840862 [st= 165] +SOCKET_IN_USE [dt=1069]
--> source_dependency = 452122 (HTTP_STREAM_JOB)
t=1396458840863 [st= 166] SSL_SOCKET_BYTES_SENT
--> byte_count = 690
t=1396458840863 [st= 166] SOCKET_BYTES_SENT
--> byte_count = 741
t=1396458841078 [st= 381] SSL_SOCKET_BYTES_SENT
--> byte_count = 16384
t=1396458841078 [st= 381] SOCKET_BYTES_SENT
--> byte_count = 16437
t=1396458841288 [st= 591] SSL_SOCKET_BYTES_SENT
--> byte_count = 16384
t=1396458841288 [st= 591] SOCKET_BYTES_SENT
--> byte_count = 16437
t=1396458841347 [st= 650] SSL_SOCKET_BYTES_SENT
--> byte_count = 16384
t=1396458841347 [st= 650] SOCKET_BYTES_SENT
--> byte_count = 16437
t=1396458841602 [st= 905] SSL_SOCKET_BYTES_SENT
--> byte_count = 16384
t=1396458841603 [st= 906] SOCKET_BYTES_SENT
--> byte_count = 16437
t=1396458841607 [st= 910] SSL_SOCKET_BYTES_SENT
--> byte_count = 16384
t=1396458841607 [st= 910] SOCKET_BYTES_SENT
--> byte_count = 16437
t=1396458841852 [st=1155] SSL_SOCKET_BYTES_SENT
--> byte_count = 16384
t=1396458841852 [st=1155] SOCKET_BYTES_SENT
--> byte_count = 16437
t=1396458841854 [st=1157] SSL_SOCKET_BYTES_SENT
--> byte_count = 16384
t=1396458841855 [st=1158] SOCKET_BYTES_SENT
--> byte_count = 16437
t=1396458841855 [st=1158] SSL_SOCKET_BYTES_SENT
--> byte_count = 16384
t=1396458841855 [st=1158] SOCKET_BYTES_SENT
--> byte_count = 16437
t=1396458841856 [st=1159] SSL_SOCKET_BYTES_SENT
--> byte_count = 16384
t=1396458841856 [st=1159] SOCKET_BYTES_SENT
--> byte_count = 16437
t=1396458841879 [st=1182] SSL_SOCKET_BYTES_SENT
--> byte_count = 16384
t=1396458841879 [st=1182] SOCKET_BYTES_SENT
--> byte_count = 16437
t=1396458841880 [st=1183] SSL_SOCKET_BYTES_SENT
--> byte_count = 16384
t=1396458841880 [st=1183] SOCKET_BYTES_SENT
--> byte_count = 16437
t=1396458841880 [st=1183] SSL_SOCKET_BYTES_SENT
--> byte_count = 16384
t=1396458841880 [st=1183] SOCKET_BYTES_SENT
--> byte_count = 16437
t=1396458841881 [st=1184] SSL_SOCKET_BYTES_SENT
--> byte_count = 16384
t=1396458841881 [st=1184] SOCKET_BYTES_SENT
--> byte_count = 16341
t=1396458841881 [st=1184] SSL_SOCKET_BYTES_SENT
--> byte_count = 16384
t=1396458841882 [st=1185] SSL_SOCKET_BYTES_SENT
--> byte_count = 16383
t=1396458841913 [st=1216] SOCKET_BYTES_SENT
--> byte_count = 96
t=1396458841913 [st=1216] SOCKET_BYTES_SENT
--> byte_count = 2496
t=1396458841914 [st=1217] SOCKET_BYTES_SENT
--> byte_count = 2920
t=1396458841915 [st=1218] SOCKET_BYTES_SENT
--> byte_count = 2920
t=1396458841917 [st=1220] SOCKET_BYTES_SENT
--> byte_count = 2920
t=1396458841917 [st=1220] SOCKET_BYTES_SENT
--> byte_count = 2920
t=1396458841922 [st=1225] SOCKET_BYTES_SENT
--> byte_count = 4757
t=1396458841922 [st=1225] SSL_SOCKET_BYTES_SENT
--> byte_count = 1
t=1396458841923 [st=1226] SSL_SOCKET_BYTES_SENT
--> byte_count = 16383
t=1396458841923 [st=1226] SOCKET_BYTES_SENT
--> byte_count = 2920
t=1396458841924 [st=1227] SOCKET_BYTES_SENT
--> byte_count = 2920
t=1396458841925 [st=1228] SOCKET_BYTES_SENT
--> byte_count = 2920
t=1396458841928 [st=1231] SOCKET_BYTES_SENT
--> byte_count = 2920
t=1396458841930 [st=1233] SOCKET_WRITE_ERROR
--> net_error = -101 (ERR_CONNECTION_RESET)
--> os_error = 32
t=1396458841930 [st=1233] SSL_WRITE_ERROR
--> net_error = -101 (ERR_CONNECTION_RESET)
--> ssl_lib_error = -5961
t=1396458841930 [st=1233] SOCKET_WRITE_ERROR
--> net_error = -101 (ERR_CONNECTION_RESET)
--> os_error = 32
t=1396458841931 [st=1234] -SOCKET_IN_USE
t=1396458841931 [st=1234] -SOCKET_IN_USE
t=1396458841931 [st=1234] -SOCKET_ALIVE
452103: URL_REQUEST
https://vbenergyzone_staging.s3.amazonaws.com/media/attachments/f7eabd2984c343e3b32c7e0b9ef500fc/Erik%20Evenson%E2%80%99s%20%205S_IMG_3125.JPG?AWSAccessKeyId=AKIAJHTRCN3EKRJUYOYA&Expires=1396458905&Signature=hCYU56b+oKfJ/LuA58vvNJUVbVE=
Start Time: 2014-04-02 12:13:59.163
t=1396458839163 [st= 0] +REQUEST_ALIVE [dt=1027]
t=1396458839163 [st= 0] URL_REQUEST_DELEGATE [dt=0]
t=1396458839163 [st= 0] +URL_REQUEST_START_JOB [dt=246]
--> load_flags = 9322753 (DO_NOT_SAVE_COOKIES | DO_NOT_SEND_AUTH_DATA | DO_NOT_SEND_COOKIES | ENABLE_LOAD_TIMING | REPORT_RAW_HEADERS | VALIDATE_CACHE | VERIFY_EV_CERT)
--> method = "OPTIONS"
--> priority = "LOW"
--> url = "https://vbenergyzone_staging.s3.amazonaws.com/media/attachments/f7eabd2984c343e3b32c7e0b9ef500fc/Erik%20Evenson%E2%80%99s%20%205S_IMG_3125.JPG?AWSAccessKeyId=AKIAJHTRCN3EKRJUYOYA&Expires=1396458905&Signature=hCYU56b+oKfJ/LuA58vvNJUVbVE="
t=1396458839163 [st= 0] URL_REQUEST_DELEGATE [dt=0]
t=1396458839164 [st= 1] HTTP_CACHE_GET_BACKEND [dt=0]
t=1396458839164 [st= 1] +HTTP_STREAM_REQUEST [dt=186]
t=1396458839350 [st= 187] HTTP_STREAM_REQUEST_BOUND_TO_JOB
--> source_dependency = 452105 (HTTP_STREAM_JOB)
t=1396458839350 [st= 187] -HTTP_STREAM_REQUEST
t=1396458839350 [st= 187] +HTTP_TRANSACTION_SEND_REQUEST [dt=0]
t=1396458839350 [st= 187] HTTP_TRANSACTION_SEND_REQUEST_HEADERS
--> OPTIONS /media/attachments/f7eabd2984c343e3b32c7e0b9ef500fc/Erik%20Evenson%E2%80%99s%20%205S_IMG_3125.JPG?AWSAccessKeyId=AKIAJHTRCN3EKRJUYOYA&Expires=1396458905&Signature=hCYU56b+oKfJ/LuA58vvNJUVbVE= HTTP/1.1
Host: vbenergyzone_staging.s3.amazonaws.com
Connection: keep-alive
Cache-Control: no-cache
Pragma: no-cache
Access-Control-Request-Method: PUT
Origin: http://192.168.50.4:5000
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36
Access-Control-Request-Headers: x-amz-acl, content-type
Accept: */*
Referer: http://192.168.50.4:5000/spa_home/
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
t=1396458839350 [st= 187] -HTTP_TRANSACTION_SEND_REQUEST
t=1396458839350 [st= 187] +HTTP_TRANSACTION_READ_HEADERS [dt=59]
t=1396458839350 [st= 187] HTTP_STREAM_PARSER_READ_HEADERS [dt=59]
t=1396458839409 [st= 246] HTTP_TRANSACTION_READ_RESPONSE_HEADERS
--> HTTP/1.1 200 OK
x-amz-id-2: wL+ucbBwm3PSturjvutNxj2kl6iLBIHXD3EsnGBLj+l4sEvqZAumD6ezt8FVmLWk
x-amz-request-id: DCA2156497FF8D40
Date: Wed, 02 Apr 2014 17:15:00 GMT
Access-Control-Allow-Origin: *
Access-Control-Allow-Methods: GET, POST, PUT
Access-Control-Allow-Headers: x-amz-acl, content-type
Vary: Origin, Access-Control-Request-Headers, Access-Control-Request-Method
Content-Length: 0
Server: AmazonS3
t=1396458839409 [st= 246] -HTTP_TRANSACTION_READ_HEADERS
t=1396458839409 [st= 246] URL_REQUEST_DELEGATE [dt=0]
t=1396458839409 [st= 246] -URL_REQUEST_START_JOB
t=1396458839409 [st= 246] URL_REQUEST_DELEGATE [dt=781]
t=1396458840190 [st=1027] HTTP_TRANSACTION_READ_BODY [dt=0]
t=1396458840190 [st=1027] -REQUEST_ALIVE
452117: URL_REQUEST
https://vbenergyzone_staging.s3.amazonaws.com/media/attachments/f7eabd2984c343e3b32c7e0b9ef500fc/Erik%20Evenson%E2%80%99s%20%205S_IMG_3125.JPG?AWSAccessKeyId=AKIAJHTRCN3EKRJUYOYA&Expires=1396458905&Signature=hCYU56b+oKfJ/LuA58vvNJUVbVE=
Start Time: 2014-04-02 12:14:00.192
t=1396458840192 [st= 0] +REQUEST_ALIVE [dt=1739]
t=1396458840192 [st= 0] URL_REQUEST_DELEGATE [dt=0]
t=1396458840192 [st= 0] +URL_REQUEST_START_JOB [dt=1738]
--> load_flags = 9322881 (DO_NOT_SAVE_COOKIES | DO_NOT_SEND_AUTH_DATA | DO_NOT_SEND_COOKIES | ENABLE_LOAD_TIMING | ENABLE_UPLOAD_PROGRESS | REPORT_RAW_HEADERS | VALIDATE_CACHE | VERIFY_EV_CERT)
--> method = "PUT"
--> priority = "LOW"
--> upload_id = "0"
--> url = "https://vbenergyzone_staging.s3.amazonaws.com/media/attachments/f7eabd2984c343e3b32c7e0b9ef500fc/Erik%20Evenson%E2%80%99s%20%205S_IMG_3125.JPG?AWSAccessKeyId=AKIAJHTRCN3EKRJUYOYA&Expires=1396458905&Signature=hCYU56b+oKfJ/LuA58vvNJUVbVE="
t=1396458840193 [st= 1] URL_REQUEST_DELEGATE [dt=0]
t=1396458840193 [st= 1] HTTP_CACHE_GET_BACKEND [dt=0]
t=1396458840193 [st= 1] HTTP_CACHE_DOOM_ENTRY [dt=483]
--> net_error = -2 (ERR_FAILED)
t=1396458840676 [st= 484] HTTP_CACHE_CREATE_ENTRY [dt=0]
t=1396458840676 [st= 484] HTTP_CACHE_ADD_TO_ENTRY [dt=0]
t=1396458840676 [st= 484] +HTTP_STREAM_REQUEST [dt=186]
t=1396458840862 [st= 670] HTTP_STREAM_REQUEST_BOUND_TO_JOB
--> source_dependency = 452122 (HTTP_STREAM_JOB)
t=1396458840862 [st= 670] -HTTP_STREAM_REQUEST
t=1396458840862 [st= 670] +HTTP_TRANSACTION_SEND_REQUEST [dt=1068]
t=1396458840862 [st= 670] HTTP_TRANSACTION_SEND_REQUEST_HEADERS
--> PUT /media/attachments/f7eabd2984c343e3b32c7e0b9ef500fc/Erik%20Evenson%E2%80%99s%20%205S_IMG_3125.JPG?AWSAccessKeyId=AKIAJHTRCN3EKRJUYOYA&Expires=1396458905&Signature=hCYU56b+oKfJ/LuA58vvNJUVbVE= HTTP/1.1
Host: vbenergyzone_staging.s3.amazonaws.com
Connection: keep-alive
Content-Length: 1767415
Cache-Control: no-cache
Pragma: no-cache
x-amz-acl: public-read
Origin: http://192.168.50.4:5000
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36
Content-Type: image/jpeg
Accept: */*
Referer: http://192.168.50.4:5000/spa_home/
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
t=1396458840863 [st= 671] HTTP_TRANSACTION_SEND_REQUEST_BODY
--> did_merge = false
--> is_chunked = false
--> length = 1767415
t=1396458841930 [st=1738] -HTTP_TRANSACTION_SEND_REQUEST
--> net_error = -101 (ERR_CONNECTION_RESET)
t=1396458841930 [st=1738] -URL_REQUEST_START_JOB
--> net_error = -101 (ERR_CONNECTION_RESET)
t=1396458841930 [st=1738] URL_REQUEST_DELEGATE [dt=1]
t=1396458841931 [st=1739] -REQUEST_ALIVE
--> net_error = -101 (ERR_CONNECTION_RESET)
@Marak

This comment has been minimized.

Copy link

commented Nov 6, 2015

@ErikEvenson -

Did you have any luck resolving this?

Do you know the best way to recover on the client from s3 ERR_CONNECTION_RESET without having to restart the entire upload?

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.