Azure / azurefile-dockervolumedriver

Docker Volume Driver for Azure File Service over SMB/CIFS :whale:
Apache License 2.0
169 stars 55 forks source link

creating azure client: illegal base64 data at input byte 8 #36

Closed bertvannuffelen closed 8 years ago

bertvannuffelen commented 8 years ago

Dear,

I get both on the 2.0, 2.1 release and the direct build on a ubuntu 16.04 the message

FATA[0000] error creating azure client: illegal base64 data at input byte 8

What does this mean?

kr,

Bert

bertvannuffelen commented 8 years ago

hi,

it seems it means invalid/incorrect credentials.

kr,

Bert

ahmetb commented 8 years ago

Yes it looks like your storage key is malformed.

bertvannuffelen commented 8 years ago

thanks for the confirmation, but maybe this can be reported in a more human readable error message?

ahmetb commented 8 years ago

@bertvannuffelen you are right. I opened an issue at https://github.com/Azure/azure-sdk-for-go/issues/344 to track this.

buckett commented 8 years ago

Just got this as well, would be nice to have a better error:

FATA[0000] error creating azure client: illegal base64 data at input byte 84 

although nice colour in your logs.

buckett commented 8 years ago

Ok this was a UI problem with the azure portal for me, double clicking (then copy/paste) showed the whole of the box highlighed, but it was actually only highlighting up to the first non alphanumeric.

buckett commented 8 years ago

I think you need to update you're vendor drop of azure to get the fix in this project as I'm still seeing it on 0.5.1

ahmetb commented 8 years ago

@buckett opened #71 to track this.