[Cyberduck-trac] [Cyberduck] #9916: Downloads from Encrypted Vault on Backblaze B2 Fail
Cyberduck
trac at cyberduck.io
Sat Apr 15 11:18:22 UTC 2017
#9916: Downloads from Encrypted Vault on Backblaze B2 Fail
----------------------------------------+------------------------------
Reporter: ftischhauser | Owner: dkocher
Type: defect | Status: reopened
Priority: normal | Milestone: 6.0
Component: cryptomator | Version: Nightly Build
Severity: normal | Resolution:
Keywords: b2, backblaze, cryptomator | Architecture:
Platform: Windows 10 |
----------------------------------------+------------------------------
Changes (by ftischhauser):
* status: closed => reopened
* resolution: fixed =>
Old description:
> Thanks to the fixes in [ticket:9895] I can now upload to a cryptomator
> vault on B2 with the latest nightly build. Unfortunately downloads are
> still failing.
>
> With a small (10MB) file I receive the following error after the
> download:
> {{{Mismatch between SHA1 hash of downloaded data and checksum returned by
> the server.}}}
>
> A large (300MB) file doesn't even start downloading:
> {{{Unknown runtime application error.}}}
>
> Could you please give cryptomator on B2 another look? Thanks!
New description:
Thanks to the fixes in [ticket:9895] I can now upload to a cryptomator
vault on B2 with the latest nightly build. Unfortunately downloads are
still failing.
With a small (10MB) file I receive the following error after the download:
'''Transfer incomplete''' (although the file has been downloaded
correctly).
Transfer log:
{{{
GET /b2api/v1/b2_authorize_account HTTP/1.1
Authorization: ********
Host: api.backblazeb2.com
Connection: Keep-Alive
User-Agent: Cyberduck/6.0.0.23927 (Windows 10/10.0) (x86)
Accept-Encoding: gzip,deflate
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: max-age=0, no-cache, no-store
Content-Type: application/json;charset=UTF-8
Content-Length: 354
Date: Sat, 15 Apr 2017 11:13:01 GMT
POST /b2api/v1/b2_list_buckets HTTP/1.1
Authorization: ********
Content-Type: application/x-www-form-urlencoded
Content-Length: 28
Host: api001.backblazeb2.com
Connection: Keep-Alive
User-Agent: Cyberduck/6.0.0.23927 (Windows 10/10.0) (x86)
Accept-Encoding: gzip,deflate
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: max-age=0, no-cache, no-store
Content-Type: application/json;charset=UTF-8
Content-Length: 489
Date: Sat, 15 Apr 2017 11:13:01 GMT
POST /b2api/v1/b2_list_file_versions HTTP/1.1
Authorization: ********
Content-Type: application/x-www-form-urlencoded
Content-Length: 96
Host: api001.backblazeb2.com
Connection: Keep-Alive
User-Agent: Cyberduck/6.0.0.23927 (Windows 10/10.0) (x86)
Accept-Encoding: gzip,deflate
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: max-age=0, no-cache, no-store
Content-Type: application/json;charset=UTF-8
Content-Length: 473
Date: Sat, 15 Apr 2017 11:13:02 GMT
GET
/b2api/v1/b2_download_file_by_id?fileId=4_z7671649c49dc79165ab30f17_f117e83ab7f4bade2_d20170415_m110911_c001_v0001039_t0017
HTTP/1.1
Authorization: ********
Content-Type: application/x-www-form-urlencoded
Host: f001.backblazeb2.com
Connection: Keep-Alive
User-Agent: Cyberduck/6.0.0.23927 (Windows 10/10.0) (x86)
Accept-Encoding: gzip,deflate
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: max-age=0, no-cache, no-store
x-bz-file-name: masterkey.cryptomator
x-bz-file-id:
4_z7671649c49dc79165ab30f17_f117e83ab7f4bade2_d20170415_m110911_c001_v0001039_t0017
x-bz-content-sha1: 6cdb7559797625a20a480f4d2048d328725ed936
X-Bz-Upload-Timestamp: 1492254551000
Accept-Ranges: bytes
Content-Type: application/octet-stream
Content-Length: 327
Date: Sat, 15 Apr 2017 11:13:03 GMT
POST /b2api/v1/b2_list_buckets HTTP/1.1
Authorization: ********
Content-Type: application/x-www-form-urlencoded
Content-Length: 28
Host: api001.backblazeb2.com
Connection: Keep-Alive
User-Agent: Cyberduck/6.0.0.23927 (Windows 10/10.0) (x86)
Accept-Encoding: gzip,deflate
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: max-age=0, no-cache, no-store
Content-Type: application/json;charset=UTF-8
Content-Length: 489
Date: Sat, 15 Apr 2017 11:13:03 GMT
POST /b2api/v1/b2_list_file_versions HTTP/1.1
Authorization: ********
Content-Type: application/x-www-form-urlencoded
Content-Length: 177
Host: api001.backblazeb2.com
Connection: Keep-Alive
User-Agent: Cyberduck/6.0.0.23927 (Windows 10/10.0) (x86)
Accept-Encoding: gzip,deflate
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: max-age=0, no-cache, no-store
Content-Type: application/json;charset=UTF-8
Content-Length: 1400
Date: Sat, 15 Apr 2017 11:13:03 GMT
POST /b2api/v1/b2_list_buckets HTTP/1.1
Authorization: ********
Content-Type: application/x-www-form-urlencoded
Content-Length: 28
Host: api001.backblazeb2.com
Connection: Keep-Alive
User-Agent: Cyberduck/6.0.0.23927 (Windows 10/10.0) (x86)
Accept-Encoding: gzip,deflate
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: max-age=0, no-cache, no-store
Content-Type: application/json;charset=UTF-8
Content-Length: 489
Date: Sat, 15 Apr 2017 11:13:04 GMT
POST /b2api/v1/b2_list_file_versions HTTP/1.1
Authorization: ********
Content-Type: application/x-www-form-urlencoded
Content-Length: 151
Host: api001.backblazeb2.com
Connection: Keep-Alive
User-Agent: Cyberduck/6.0.0.23927 (Windows 10/10.0) (x86)
Accept-Encoding: gzip,deflate
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: max-age=0, no-cache, no-store
Content-Type: application/json;charset=UTF-8
Content-Length: 1045
Date: Sat, 15 Apr 2017 11:13:04 GMT
POST /b2api/v1/b2_get_file_info HTTP/1.1
Authorization: ********
Content-Type: application/x-www-form-urlencoded
Content-Length: 96
Host: api001.backblazeb2.com
Connection: Keep-Alive
User-Agent: Cyberduck/6.0.0.23927 (Windows 10/10.0) (x86)
Accept-Encoding: gzip,deflate
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: max-age=0, no-cache, no-store
Content-Type: application/json;charset=UTF-8
Content-Length: 480
Date: Sat, 15 Apr 2017 11:13:04 GMT
POST /b2api/v1/b2_list_buckets HTTP/1.1
Authorization: ********
Content-Type: application/x-www-form-urlencoded
Content-Length: 28
Host: api001.backblazeb2.com
Connection: Keep-Alive
User-Agent: Cyberduck/6.0.0.23927 (Windows 10/10.0) (x86)
Accept-Encoding: gzip,deflate
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: max-age=0, no-cache, no-store
Content-Type: application/json;charset=UTF-8
Content-Length: 489
Date: Sat, 15 Apr 2017 11:13:05 GMT
POST /b2api/v1/b2_list_file_versions HTTP/1.1
Authorization: ********
Content-Type: application/x-www-form-urlencoded
Content-Length: 151
Host: api001.backblazeb2.com
Connection: Keep-Alive
User-Agent: Cyberduck/6.0.0.23927 (Windows 10/10.0) (x86)
Accept-Encoding: gzip,deflate
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: max-age=0, no-cache, no-store
Content-Type: application/json;charset=UTF-8
Content-Length: 1045
Date: Sat, 15 Apr 2017 11:13:05 GMT
GET
/b2api/v1/b2_download_file_by_id?fileId=4_z7671649c49dc79165ab30f17_f112b6a079644b352_d20170415_m110948_c001_v0001039_t0047
HTTP/1.1
Authorization: ********
Content-Type: application/x-www-form-urlencoded
Host: f001.backblazeb2.com
Connection: Keep-Alive
User-Agent: Cyberduck/6.0.0.23927 (Windows 10/10.0) (x86)
Accept-Encoding: gzip,deflate
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: max-age=0, no-cache, no-store
x-bz-file-name:
d/LQ/WXTDPFAMFNQPB424A3V23F3TNIOTI5/TON5DBWILDOXGVFQMOJ3SF42NZ26AJQFEXXNW5I=
x-bz-file-id:
4_z7671649c49dc79165ab30f17_f112b6a079644b352_d20170415_m110948_c001_v0001039_t0047
x-bz-content-sha1: 8e66c9267aff82a2834ec2dd35e89d8332c0f107
X-Bz-Upload-Timestamp: 1492254588000
Accept-Ranges: bytes
Content-Type: application/octet-stream
Content-Length: 10014776
Date: Sat, 15 Apr 2017 11:13:05 GMT
}}}
A large (300MB) file doesn't even start downloading: '''Unknown runtime
application error'''.
Transfer log:
{{{
GET /b2api/v1/b2_authorize_account HTTP/1.1
Authorization: ********
Host: api.backblazeb2.com
Connection: Keep-Alive
User-Agent: Cyberduck/6.0.0.23927 (Windows 10/10.0) (x86)
Accept-Encoding: gzip,deflate
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: max-age=0, no-cache, no-store
Content-Type: application/json;charset=UTF-8
Content-Length: 354
Date: Sat, 15 Apr 2017 11:15:08 GMT
POST /b2api/v1/b2_list_buckets HTTP/1.1
Authorization: ********
Content-Type: application/x-www-form-urlencoded
Content-Length: 28
Host: api001.backblazeb2.com
Connection: Keep-Alive
User-Agent: Cyberduck/6.0.0.23927 (Windows 10/10.0) (x86)
Accept-Encoding: gzip,deflate
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: max-age=0, no-cache, no-store
Content-Type: application/json;charset=UTF-8
Content-Length: 489
Date: Sat, 15 Apr 2017 11:15:08 GMT
POST /b2api/v1/b2_list_file_versions HTTP/1.1
Authorization: ********
Content-Type: application/x-www-form-urlencoded
Content-Length: 96
Host: api001.backblazeb2.com
Connection: Keep-Alive
User-Agent: Cyberduck/6.0.0.23927 (Windows 10/10.0) (x86)
Accept-Encoding: gzip,deflate
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: max-age=0, no-cache, no-store
Content-Type: application/json;charset=UTF-8
Content-Length: 473
Date: Sat, 15 Apr 2017 11:15:08 GMT
GET
/b2api/v1/b2_download_file_by_id?fileId=4_z7671649c49dc79165ab30f17_f117e83ab7f4bade2_d20170415_m110911_c001_v0001039_t0017
HTTP/1.1
Authorization: ********
Content-Type: application/x-www-form-urlencoded
Host: f001.backblazeb2.com
Connection: Keep-Alive
User-Agent: Cyberduck/6.0.0.23927 (Windows 10/10.0) (x86)
Accept-Encoding: gzip,deflate
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: max-age=0, no-cache, no-store
x-bz-file-name: masterkey.cryptomator
x-bz-file-id:
4_z7671649c49dc79165ab30f17_f117e83ab7f4bade2_d20170415_m110911_c001_v0001039_t0017
x-bz-content-sha1: 6cdb7559797625a20a480f4d2048d328725ed936
X-Bz-Upload-Timestamp: 1492254551000
Accept-Ranges: bytes
Content-Type: application/octet-stream
Content-Length: 327
Date: Sat, 15 Apr 2017 11:15:10 GMT
POST /b2api/v1/b2_list_buckets HTTP/1.1
Authorization: ********
Content-Type: application/x-www-form-urlencoded
Content-Length: 28
Host: api001.backblazeb2.com
Connection: Keep-Alive
User-Agent: Cyberduck/6.0.0.23927 (Windows 10/10.0) (x86)
Accept-Encoding: gzip,deflate
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: max-age=0, no-cache, no-store
Content-Type: application/json;charset=UTF-8
Content-Length: 489
Date: Sat, 15 Apr 2017 11:15:10 GMT
POST /b2api/v1/b2_list_file_versions HTTP/1.1
Authorization: ********
Content-Type: application/x-www-form-urlencoded
Content-Length: 177
Host: api001.backblazeb2.com
Connection: Keep-Alive
User-Agent: Cyberduck/6.0.0.23927 (Windows 10/10.0) (x86)
Accept-Encoding: gzip,deflate
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: max-age=0, no-cache, no-store
Content-Type: application/json;charset=UTF-8
Content-Length: 1400
Date: Sat, 15 Apr 2017 11:15:10 GMT
POST /b2api/v1/b2_list_buckets HTTP/1.1
Authorization: ********
Content-Type: application/x-www-form-urlencoded
Content-Length: 28
Host: api001.backblazeb2.com
Connection: Keep-Alive
User-Agent: Cyberduck/6.0.0.23927 (Windows 10/10.0) (x86)
Accept-Encoding: gzip,deflate
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: max-age=0, no-cache, no-store
Content-Type: application/json;charset=UTF-8
Content-Length: 489
Date: Sat, 15 Apr 2017 11:15:10 GMT
POST /b2api/v1/b2_list_file_versions HTTP/1.1
Authorization: ********
Content-Type: application/x-www-form-urlencoded
Content-Length: 151
Host: api001.backblazeb2.com
Connection: Keep-Alive
User-Agent: Cyberduck/6.0.0.23927 (Windows 10/10.0) (x86)
Accept-Encoding: gzip,deflate
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: max-age=0, no-cache, no-store
Content-Type: application/json;charset=UTF-8
Content-Length: 1129
Date: Sat, 15 Apr 2017 11:15:11 GMT
POST /b2api/v1/b2_get_file_info HTTP/1.1
Authorization: ********
Content-Type: application/x-www-form-urlencoded
Content-Length: 96
Host: api001.backblazeb2.com
Connection: Keep-Alive
User-Agent: Cyberduck/6.0.0.23927 (Windows 10/10.0) (x86)
Accept-Encoding: gzip,deflate
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: max-age=0, no-cache, no-store
Content-Type: application/json;charset=UTF-8
Content-Length: 445
Date: Sat, 15 Apr 2017 11:15:11 GMT
POST /b2api/v1/b2_list_buckets HTTP/1.1
Authorization: ********
Content-Type: application/x-www-form-urlencoded
Content-Length: 28
Host: api001.backblazeb2.com
Connection: Keep-Alive
User-Agent: Cyberduck/6.0.0.23927 (Windows 10/10.0) (x86)
Accept-Encoding: gzip,deflate
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: max-age=0, no-cache, no-store
Content-Type: application/json;charset=UTF-8
Content-Length: 489
Date: Sat, 15 Apr 2017 11:15:11 GMT
POST /b2api/v1/b2_list_file_versions HTTP/1.1
Authorization: ********
Content-Type: application/x-www-form-urlencoded
Content-Length: 151
Host: api001.backblazeb2.com
Connection: Keep-Alive
User-Agent: Cyberduck/6.0.0.23927 (Windows 10/10.0) (x86)
Accept-Encoding: gzip,deflate
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: max-age=0, no-cache, no-store
Content-Type: application/json;charset=UTF-8
Content-Length: 1129
Date: Sat, 15 Apr 2017 11:15:11 GMT
GET
/b2api/v1/b2_download_file_by_id?fileId=4_z7671649c49dc79165ab30f17_f20083e32277b0542_d20170415_m111007_c001_v0001015_t0000
HTTP/1.1
Authorization: ********
Content-Type: application/x-www-form-urlencoded
Host: f001.backblazeb2.com
Connection: Keep-Alive
User-Agent: Cyberduck/6.0.0.23927 (Windows 10/10.0) (x86)
Accept-Encoding: gzip,deflate
HTTP/1.1 200 OK
Server: Apache-Coyote/1.1
Cache-Control: max-age=0, no-cache, no-store
x-bz-file-name:
d/LQ/WXTDPFAMFNQPB424A3V23F3TNIOTI5/DXUCNPKHPHTOJ2FVQGBLHWD5FZFGHK2LOZVFLDYM
x-bz-file-id:
4_z7671649c49dc79165ab30f17_f20083e32277b0542_d20170415_m111007_c001_v0001015_t0000
x-bz-content-sha1: none
X-Bz-Upload-Timestamp: 1492254607000
Accept-Ranges: bytes
Content-Type: application/octet-stream
Content-Length: 300000000
Date: Sat, 15 Apr 2017 11:15:12 GMT
}}}
The cyberduck.log file only contains the following entries:
{{{
2017-04-15 13:09:30,317 [background-15] ERROR
ch.cyberduck.core.vault.DecryptingListProgressListener - Failure
decrypting
Path{path='/cdenctest2/d/LQ/WXTDPFAMFNQPB424A3V23F3TNIOTI5/.bzEmpty',
type=[file]}. Failure to decrypt due to missing pattern match for
^0?(([A-Z2-7]{8})*[A-Z2-7=]{8}).
2017-04-15 13:09:57,070 [background-17] ERROR
ch.cyberduck.core.vault.DecryptingListProgressListener - Failure
decrypting
Path{path='/cdenctest2/d/LQ/WXTDPFAMFNQPB424A3V23F3TNIOTI5/.bzEmpty',
type=[file]}. Failure to decrypt due to missing pattern match for
^0?(([A-Z2-7]{8})*[A-Z2-7=]{8}).
2017-04-15 13:11:45,791 [background-19] ERROR
ch.cyberduck.core.vault.DecryptingListProgressListener - Failure
decrypting
Path{path='/cdenctest2/d/LQ/WXTDPFAMFNQPB424A3V23F3TNIOTI5/.bzEmpty',
type=[file]}. Failure to decrypt due to missing pattern match for
^0?(([A-Z2-7]{8})*[A-Z2-7=]{8}).
2017-04-15 13:12:04,463 [background-20] ERROR
ch.cyberduck.core.vault.DecryptingListProgressListener - Failure
decrypting
Path{path='/cdenctest2/d/LQ/WXTDPFAMFNQPB424A3V23F3TNIOTI5/.bzEmpty',
type=[file]}. Failure to decrypt due to missing pattern match for
^0?(([A-Z2-7]{8})*[A-Z2-7=]{8}).
2017-04-15 13:12:51,768 [background-6] ERROR
ch.cyberduck.core.vault.DecryptingListProgressListener - Failure
decrypting
Path{path='/cdenctest2/d/LQ/WXTDPFAMFNQPB424A3V23F3TNIOTI5/.bzEmpty',
type=[file]}. Failure to decrypt due to missing pattern match for
^0?(([A-Z2-7]{8})*[A-Z2-7=]{8}).
2017-04-15 13:15:00,071 [background-6] ERROR
ch.cyberduck.core.vault.DecryptingListProgressListener - Failure
decrypting
Path{path='/cdenctest2/d/LQ/WXTDPFAMFNQPB424A3V23F3TNIOTI5/.bzEmpty',
type=[file]}. Failure to decrypt due to missing pattern match for
^0?(([A-Z2-7]{8})*[A-Z2-7=]{8}).
}}}
Could you please give cryptomator on B2 another look? Thanks!
--
Comment:
Unfortunately there are still download issues with the latest nightly
build (6.0.0.23927), I have updated the error messages and added the
transfer and error logs from a fresh test.
--
Ticket URL: <https://trac.cyberduck.io/ticket/9916#comment:5>
Cyberduck <https://cyberduck.io>
Libre FTP, SFTP, WebDAV, S3 & OpenStack Swift browser for Mac and Windows
More information about the Cyberduck-trac
mailing list