Open EraYaN opened 1 year ago
I know there is an issue if jclouds.endpoint is set to an empty string, but this configuration succeeds for me:
jclouds.provider=azureblob
jclouds.azureblob_auth=azureKey
jclouds.identity=<id>
jclouds.credential=<key>
s3proxy.authorization=aws-v4
s3proxy.identity=foo
s3proxy.credential=bar
s3proxy.endpoint=http://localhost:10080
I tested PUT of a small object. Can you share more details about the failure?
It's been a while and the logs are long lost. The main thing I remember is that aws CLI did not want to upload essentially anything with the endpoint being empty.
To me the jclouds.endpoint cannot be empty. If you enable the trace logs you can see that the jclouds endpoint is used to do the PUT request on the Azure blob storage.
So the problem is if you leave the endpoint empty it is not correctly inferred. Leading to BadRequest error for Puts and empty errors for MultiPart uploads. When you then put the full endpoint URL in there it does work.
Used config is:
But the
jcould.endpoint=https://xxxxxxxxx.blob.core.windows.net
entry is mandatory apparently.If on startup the endpoint is empty maybe emitting an error would be helpful. Or returning some error to the client instead of just bad request.