Bugger. That's the v4-signature-failure that several people have reported
but I haven't been able to reproduce or explain myself. :-( Can you post
Post by Jeremy WadsackIt looks like the first request is returning 400 and then it falls back
DEBUG: format_uri(): /2K12-02-u_ex140131.log
'iX...J1ec/vu4VU=', 'server': 'AmazonS3', 'transfer-encoding': 'chunked',
'connection': 'close', 'x-amz-request-id': 'FB...17', 'date': 'Tue, 07 Apr
2015 17:18:33 GMT', 'content-type': 'application/xml'}, 'reason': 'Bad
Request'}
DEBUG: Falling back to signature v2
DEBUG: Using signature v2
...
DEBUG: format_uri(): /2K12-02-u_ex140131.log
DEBUG: Response: {'status': 200, 'headers': {'content-length': '345829',
'expiry-date="Wed, 22 Apr 2015 00:00:00 GMT", rule-id="Delete all files 14
days old or older"', 'last-modified': 'Tue, 07 Apr 2015 10:04:09 GMT',
'x-amz-request-id': 'D7...7E', 'etag': '"12...d53"', 'date': 'Tue, 07 Apr
'application/octet-stream'}, 'reason': 'OK'}
I redacted a bunch of stuff but let me know what else you need to figure
this out.
Jeremy Wadsack
Post by Matt DomschJeremy and/or Russell, can you run with --debug and see where the second
upload is coming from please?
Thanks,
Matt
On Tue, Apr 7, 2015 at 11:52 AM, Jeremy Wadsack <
Post by Jeremy WadsackI just upgraded locally (Mac) from 1.5.0-rc1 to 1.5.2 and see a double
$ s3cmd get s3://bucket-name/2K12-02-u_ex140131.log
s3://bucket-name/2K12-02-u_ex140131.log -> ./2K12-02-u_ex140131.log [1
of 1]
s3://bucket-name/2K12-02-u_ex140131.log -> ./2K12-02-u_ex140131.log [1
of 1]
345829 of 345829 100% in 1s 336.48 kB/s done
Jeremy Wadsack
Post by Russell GaddIt's Amazon s3.
Regards
Russell
Post by Matt DomschIs this amazon S3 or a clone? If a clone, this is expected as it
falls back from signature v4 to signature v2. Use --signature-v2 to avoid
it.
Post by Russell GaddI was testing s3cmd and it appears to repeat the first upload of put
command. There appears to be a delay between the confirmations on the
terminal so I expect it is actually uploading twice rather than just a
reporting error
/data/WorkInProgress/testfiles $ s3cmd put * s3://mybucket-test2/
testfile1.pdf -> s3://mybucket-test2/testfile1.pdf [1 of 2]
153171 of 153171 100% in 1s 134.03 kB/s done
testfile1.pdf -> s3://mybucket-test2/testfile1.pdf [1 of 2]
153171 of 153171 100% in 1s 109.50 kB/s done
testfile2.xls -> s3://mybucket-test2/testfile2.xls [2 of 2]
62464 of 62464 100% in 0s 120.24 kB/s done
/data/WorkInProgress/testfiles $
Is there an explanation for this behaviour or is this a bug?
Russell
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live
exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
S3tools-general mailing list
https://lists.sourceforge.net/lists/listinfo/s3tools-general
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live
exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
S3tools-general mailing list
https://lists.sourceforge.net/lists/listinfo/s3tools-general
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live
exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
S3tools-general mailing list
https://lists.sourceforge.net/lists/listinfo/s3tools-general
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live
exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
S3tools-general mailing list
https://lists.sourceforge.net/lists/listinfo/s3tools-general
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live
exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
S3tools-general mailing list
https://lists.sourceforge.net/lists/listinfo/s3tools-general
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live
exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
S3tools-general mailing list
https://lists.sourceforge.net/lists/listinfo/s3tools-general