Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

When I configure nginx with signature calculation S3 cp fails with errors #55

Open
anils123 opened this issue Jan 9, 2019 · 0 comments

Comments

@anils123
Copy link

anils123 commented Jan 9, 2019

I configured nginx with the following configuration S3 cp with KMS encryption fails

location / {
resolver 8.8.8.8;
proxy_pass https://s3.amazonaws.com;
proxy_ssl_name s3.amazonaws.com;
proxy_pass_request_headers on;
client_max_body_size 5G;
proxy_send_timeout 600;
proxy_read_timeout 600;
proxy_intercept_errors on;
proxy_next_upstream error timeout http_500 http_502 http_503 http_504;
aws_sign;
aws_signing_key
}
I get this error

ResponseParserError: Unable to parse response (mismatched tag: line 6, column 2), invalid XML received:

<title>405 Not Allowed</title>

405 Not Allowed


nginx/1.14.0

upload failed: ./test.txt to s3://..../test.txt An error occurred (405) when calling the PutObject operation: Method Not Allowed
Appreciate your advise on this

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant