PDA

View Full Version : Add Handling of 307 Redirects in S3



plamen.jeliazkov
January 14th, 2013, 01:11 PM
Can you please add the 307 response to your set of "expected responses" and deal with following the location header?

I have had quite a few back-ups fail because I was getting a 307 and the s3-device does not know how to deal with the redirects and it just hangs instead.

martineau
January 15th, 2013, 01:54 AM
Whciah amanda version are you using?

I never see the 307 error and I need a little more information to handle it correctly.
Can you add the follwing device-property:
device-property "VERBOSE" "YES"
and retry a backup.

Send the taper debug files, at leadt many lines before and after the error, I want to see the complete request and reply.

martineau
January 15th, 2013, 03:50 AM
The 307 error is handle internally by libcurl.

Which version of libcurl are you using?
redirect might hang if < 7.18.3