Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

S3 PutObject "A header you provided implies functionality that is not implemented" #54

Open
Zvikan opened this issue Jul 11, 2022 · 1 comment

Comments

@Zvikan
Copy link

Zvikan commented Jul 11, 2022

What is the issue?

When using iamlive with proxy mode, when trying to upload object to s3 bucket getting:

An error occurred (NotImplemented) when calling the PutObject operation: A header you provided implies functionality that is not implemented

Error code is 501 NotImplemented.

How to reproduce?

  1. Normal proxy iamlive setup
  2. run aws s3 cp command into a bucket with empty file

What have you tried to do?

I tried to compare the list of headers between the proxy outputs to the aws cli with --debug , overall the headers seems to be the same.
Can confirm content-length exists, the only header that was in the proxy but not in the aws cli is Accept-Encoding but it seems to be coming from the goProxy, and I saw we're not deleting it.

I also tried to run other PUT method calls like create bucket with proxy, no issues there, just when trying to upload uploads into the bucket.

Note

When trying to upload a non-empty file with the same method above (aws cli), facing different issue where it can't connect to the proxy:

Failed to connect to proxy URL: "http://127.0.0.1:10080"
@iann0036
Copy link
Owner

Hey @Zvikan,

Thanks for raising!

This relates to elazarl/goproxy#367 and intricacies with Go's handling of a specific HTTP request behaviour present in the CLI.

I'm looking deeper into the issue but it may be some time.

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

No branches or pull requests

2 participants