microsoft / AcademicContent

Free tech resources for faculty, students, researchers, life-long learners, and academic community builders for use in tech based courses, workshops, and hackathons.
MIT License
2.7k stars 962 forks source link

Azure Storage and Cognitive Services Tutorial- French Flag Images Causes Crash #32

Closed AustinT closed 6 years ago

AustinT commented 8 years ago

I just did this tutorial, and uploaded a few images which worked, but one particular image (attached) caused a crash and gave the following error. Might be a bug with Azure not recognizing it properly. flag_of_france

C:\Users\Austin\Downloads\hcs_azure_tutorial_test\server.js:154 throw err; ^ StorageError: Server failed to authenticate the request. Make sure the value of Authorization header is formed correctly including the signature. RequestId:cdf93341-0001-006b-4c5c-39fc7b000000 Time:2016-11-08T01:05:56.5808549Z at Function.StorageServiceClient._normalizeError (C:\Users\Austin\Downloads\hcs_azure_tutorial_test\node_modules\azure-storage\lib\common\services\storageserviceclient.js:1146:23) at BlobService.StorageServiceClient._processResponse (C:\Users\Austin\Downloads\hcs_azure_tutorial_test\node_modules\azure-storage\lib\common\services\storageserviceclient.js:706:50) at Request.processResponseCallback [as _callback] (C:\Users\Austin\Downloads\hcs_azure_tutorial_test\node_modules\azure-storage\lib\common\services\storageserviceclient.js:306:37) at Request.self.callback (C:\Users\Austin\Downloads\hcs_azure_tutorial_test\node_modules\azure-storage\node_modules\request\request.js:187:22) at emitTwo (events.js:106:13) at Request.emit (events.js:191:7) at Request. (C:\Users\Austin\Downloads\hcs_azure_tutorial_test\node_modules\azure-storage\node_modules\request\request.js:1044:10) at emitOne (events.js:96:13) at Request.emit (events.js:188:7) at IncomingMessage. (C:\Users\Austin\Downloads\hcs_azure_tutorial_test\node_modules\azure-storage\node_modules\request\request.js:965:12)

jeffprosise commented 8 years ago

Thanks! I will check into it.

shanamatthews commented 6 years ago

Did this fixed? If not, let me know and I can reopen πŸ˜„

AustinT commented 6 years ago

I have no idea- I did this for a random azure demo more than a year ago and I think my account expired. I just googled "French Flag" and put in the first image I saw, so if you want to repeat the issue just do that.

Kudos for responding to this after I had long forgotten about it- great responsiveness!

On 6 March 2018 at 20:11, Shana Matthews notifications@github.com wrote:

Did this fixed? If not, let me know and I can reopen πŸ˜„

β€” You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MSFTImagine/computerscience/issues/32#issuecomment-370986964, or mute the thread https://github.com/notifications/unsubscribe-auth/AVs1E0peuak91NU71Cx6BwKwRjQEXIG-ks5tbzO5gaJpZM4Kr6zI .