-
Notifications
You must be signed in to change notification settings - Fork 653
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
PutObject throws error from AWS SDK #633
Comments
|
@drgomesp for minio-go tracing, refer http://docs.minio.io/docs/golang-client-api-reference#TraceOn |
This is what I'm getting: ---------START-HTTP---------
PUT /mongodb/00010110.json HTTP/1.1
Host: pf-mongodb-backup.s3-ap-southeast-1.amazonaws.com
User-Agent: Minio (darwin; amd64) minio-go/2.0.3
Content-Length: 0
Authorization: #####
Content-Md5: 1B2M2Y8AsgTpgAmY7PhCfg==
Content-Type: application/octet-stream
Expect: 100-continue
X-Amz-Content-Sha256: UNSIGNED-PAYLOAD
X-Amz-Date: 20170330T094611Z
Accept-Encoding: gzip
HTTP/1.1 501 Not Implemented
Connection: close
Transfer-Encoding: chunked
Content-Type: application/xml
Date: Thu, 30 Mar 2017 09:46:11 GMT
Server: AmazonS3
X-Amz-Id-2: Tt7eks5WnICUgCHv96Gc5vNtoxjjhNwjnIEq2U5umrLKnXOlFhXGmB9cGWI2u1QA+AnNwwywkCA=
X-Amz-Request-Id: A568F217B5E2F1A2
---------END-HTTP--------- |
@drgomesp, looks like the bug is fixed in the last master, can you test with it ? |
This is because of the |
Apparently the issue happened because the file was empty. It was a problem on my application level, but the error message was not very helpful. Can we try adding a more helpful feedback? |
We cannot server sent the error. We can't know what to say at this point in time. Because the error sent by server is arbitrary. So as a client we can't make sense of anything that went wrong. |
@drgomesp, were you able to test with minio-go master ? |
@drgomesp I will go ahead and close this issue. Please do reopen if you think we have not addressed this correctly. |
@deekoder no problem. As I said before, I think we need a proper message when throwing this error. Otherwise, it works fine. |
When trying to
PutObject
, I'm getting the following message from AWS SDK:A header you provided implies functionality that is not implemented
Possibly related to aws/aws-sdk-go#122
Any ideas?
The text was updated successfully, but these errors were encountered: