-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Duplicate
-
Affects Version/s: 4.4.5
-
Fix Version/s: 4.4.5
-
Component/s: Synchronizer
-
Tags:
Drive (reproduced with 4.4.5 on Mac and Windows) + encryoted S3 cannot synchronize remotely uploaded binaries.
Typical error messages include HTTP 416:
2020-09-15 09:02:25 3296 12884 DEBUG nuxeo.client Response from 'https://drive-test-s3encryption-1.s3.eu-west-1.amazonaws.com/myfolder/b4b06c94-bd99-4917-9580-4ee8654cf99a?[...]&X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Date=20200915T070225Z&X-Amz-SignedHeaders=host&X-Amz-Expires=36000&X-Amz-Credential=[...]%2Feu-west-1%2Fs3%2Faws4_request&X-Amz-Signature=015e1c41559d3cb33c50969bc2d0b32647e79aae69680a5020583d860d5267e1' [416]: '<?xml version="1.0" encoding="UTF-8"?>\n<Error><Code>InvalidRange</Code><Message>The requested range is not satisfiable</Message><RangeRequested>bytes=63442-</RangeRequested><ActualObjectSize>63442</ActualObjectSize><RequestId>E84AC831BB243891</RequestId><HostId>IJFb4iaszwBIOu1/S6h8ZPyNuihkUmHjViTIP7E4YlqumzGdXFMK5aT0yZ3mffv6EAeBNXb/P04=</HostId></Error>' with headers {'x-amz-request-id': 'E84AC831BB243891', 'x-amz-id-2': 'IJFb4iaszwBIOu1/S6h8ZPyNuihkUmHjViTIP7E4YlqumzGdXFMK5aT0yZ3mffv6EAeBNXb/P04=', 'Content-Type': 'application/xml', 'Transfer-Encoding': 'chunked', 'Date': 'Tue, 15 Sep 2020 07:02:20 GMT', 'Server': 'AmazonS3'} and cookies <RequestsCookieJar[]>
and
2020-09-15 09:03:27 3296 25036 INFO nxdrive.engine.workers Increasing error [CORRUPT] (CorruptedFile WindowsPath('//?/C:/Users/[...]/.nuxeo-drive/.tmp/41115518f72111eab00300e04c68669a/00970156-f276-4765-9917-1b144ea58b11/report_200915_084553.zip'): server digest is 'e0efbbbc9953d118c1d18132d5d79f22', local digest is '1470c5a5a39967272fb6cd473be2919b') for <DocPair[14] local_path=WindowsPath('WS/Folder4/report_200915_084553.zip'), local_parent_path=WindowsPath('WS/Folder4'), remote_ref='defaultFileSystemItemFactory#default#00970156-f276-4765-9917-1b144ea58b11', local_state='unknown', remote_state='created', pair_state='remotely_created',>
How to reproduce?
Client-side: prepare a Drive client with or without S3 beta features activated
Create a Nuxeo Server 10.10+HF31 with encrypted S3 support (e.g. Direct Upload / Direct Download)
Create on Nuxeo Server a Drive synchronized workspace WS
Create on Nuxeo Server in WS a Folder Folder
Create on Nuxeo Server in Folder a File Support.jpeg
Observe that on Drive client-side, Folder is created but not Support.jpeg
Observe error messages in nxdrive.log
- duplicates
-
NXDRIVE-2307 Add the disabled_file_integrity_check option to disable downloaded files integrity check
- Resolved