Error putting blob image:Azure - Unity3D2017/Unity3D2018
Opened this issue · 5 comments
AuthenticationFailed
Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature.
RequestId:85f41450-901e-002a-33a4-14553a000000
Time:2018-07-05T21:09:46.9683350ZThe MAC signature found in the HTTP request 'JTS6K4SeTm3KC/IVPOa6b5ejmfA590xr+qR+yehQdTA=' is not the same as any computed signature. Server used following string to sign: 'PUT
2
image/png
x-ms-blob-content-disposition:attachment; filename="18-07-05-21-09-44-30.png"
x-ms-blob-type:BlockBlob
x-ms-date:Thu, 05 Jul 2018 21:09:46 GMT
x-ms-version:2017-04-17
/unityazureblobst/blobunity/18-07-05-21-09-44-30.png'.
UnityEngine.Debug:LogError(Object)
Log:Text(Text, String, String, Level) (at Assets/Utilities/Log.cs:30)
ImageDemo:PutImageCompleted(RestResponse) (at Assets/Demos/Image/ImageDemo.cs:85)
RESTClient.RestRequest:GetText(Action1, Boolean) (at Assets/Dependencies/RESTClient/http/RestRequest.cs:282) RESTClient.RestRequest:Result(Action
1) (at Assets/Dependencies/RESTClient/http/RestRequest.cs:269)
Azure.StorageServices.c__IteratorA:MoveNext() (at Assets/Dependencies/StorageServices/BlobService.cs:132)
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)
I've the very same issue. Although samples from StorageServiceDemo project work, but whenever I'm incorporating it to my project I'm getting the MAC signature error as you.
what is the MAC OS X and Unity3D Version?
I'm encountering it on Win 10 actually, Unity is 2017.4.7f1.
@ganusajjan I got it working. Check out this issue: Unity3dAzure/RESTClient#4
There was a bug introduced in the newest version of RESTClient.
@ganusajjan try now (update RESTClient to the newest one).