[Cyberduck-trac] [Cyberduck] #10612: Failure proposed upload exceeds the maximum allowed size

Cyberduck trac at cyberduck.io
Fri Feb 22 13:48:37 UTC 2019


#10612: Failure proposed upload exceeds the maximum allowed size
-------------------------+-------------------------
 Reporter:  MarkBlaise   |         Owner:  dkocher
     Type:  defect       |        Status:  assigned
 Priority:  normal       |     Milestone:  6.9.4
Component:  s3           |       Version:  6.9.0
 Severity:  normal       |    Resolution:
 Keywords:               |  Architecture:  Intel
 Platform:  Windows 8.1  |
-------------------------+-------------------------

Comment (by dkocher):

 Looks like we have a off-by-one error not honouring the maximum allowed
 part numbers of `10000`.

 {{{
 > PUT /Bax-Backup/Test/20190209-Guinan-Full-Bax-
 Bck_20190210015533.nbd?uploadId=NRsgz5u5WjpWStxNsM_GiGfA0JqXkhFqIX65A-
 2CdckhO1HN0IMsus8d4tkAy5Erw-hZuh8KyawLEEHef-b1SFs-
 tkYkQCa3YD6Kw7T17nknrBvNc7W0ZVhKF5xnLbmJ&partNumber=10000 HTTP/1.1
 > Date: Sat, 16 Feb 2019 13:34:04 GMT
 > Expect: 100-continue
 > Content-Type: application/octet-stream
 > x-amz-content-sha256:
 5a80beadfcb8c94f27eb3de82070b65379b861340d05b1c60acb8f73a3dbd9ff
 > Host: s3.wasabisys.com
 > x-amz-date: 20190216T133404Z
 > Authorization: ********
 > Content-Length: 12568479
 > Connection: Keep-Alive
 > User-Agent: Cyberduck/6.9.0.29768 (Windows 8.1/6.3) (x86)

 }}}

 {{{
 > PUT /Bax-Backup/Test/20190209-Guinan-Full-Bax-
 Bck_20190210015533.nbd?uploadId=NRsgz5u5WjpWStxNsM_GiGfA0JqXkhFqIX65A-
 2CdckhO1HN0IMsus8d4tkAy5Erw-hZuh8KyawLEEHef-b1SFs-
 tkYkQCa3YD6Kw7T17nknrBvNc7W0ZVhKF5xnLbmJ&partNumber=10001 HTTP/1.1
 > Date: Sat, 16 Feb 2019 13:34:01 GMT
 > Expect: 100-continue
 > Content-Type: application/octet-stream
 > x-amz-content-sha256:
 c54312c5ef3d4ca036aeb70d2d17607cee8b60ad473b27abb3390e594b51e391
 > Host: s3.wasabisys.com
 > x-amz-date: 20190216T133401Z
 > Authorization: ********
 > Content-Length: 6350
 > Connection: Keep-Alive
 > User-Agent: Cyberduck/6.9.0.29768 (Windows 8.1/6.3) (x86)
 }}}

 Presumably this request is failing and followed by the fallback to upload
 the file in a single `PUT` with the full `125684796350` content length.


 {{{
 > PUT /Bax-Backup/Test/20190209-Guinan-Full-Bax-Bck_20190210015533.nbd
 HTTP/1.1
 > Date: Sat, 16 Feb 2019 13:34:06 GMT
 > Expect: 100-continue
 > Content-Type: application/octet-stream
 > x-amz-content-sha256:
 fed4d2ddbbdc9213fe7f7ddb5fbac6df82020731316745e878af092bbe46eabf
 > Host: s3.wasabisys.com
 > x-amz-date: 20190216T133406Z
 > Authorization: ********
 > Content-Length: 125684796350
 > Connection: Keep-Alive
 > User-Agent: Cyberduck/6.9.0.29768 (Windows 8.1/6.3) (x86)
 }}}

--
Ticket URL: <https://trac.cyberduck.io/ticket/10612#comment:18>
Cyberduck <https://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows


More information about the Cyberduck-trac mailing list