text:
"Transcription failed. Status: Authentication failed for recordings URI." error during Batch Transcriptions.

I am trying to use the batch transcription C# code (https://github.com/Azure-Samples/cognitive-services-speech-sdk/tree/master/samples/batch/csharp) to transcribe audio files stored in azure storage blob.
I set the azure storage blob container to "Public".
Before I stored three audio files in azure storage blob "https://311calltranscription.blob.core.windows.net/audio-files". I got "Transcription failed. Status: Authentication failed for recordings URI." error. I deleted two files and just keep one file to try. I still get the same "Transcription failed. Status: Authentication failed for recordings URI." error.
I tried the two URLS:
private const string RecordingsBlobUri = "https://311calltranscription.blob.core.windows.net/audio-files";
or
private const string RecordingsBlobUri = "https://311calltranscription.blob.core.windows.net/audio-files/Call1.mp3";
I can get the audio through a browser by using https://311calltranscription.blob.core.windows.net/audio-files/Call1.mp3
Could you please to help me to resolve this problem,

I tried a batch request using your blob URL "https://311calltranscription.blob.core.windows.net/audio-files/Call1.mp3" . and got the same error as you mentioned. Also tried to access it via browser, failed too. But when I tried with my own public accessible blob uri, and it succeeded. I suspect that the blob URL has not been made public accessible. Could you please double check whether you have  granted "anonymous read access to blob" to the container "audio-files"?
Thanks,
Zhou

Hello Zhou,
I checked and confirmed that I have granted "anonymous read access to blob" to the container "audio-files". Please see the following picture. I reset it to Container "anonymous read access to blob" again. Please see the picture.
I asked my colleague to try the blob URL "https://311calltranscription.blob.core.windows.net/audio-files/Call1.mp3https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2F311calltranscription.blob.core.windows.net%2Faudio-files%2FCall1.mp3&data=02|01|wei.zhang%40ottawa.ca|65a5de793fc443270d4008d7b975f891|dfcc033ddf874c6ea1b88eaa73f1b72e|0|0|637181789186519246&sdata=%2F8PMt0x8kSS7z%2FYLuNQNzpKiaSjnMgl7BGkBc78gamQ%3D&reserved=0" through a browser. He do not have account on Azure Storage, and he can open the audio file.
I think there is something wrong with the “Speech to Text” service.
Thanks,
Wei
[cid:image002.jpg@01D5EBB8.8A578900]
[cid:image004.jpg@01D5EBB8.8A578900]
From: Zhou Wang notifications@github.com
Sent: February 24, 2020 5:08 PM
To: Azure-Samples/cognitive-services-speech-sdk cognitive-services-speech-sdk@noreply.github.com
Cc: Zhang, Wei Wei.Zhang@ottawa.ca; Author author@noreply.github.com
Subject: Re: [Azure-Samples/cognitive-services-speech-sdk] "Transcription failed. Status: Authentication failed for recordings URI." error during Batch Transcriptions. (#518)
CAUTION: This email originated from an External Sender. Please do not click links or open attachments unless you recognize the source.
ATTENTION : Ce courriel provient d’un expéditeur externe. Ne cliquez sur aucun lien et n’ouvrez pas de pièce jointe, excepté si vous connaissez l’expéditeur.
I tried a batch request using your blob URL "https://311calltranscription.blob.core.windows.net/audio-files/Call1.mp3https://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2F311calltranscription.blob.core.windows.net%2Faudio-files%2FCall1.mp3&data=02|01|wei.zhang%40ottawa.ca|65a5de793fc443270d4008d7b975f891|dfcc033ddf874c6ea1b88eaa73f1b72e|0|0|637181789186519246&sdata=%2F8PMt0x8kSS7z%2FYLuNQNzpKiaSjnMgl7BGkBc78gamQ%3D&reserved=0" . and got the same error as you mentioned. Also tried to access it via browser, failed too. But when I tried with my own public accessible blob uri, and it succeeded. I suspect that the blob URL has not been made public accessible. Could you please double check whether you have granted "anonymous read access to blob" to the container "audio-files"?
Thanks,
Zhou
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure-Samples%2Fcognitive-services-speech-sdk%2Fissues%2F518%3Femail_source%3Dnotifications%26email_token%3DANQD4ZPQGER5DAQ7JTNPJ6DRERAK5A5CNFSM4K2ROAA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMZW7NQ%23issuecomment-590573494&data=02|01|wei.zhang%40ottawa.ca|65a5de793fc443270d4008d7b975f891|dfcc033ddf874c6ea1b88eaa73f1b72e|0|0|637181789186529232&sdata=XIcwEv4sCaDKonBrS2vedYe2ujb4QqtcMdISFtqhmnQ%3D&reserved=0, or unsubscribehttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FANQD4ZJXMVDE4AEDCVVFBS3RERAK5ANCNFSM4K2ROAAQ&data=02|01|wei.zhang%40ottawa.ca|65a5de793fc443270d4008d7b975f891|dfcc033ddf874c6ea1b88eaa73f1b72e|0|0|637181789186529232&sdata=ntHUF0ZRxo3o6MTCSNI9OZyizmDEbkqW34o1cYnetPo%3D&reserved=0.
'
This e-mail originates from the City of Ottawa e-mail system. Any distribution, use or copying of this e-mail or the information it contains by other than the intended recipient(s) is unauthorized. Thank you.
Le présent courriel a été expédié par le système de courriels de la Ville d'Ottawa. Toute distribution, utilisation ou reproduction du courriel ou des renseignements qui s'y trouvent par une personne autre que son destinataire prévu est interdite. Je vous remercie de votre collaboration.
'

I am unable to see the pictures you mentioned.
Instead of using "public anonymous access to the blob", another option is to create a SAS URL to the blob and pass it as recordingUrl. Could you please try whether this works?

Hello,
For the SAS URL, I got
Connection string:
BlobEndpoint=https://311calltranscription.blob.core.windows.net/;TableEndpoint=https://311calltranscription.table.core.windows.net/;SharedAccessSignature=sv=2019-02-02&ss=b&srt=sco&sp=rwdlac&se=2021-02-20T03:06:37Z&st=2020-02-19T19:06:37Z&spr=https&sig=o7ojMvlgBHAgs8hCfgR5GtDUKrDF1fua1lUKP9bgPKI%3D
SAS token
?sv=2019-02-02&ss=b&srt=sco&sp=rwdlac&se=2021-02-20T03:06:37Z&st=2020-02-19T19:06:37Z&spr=https&sig=o7ojMvlgBHAgs8hCfgR5GtDUKrDF1fua1lUKP9bgPKI%3D
Blob service SAS URL
https://311calltranscription.blob.core.windows.net/?sv=2019-02-02&ss=b&srt=sco&sp=rwdlac&se=2021-02-20T03:06:37Z&st=2020-02-19T19:06:37Z&spr=https&sig=o7ojMvlgBHAgs8hCfgR5GtDUKrDF1fua1lUKP9bgPKI%3D
How do I use the token in the Csharp sample code?
Thanks,
Wei
From: Zhou Wang notifications@github.com
Sent: February 25, 2020 10:59 AM
To: Azure-Samples/cognitive-services-speech-sdk cognitive-services-speech-sdk@noreply.github.com
Cc: Zhang, Wei Wei.Zhang@ottawa.ca; Author author@noreply.github.com
Subject: Re: [Azure-Samples/cognitive-services-speech-sdk] "Transcription failed. Status: Authentication failed for recordings URI." error during Batch Transcriptions. (#518)
CAUTION: This email originated from an External Sender. Please do not click links or open attachments unless you recognize the source.
ATTENTION : Ce courriel provient d’un expéditeur externe. Ne cliquez sur aucun lien et n’ouvrez pas de pièce jointe, excepté si vous connaissez l’expéditeur.
I am unable to see the pictures you mentioned.
Instead of using "public anonymous access to the blob", another option is to create a SAS URL to the blob and pass it as recordingUrl. Could you please try whether this works?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure-Samples%2Fcognitive-services-speech-sdk%2Fissues%2F518%3Femail_source%3Dnotifications%26email_token%3DANQD4ZKG2LB6RFKBBQ7JKR3REU52PA5CNFSM4K2ROAA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEM4QONI%23issuecomment-590939957&data=02|01|wei.zhang%40ottawa.ca|3633a80f35eb4834892d08d7ba0b9005|dfcc033ddf874c6ea1b88eaa73f1b72e|0|0|637182431133455387&sdata=FL34M11m%2B9SJFXpxgglOIO71IQPcevIHEo7D0OfUVPg%3D&reserved=0, or unsubscribehttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FANQD4ZLFH3GPERQ5IM4QIPTREU52PANCNFSM4K2ROAAQ&data=02|01|wei.zhang%40ottawa.ca|3633a80f35eb4834892d08d7ba0b9005|dfcc033ddf874c6ea1b88eaa73f1b72e|0|0|637182431133465378&sdata=JxKQYLIaKAfAJ70m20UYRJUEb4B3bcSyb4Dqt6ZtekE%3D&reserved=0.
'
This e-mail originates from the City of Ottawa e-mail system. Any distribution, use or copying of this e-mail or the information it contains by other than the intended recipient(s) is unauthorized. Thank you.
Le présent courriel a été expédié par le système de courriels de la Ville d'Ottawa. Toute distribution, utilisation ou reproduction du courriel ou des renseignements qui s'y trouvent par une personne autre que son destinataire prévu est interdite. Je vous remercie de votre collaboration.
'

Please use a Service SAS, but not a account SAS. You can go to portal.azure.com, select the blob file you want to transcribe, and then click on "..."->Generate SAS, and grant Read permission. After "Generate SAS token and URL, just copy the Blob SAS URL and use it as RecordingUri.
It is also possible to generate the SAS using C# as described here
Thanks,
Zhou

Hello,
Followed your instruction, I got:
Blob SAS token
sp=rcwd&st=2020-02-25T16:20:14Z&se=2021-02-26T00:20:14Z&spr=https&sv=2019-02-02&sr=b&sig=8BLbsc1v9kzmrm5fO2nuKG7n4CkJExq8jsAxTcQKcA0%3D
Blob SAS URL
https://311calltranscription.blob.core.windows.net/audio-files/Call1.mp3?sp=rcwd&st=2020-02-25T16:20:14Z&se=2021-02-26T00:20:14Z&spr=https&sv=2019-02-02&sr=b&sig=8BLbsc1v9kzmrm5fO2nuKG7n4CkJExq8jsAxTcQKcA0%3D
I used https://311calltranscription.blob.core.windows.net/audio-files/Call1.mp3?sp=rcwd&st=2020-02-25T16:20:14Z&se=2021-02-26T00:20:14Z&spr=https&sv=2019-02-02&sr=b&sig=8BLbsc1v9kzmrm5fO2nuKG7n4CkJExq8jsAxTcQKcA0%3D for private const string RecordingsBlobUri
I still got :
Starting transcriptions client...
Deleting all existing completed transcriptions.
Created transcription with id c5f88d32-9785-4659-b696-0efd8ec09924.
Checking status.
Transcriptions status: 0 completed, 0 running, 1 not started yet
Transcriptions status: 0 completed, 0 running, 1 not started yet
Transcriptions status: 0 completed, 1 running, 0 not started yet
Transcription failed. Status: Authentication failed for recordings URI.
Transcriptions status: 1 completed, 0 running, 0 not started yet
Press any key...

Yesterday I tried with the audio blob URI you provided, and got it transcribed correctly (I am using westus.cris.ai, summary below. removed other information for privacy reason). But when I today tried to investigate further why your request failed, I found that the audio URI is not valid anymore. Both batch request and curl failed to download the audio. Is the blob not available anymore?
I also tried with my own audio with SAS URL, which works correctly. And it seems that we have not received similar reports from other users.
Sorry for inconvience. Please let us know how we can best help you. If you do not want to share the audio publicly, you can create an Azure Support Ticket, so that we can share information there privately.
"statusMessage": "None.",
"lastActionDateTime": "2020-02-27T14:42:33Z",
"status": "Succeeded",
"id": "8cad1bf7-ab18-4690-XXXX-XXXXXXXXXXXX",
"createdDateTime": "2020-02-27T14:41:24Z",
"recordingsUrl": "https://311calltranscription.blob.core.windows.net/audio-files/Call1.mp3?sp=rcwd&st=2020-02-25T16:20:14Z&se=2021-02-26T00:20:14Z&spr=https&sv=2019-02-02&sr=b&sig=8BLbsc1v9kzmrm5fO2nuKG7n4CkJExq8jsAxTcQKcA0%3D",
Thanks,
Zhou

Hello,
Sorry, my colleague had removed that file and added some new audio files into the storage blob. I added it back, so you can check “https://311calltranscription.blob.core.windows.net/audio-files/Call1.mp3”
I got some new errors, I think my code did not change.  I do not know what happened. Could you please help me to find out the reasons?
Thanks,
Wei
System.AggregateException: 'One or more errors occurred.'
NotImplementedException: The method or operation is not implemented.
This exception was originally thrown at this call stack:
BatchClient.BatchClient.GetAsync(string) in batchclient.csnavigate-to-context:0
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
BatchClient.Program.TranscribeAsync() in program.csnavigate-to-context:4
From: Zhou Wang notifications@github.com
Sent: February 28, 2020 3:06 AM
To: Azure-Samples/cognitive-services-speech-sdk cognitive-services-speech-sdk@noreply.github.com
Cc: Zhang, Wei Wei.Zhang@ottawa.ca; Author author@noreply.github.com
Subject: Re: [Azure-Samples/cognitive-services-speech-sdk] "Transcription failed. Status: Authentication failed for recordings URI." error during Batch Transcriptions. (#518)
CAUTION: This email originated from an External Sender. Please do not click links or open attachments unless you recognize the source.
ATTENTION : Ce courriel provient d’un expéditeur externe. Ne cliquez sur aucun lien et n’ouvrez pas de pièce jointe, excepté si vous connaissez l’expéditeur.
Yesterday I tried with the audio blob URI you provided, and got it transcribed correctly (I am using westus.cris.ai, summary below. removed other information for privacy reason). But when I today tried to investigate further why your request failed, I found that the audio URI is not valid anymore. Both batch request and curl failed to download the audio. Is the blob not available anymore?
I also tried with my own audio with SAS URL, which works correctly. And it seems that we have not received similar reports from other users.
Sorry for inconvience. Please let us know how we can best help you. If you do not want to share the audio publicly, you can create an Azure Support Ticket, so that we can share information there privately.
"statusMessage": "None.",
"lastActionDateTime": "2020-02-27T14:42:33Z",
"status": "Succeeded",
"id": "8cad1bf7-ab18-4690-XXXX-XXXXXXXXXXXX",
"createdDateTime": "2020-02-27T14:41:24Z",
"recordingsUrl": "https://311calltranscription.blob.core.windows.net/audio-files/Call1.mp3?sp=rcwd&st=2020-02-25T16:20:14Z&se=2021-02-26T00:20:14Z&spr=https&sv=2019-02-02&sr=b&sig=8BLbsc1v9kzmrm5fO2nuKG7n4CkJExq8jsAxTcQKcA0%3Dhttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2F311calltranscription.blob.core.windows.net%2Faudio-files%2FCall1.mp3%3Fsp%3Drcwd%26st%3D2020-02-25T16%3A20%3A14Z%26se%3D2021-02-26T00%3A20%3A14Z%26spr%3Dhttps%26sv%3D2019-02-02%26sr%3Db%26sig%3D8BLbsc1v9kzmrm5fO2nuKG7n4CkJExq8jsAxTcQKcA0%253D&data=02|01|wei.zhang%40ottawa.ca|a3df5be7235d47087d3a08d7bc250a80|dfcc033ddf874c6ea1b88eaa73f1b72e|0|0|637184739588763375&sdata=QY73yFzFKTcCh1MS%2BuzCAXtR%2Bs%2FYe1AXF54V2sf7G00%3D&reserved=0",
Thanks,
Zhou
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure-Samples%2Fcognitive-services-speech-sdk%2Fissues%2F518%3Femail_source%3Dnotifications%26email_token%3DANQD4ZLZYSIXOU5WJ5ZVOS3RFDAWJA5CNFSM4K2ROAA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENHUOHI%23issuecomment-592398109&data=02|01|wei.zhang%40ottawa.ca|a3df5be7235d47087d3a08d7bc250a80|dfcc033ddf874c6ea1b88eaa73f1b72e|0|0|637184739588773374&sdata=XIC%2FkPJfWtx%2FRcUpMYZ1q2Q8cgqf5b3Q8WadAy7dRtE%3D&reserved=0, or unsubscribehttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FANQD4ZNG6N4YGYYTVEYX533RFDAWJANCNFSM4K2ROAAQ&data=02|01|wei.zhang%40ottawa.ca|a3df5be7235d47087d3a08d7bc250a80|dfcc033ddf874c6ea1b88eaa73f1b72e|0|0|637184739588773374&sdata=QcV1mNfgnWUDTidCOf4MPt2ywUh0ugLct9TjzD5Q32g%3D&reserved=0.
'
This e-mail originates from the City of Ottawa e-mail system. Any distribution, use or copying of this e-mail or the information it contains by other than the intended recipient(s) is unauthorized. Thank you.
Le présent courriel a été expédié par le système de courriels de la Ville d'Ottawa. Toute distribution, utilisation ou reproduction du courriel ou des renseignements qui s'y trouvent par une personne autre que son destinataire prévu est interdite. Je vous remercie de votre collaboration.
'

Hello,
I figured out the new problem. My colleague has change the access key.
But the old problem is still at there.
Thanks,
Wei
From: Zhang, Wei
Sent: February 28, 2020 9:25 AM
To: Azure-Samples/cognitive-services-speech-sdk reply@reply.github.com; Azure-Samples/cognitive-services-speech-sdk cognitive-services-speech-sdk@noreply.github.com
Cc: Author author@noreply.github.com
Subject: RE: [Azure-Samples/cognitive-services-speech-sdk] "Transcription failed. Status: Authentication failed for recordings URI." error during Batch Transcriptions. (#518)
Hello,
Sorry, my colleague had removed that file and added some new audio files into the storage blob. I added it back, so you can check “https://311calltranscription.blob.core.windows.net/audio-files/Call1.mp3”
I got some new errors, I think my code did not change.  I do not know what happened. Could you please help me to find out the reasons?
Thanks,
Wei
System.AggregateException: 'One or more errors occurred.'
NotImplementedException: The method or operation is not implemented.
This exception was originally thrown at this call stack:
BatchClient.BatchClient.GetAsync(string) in batchclient.csnavigate-to-context:0
System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(System.Threading.Tasks.Task)
System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()
BatchClient.Program.TranscribeAsync() in program.csnavigate-to-context:4
From: Zhou Wang <notifications@github.commailto:notifications@github.com>
Sent: February 28, 2020 3:06 AM
To: Azure-Samples/cognitive-services-speech-sdk <cognitive-services-speech-sdk@noreply.github.commailto:cognitive-services-speech-sdk@noreply.github.com>
Cc: Zhang, Wei <Wei.Zhang@ottawa.camailto:Wei.Zhang@ottawa.ca>; Author <author@noreply.github.commailto:author@noreply.github.com>
Subject: Re: [Azure-Samples/cognitive-services-speech-sdk] "Transcription failed. Status: Authentication failed for recordings URI." error during Batch Transcriptions. (#518)
CAUTION: This email originated from an External Sender. Please do not click links or open attachments unless you recognize the source.
ATTENTION : Ce courriel provient d’un expéditeur externe. Ne cliquez sur aucun lien et n’ouvrez pas de pièce jointe, excepté si vous connaissez l’expéditeur.
Yesterday I tried with the audio blob URI you provided, and got it transcribed correctly (I am using westus.cris.ai, summary below. removed other information for privacy reason). But when I today tried to investigate further why your request failed, I found that the audio URI is not valid anymore. Both batch request and curl failed to download the audio. Is the blob not available anymore?
I also tried with my own audio with SAS URL, which works correctly. And it seems that we have not received similar reports from other users.
Sorry for inconvience. Please let us know how we can best help you. If you do not want to share the audio publicly, you can create an Azure Support Ticket, so that we can share information there privately.
"statusMessage": "None.",
"lastActionDateTime": "2020-02-27T14:42:33Z",
"status": "Succeeded",
"id": "8cad1bf7-ab18-4690-XXXX-XXXXXXXXXXXX",
"createdDateTime": "2020-02-27T14:41:24Z",
"recordingsUrl": "https://311calltranscription.blob.core.windows.net/audio-files/Call1.mp3?sp=rcwd&st=2020-02-25T16:20:14Z&se=2021-02-26T00:20:14Z&spr=https&sv=2019-02-02&sr=b&sig=8BLbsc1v9kzmrm5fO2nuKG7n4CkJExq8jsAxTcQKcA0%3Dhttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2F311calltranscription.blob.core.windows.net%2Faudio-files%2FCall1.mp3%3Fsp%3Drcwd%26st%3D2020-02-25T16%3A20%3A14Z%26se%3D2021-02-26T00%3A20%3A14Z%26spr%3Dhttps%26sv%3D2019-02-02%26sr%3Db%26sig%3D8BLbsc1v9kzmrm5fO2nuKG7n4CkJExq8jsAxTcQKcA0%253D&data=02|01|wei.zhang%40ottawa.ca|a3df5be7235d47087d3a08d7bc250a80|dfcc033ddf874c6ea1b88eaa73f1b72e|0|0|637184739588763375&sdata=QY73yFzFKTcCh1MS%2BuzCAXtR%2Bs%2FYe1AXF54V2sf7G00%3D&reserved=0",
Thanks,
Zhou
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure-Samples%2Fcognitive-services-speech-sdk%2Fissues%2F518%3Femail_source%3Dnotifications%26email_token%3DANQD4ZLZYSIXOU5WJ5ZVOS3RFDAWJA5CNFSM4K2ROAA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENHUOHI%23issuecomment-592398109&data=02|01|wei.zhang%40ottawa.ca|a3df5be7235d47087d3a08d7bc250a80|dfcc033ddf874c6ea1b88eaa73f1b72e|0|0|637184739588773374&sdata=XIC%2FkPJfWtx%2FRcUpMYZ1q2Q8cgqf5b3Q8WadAy7dRtE%3D&reserved=0, or unsubscribehttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FANQD4ZNG6N4YGYYTVEYX533RFDAWJANCNFSM4K2ROAAQ&data=02|01|wei.zhang%40ottawa.ca|a3df5be7235d47087d3a08d7bc250a80|dfcc033ddf874c6ea1b88eaa73f1b72e|0|0|637184739588773374&sdata=QcV1mNfgnWUDTidCOf4MPt2ywUh0ugLct9TjzD5Q32g%3D&reserved=0.
'
This e-mail originates from the City of Ottawa e-mail system. Any distribution, use or copying of this e-mail or the information it contains by other than the intended recipient(s) is unauthorized. Thank you.
Le présent courriel a été expédié par le système de courriels de la Ville d'Ottawa. Toute distribution, utilisation ou reproduction du courriel ou des renseignements qui s'y trouvent par une personne autre que son destinataire prévu est interdite. Je vous remercie de votre collaboration.
'

I can transcribe the new audio URI correctly, and got text results (the audio length is 69.2 seconds). So the audio URI looks ok.
The exception you showed is thrown when the response is not successful or has wrong content type (as the code here shows). If you can debug to see what the response is returned, you may know what is wrong.
Thanks,
Zhou

Hello Zhou,
With the "recordingsUrl": "https://311calltranscription.blob.core.windows.net/audio-files/Call1.mp3?sp=rcwd&st=2020-02-25T16:20:14Z&se=2021-02-26T00:20:14Z&spr=https&sv=2019-02-02&sr=b&sig=8BLbsc1v9kzmrm5fO2nuKG7n4CkJExq8jsAxTcQKcA0%3Dhttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2F311calltranscription.blob.core.windows.net%2Faudio-files%2FCall1.mp3%3Fsp%3Drcwd%26st%3D2020-02-25T16%3A20%3A14Z%26se%3D2021-02-26T00%3A20%3A14Z%26spr%3Dhttps%26sv%3D2019-02-02%26sr%3Db%26sig%3D8BLbsc1v9kzmrm5fO2nuKG7n4CkJExq8jsAxTcQKcA0%253D&data=02|01|wei.zhang%40ottawa.ca|a3df5be7235d47087d3a08d7bc250a80|dfcc033ddf874c6ea1b88eaa73f1b72e|0|0|637184739588763375&sdata=QY73yFzFKTcCh1MS%2BuzCAXtR%2Bs%2FYe1AXF54V2sf7G00%3D&reserved=0", the sample program is successfully get the transcription of the audio file. But that is just for one audio file.
I would like to get the transcription from multiple audio files  in the folder https://311calltranscription.blob.core.windows.net/audio-files. How to do it?
Thanks,
Wei
From: Zhou Wang notifications@github.com
Sent: February 28, 2020 10:18 AM
To: Azure-Samples/cognitive-services-speech-sdk cognitive-services-speech-sdk@noreply.github.com
Cc: Zhang, Wei Wei.Zhang@ottawa.ca; Author author@noreply.github.com
Subject: Re: [Azure-Samples/cognitive-services-speech-sdk] "Transcription failed. Status: Authentication failed for recordings URI." error during Batch Transcriptions. (#518)
CAUTION: This email originated from an External Sender. Please do not click links or open attachments unless you recognize the source.
ATTENTION : Ce courriel provient d’un expéditeur externe. Ne cliquez sur aucun lien et n’ouvrez pas de pièce jointe, excepté si vous connaissez l’expéditeur.
I can transcribe the new audio URI correctly, and got text results (the audio length is 69.2 seconds). So the audio URI looks ok.
The exception you showed is thrown when the response is not successful or has wrong content type (as the code herehttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure-Samples%2Fcognitive-services-speech-sdk%2Fblob%2Fmaster%2Fsamples%2Fbatch%2Fcsharp%2Fbatchclient.cs%23L196&data=02|01|wei.zhang%40ottawa.ca|bde213560d284274249708d7bc6176a6|dfcc033ddf874c6ea1b88eaa73f1b72e|0|0|637184999099035434&sdata=5RH1R0fAMUwkEEd%2Bhgsd2Qa5L0W7zAI94bAlBnFotHQ%3D&reserved=0 shows). If you can debug to see what the response is returned, you may know what is wrong.
Thanks,
Zhou
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure-Samples%2Fcognitive-services-speech-sdk%2Fissues%2F518%3Femail_source%3Dnotifications%26email_token%3DANQD4ZIYIZVGLSFNX2DIS6DRFETMHA5CNFSM4K2ROAA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENI3V6I%23issuecomment-592558841&data=02|01|wei.zhang%40ottawa.ca|bde213560d284274249708d7bc6176a6|dfcc033ddf874c6ea1b88eaa73f1b72e|0|0|637184999099035434&sdata=hXtyEMTouwCWF48RYHHjthgr%2Bdt%2BSB2I4FI5Il7IF64%3D&reserved=0, or unsubscribehttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FANQD4ZOBNLHOLWPZH3NC6I3RFETMHANCNFSM4K2ROAAQ&data=02|01|wei.zhang%40ottawa.ca|bde213560d284274249708d7bc6176a6|dfcc033ddf874c6ea1b88eaa73f1b72e|0|0|637184999099045434&sdata=kVA%2FL8ENRZlFnXvbYClfHkpw9MSmYGIDDgbWnJJhsoA%3D&reserved=0.
'
This e-mail originates from the City of Ottawa e-mail system. Any distribution, use or copying of this e-mail or the information it contains by other than the intended recipient(s) is unauthorized. Thank you.
Le présent courriel a été expédié par le système de courriels de la Ville d'Ottawa. Toute distribution, utilisation ou reproduction du courriel ou des renseignements qui s'y trouvent par une personne autre que son destinataire prévu est interdite. Je vous remercie de votre collaboration.
'

Glad to hear that it works for you too.
The current batch API supports only 1 audio URI in each transcription request. If you want to transcribe all files in a blob container, you need to write code to list available audio files in that folder and pass each blob URI to build a separate transcription request.
We are working on new API which will supports Azure storage container. It will allows you to pass the container URI and all audios inside the container will be transcribed within a single request. The new API will probably become available in March. Please stay tuned.
Thanks,
Zhou

Hello Zhou,
Thank you very much for your help.
Wei
From: Zhou Wang notifications@github.com
Sent: February 28, 2020 12:50 PM
To: Azure-Samples/cognitive-services-speech-sdk cognitive-services-speech-sdk@noreply.github.com
Cc: Zhang, Wei Wei.Zhang@ottawa.ca; Author author@noreply.github.com
Subject: Re: [Azure-Samples/cognitive-services-speech-sdk] "Transcription failed. Status: Authentication failed for recordings URI." error during Batch Transcriptions. (#518)
CAUTION: This email originated from an External Sender. Please do not click links or open attachments unless you recognize the source.
ATTENTION : Ce courriel provient d’un expéditeur externe. Ne cliquez sur aucun lien et n’ouvrez pas de pièce jointe, excepté si vous connaissez l’expéditeur.
Glad to hear that it works for you too.
The current batch API supports only 1 audio URI in each transcription request. If you want to transcribe all files in a blob container, you need to write code to list available audio files in that folder and pass each blob URI to build a separate transcription request.
We are working on new API which will supports Azure storage container. It will allows you to pass the container URI and all audios inside the container will be transcribed within a single request. The new API will probably become available in March. Please stay tuned.
Thanks,
Zhou
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FAzure-Samples%2Fcognitive-services-speech-sdk%2Fissues%2F518%3Femail_source%3Dnotifications%26email_token%3DANQD4ZKLOGSUICGWP5MXLFTRFFFEPA5CNFSM4K2ROAA2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOENJRPOI%23issuecomment-592648121&data=02|01|wei.zhang%40ottawa.ca|c5a3b41cea7a456d3e5508d7bc76a233|dfcc033ddf874c6ea1b88eaa73f1b72e|0|0|637185090017447162&sdata=TuS2GsfBr3lG3zf6aVUJVDyP55LjAR1rA5uY4jCr74g%3D&reserved=0, or unsubscribehttps://can01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FANQD4ZKHGERWEA53LXGLI4LRFFFEPANCNFSM4K2ROAAQ&data=02|01|wei.zhang%40ottawa.ca|c5a3b41cea7a456d3e5508d7bc76a233|dfcc033ddf874c6ea1b88eaa73f1b72e|0|0|637185090017457156&sdata=jwsmE27DbVpyyP7VVUQyWYQ3Tm%2FJgPoum7CKhXxBkbo%3D&reserved=0.
'
This e-mail originates from the City of Ottawa e-mail system. Any distribution, use or copying of this e-mail or the information it contains by other than the intended recipient(s) is unauthorized. Thank you.
Le présent courriel a été expédié par le système de courriels de la Ville d'Ottawa. Toute distribution, utilisation ou reproduction du courriel ou des renseignements qui s'y trouvent par une personne autre que son destinataire prévu est interdite. Je vous remercie de votre collaboration.
'

Thank you!
I am closing the issue. If you have further questions, please re-open it or open a new one.
Zhou

This is very confusing. It's a "batch" job, and it's hard to understand that it only handles one file, not the entire files in container. Something more needs documentation in Microsoft docs site.
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/quickstarts/from-blob?pivots=programming-language-python

The new V3 API does not support container or multiple audio URLs. Please use the V3 API. https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/batch-transcription.
Thanks,

I am having very similar problem, I am testing on local host.

Hi there, the API works nicely when using Container URI, the only issue I am having, which I am stuck at is getting to process files in only one subdir. The scenario here is , in the container there are 3 folders, Audio-Input , Processed, and Transcript-Out directories. even after I moved the files into the processed dire the API still process them, I tried to rename the extension like .old , also did not work, I tried to get the file list from the blob using segment sync, but that gives me only the file names and the API needs array of URI's. any suggestion or method you can provide to force the API to use a subdir and not the entire container or  how to build Uri's for the list of files. thanks an advance!

authors: CloudBreadPaPa newworld0 ronawaz zhangwexxx zhouwangzw


text:
Android Speech to Text Error - (SPXERR_START_RECOGNIZING_INVALID_STATE_TRANSITION)

Describe the bug
I am using the SDK on a Xamarin forms application.
On most devices, the SDK works without issue.
However, on some devices, the following error occurs when trying to start the recognition service.
I was hoping to get more information about the below error code and exception.
To Reproduce
Steps to reproduce the behaviour:

Setup project as per sample project provided by Xamarin Here
The exception is triggered when StartContinuousRecognitionAsync is invoked

Version of the Cognitive Services Speech SDK

v1.12.1

Platform, Operating System, and Programming Language

OS: Android 9+
Hardware - ARM, example device - Galaxy xcover s4
Programming language: C#

Additional context
Message
Exception with an error code: 0x13 (SPXERR_START_RECOGNIZING_INVALID_STATE_TRANSITION)
Stacktrace
at Microsoft.CognitiveServices.Speech.Internal.SpxExceptionThrower.ThrowIfFail (System.IntPtr hr) [0x0005d] in :0 \n  at Microsoft.CognitiveServices.Speech.Recognizer.StartContinuousRecognition () [0x0005c] in :0 \n
at Microsoft.CognitiveServices.Speech.Recognizer.DoAsyncRecognitionAction (System.Action recoImplAction) [0x0005d] in :0 \n  at Microsoft.CognitiveServices.Speech.SpeechRecognizer.b__44_0 () [0x00001] in :0 \n
at System.Threading.Tasks.Task.InnerInvoke () [0x0000f] in /Users/builder/jenkins/workspace/archive-mono/2019-10/android/release/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2476 \n  at System.Threading.Tasks.Task.Execute () [0x00000] in /Users/builder/jenkins/workspace/archive-mono/2019-10/android/release/external/corert/src/System.Private.CoreLib/src/System/Threading/Tasks/Task.cs:2319

@Jhanbury Thanks for the feedback, this problem may occur e.g. if microphone/input stream gets closed before stopping the recognition, we will address that issue in future releases.
Are you using the sample as you referred directly which use the default configuration from microphone? If so, we need to investigate the specific devices which repro the issue, are you able to reproduce the issue with Galaxy xcover s4 consistently ? Could you provide logs from the speech SDK using instructions below ?
https://docs.microsoft.com/en-us/azure/cognitive-services/speech-service/how-to-use-logging

@jhakulin I will send on the SDK logs you mentioned once I get access to the device.
I have been able to run the code without issue on a similar device (Galaxy xcover 4).
This would lead me to believe that there is an issue with the device rather than an SDK issue for those devices.
I will know more once I have the SDK logs, thanks again for your help

Thank you @Jhanbury!
I am going to close this issue for now. When you attach additional information, please reopen this.
We've added this bug to our backlog, and as we make changes to the underlying functionality that will address this, we will update this issue with a reference to the release that will contain the fix.
Thank you for using the Speech SDK!

source: gharchive/issue

authors: Jhanbury jhakulin oscholz

license: MIT

license_type: permissive

license_source: github-api


text:
ESPRESSIF ADU sample fails to deploy

Please provide us with the following information:

This issue is for a: (mark with an x)
- [x] bug report -> please search issues before submitting
- [ ] feature request
- [ ] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Minimal steps to reproduce

Configure the ESPRESSIF ADU sample (no DPS)
Follow the steps in the project README
Device updates successfully (new version number and everything), but the deployment is "failed" and Azure sends the same update again, which gets rejected by the sample code because the versions match.

Any log messages given by the failure

Full log from first boot, through upgrade process and reboot
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5820,len:0x1714
load:0x403cc710,len:0x968
load:0x403ce710,len:0x2f9c
entry 0x403cc710
I (24) boot: ESP-IDF v5.1.3-416-gd23b7a0361 2nd stage bootloader
I (24) boot: compile time Aug 20 2024 07:02:20
I (25) boot: chip revision: v0.4
I (29) boot.esp32c3: SPI Speed      : 80MHz
I (34) boot.esp32c3: SPI Mode       : DIO
I (38) boot.esp32c3: SPI Flash Size : 4MB
I (43) boot: Enabling RNG early entropy source...
I (48) boot: Partition Table:
I (52) boot: ## Label            Usage          Type ST Offset   Length
I (59) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (67) boot:  1 otadata          OTA data         01 00 0000f000 00002000
I (74) boot:  2 phy_init         RF data          01 01 00011000 00001000
I (82) boot:  3 factory          factory app      00 00 00020000 00100000
I (89) boot:  4 ota_0            OTA app          00 10 00120000 00100000
I (97) boot:  5 ota_1            OTA app          00 11 00220000 00100000
I (104) boot: End of partition table
I (108) boot: Defaulting to factory image
I (113) esp_image: segment 0: paddr=00020020 vaddr=3c0c0020 size=2e850h (190544) map
I (152) esp_image: segment 1: paddr=0004e878 vaddr=3fc90e00 size=017a0h (  6048) load
I (154) esp_image: segment 2: paddr=00050020 vaddr=42000020 size=bd174h (774516) map
I (284) esp_image: segment 3: paddr=0010d19c vaddr=3fc925a0 size=016f4h (  5876) load
I (285) esp_image: segment 4: paddr=0010e898 vaddr=40380000 size=10cc4h ( 68804) load
I (308) boot: Loaded app from partition at offset 0x20000
I (308) boot: Disabling RNG early entropy source...
I (320) cpu_start: Unicore app
I (320) cpu_start: Pro cpu up.
I (329) cpu_start: Pro cpu start user code
I (329) cpu_start: cpu freq: 160000000 Hz
I (329) cpu_start: Application information:
I (332) cpu_start: Project name:     azure_iot_freertos_esp32
I (338) cpu_start: App version:      1
I (343) cpu_start: Compile time:     Aug 20 2024 07:05:45
I (349) cpu_start: ELF file SHA256:  b380be4be47953c3...
I (355) cpu_start: ESP-IDF:          v5.1.3-416-gd23b7a0361
I (361) cpu_start: Min chip rev:     v0.3
I (366) cpu_start: Max chip rev:     v1.99
I (370) cpu_start: Chip rev:         v0.4
I (375) heap_init: Initializing. RAM available for dynamic allocation:
I (382) heap_init: At 3FC9C8B0 len 00023750 (141 KiB): DRAM
I (389) heap_init: At 3FCC0000 len 0001C710 (113 KiB): DRAM/RETENTION
I (396) heap_init: At 3FCDC710 len 00002950 (10 KiB): DRAM/RETENTION/STACK
I (403) heap_init: At 50000010 len 00001FD8 (7 KiB): RTCRAM
I (410) spi_flash: detected chip: generic
I (414) spi_flash: flash io: dio
I (419) sleep: Configure to isolate all GPIO pins in sleep state
I (425) sleep: Enable automatic switching of GPIO sleep configuration
I (432) app_start: Starting scheduler on CPU0
I (437) main_task: Started on CPU0
I (437) main_task: Calling app_main()
I (547) pp: pp rom version: 9387209
I (547) net80211: net80211 rom version: 9387209
I (557) wifi:wifi driver task: 3fca4f94, prio:23, stack:6656, core=0
I (557) wifi:wifi firmware version: 92daf4348
I (557) wifi:wifi certification version: v7.0
I (557) wifi:config NVS flash: enabled
I (557) wifi:config nano formating: disabled
I (567) wifi:Init data frame dynamic rx buffer num: 32
I (567) wifi:Init static rx mgmt buffer num: 5
I (567) wifi:Init management short buffer num: 32
I (577) wifi:Init dynamic tx buffer num: 32
I (577) wifi:Init static tx FG buffer num: 2
I (587) wifi:Init static rx buffer size: 1600
I (587) wifi:Init static rx buffer num: 10
I (597) wifi:Init dynamic rx buffer num: 32
I (597) wifi_init: rx ba win: 6
I (597) wifi_init: tcpip mbox: 32
I (607) wifi_init: udp mbox: 6
I (607) wifi_init: tcp mbox: 6
I (607) wifi_init: tcp tx win: 5760
I (617) wifi_init: tcp rx win: 5760
I (617) wifi_init: tcp mss: 1440
I (627) wifi_init: WiFi IRAM OP enabled
I (627) wifi_init: WiFi RX IRAM OP enabled
I (637) sample_azureiotkit: Connecting to ...
I (637) phy_init: phy_version 1150,7c3c08f,Jan 24 2024,17:32:21
I (677) wifi:mode : sta (74:4d:bd:fd:1f:c4)
I (677) wifi:enable tsf
I (687) sample_azureiotkit: Waiting for IP(s)
I (3087) wifi:new:<11,0>, old:<1,0>, ap:<255,255>, sta:<11,0>, prof:1
I (3397) wifi:state: init -> auth (b0)
I (3407) wifi:state: auth -> assoc (0)
I (3417) wifi:state: assoc -> run (10)
I (3467) wifi:connected with , aid = 1, channel 11, BW20, bssid = 78:8a:20:49:91:a7
I (3467) wifi:security: WPA2-PSK, phy: bgn, rssi: -59
I (3467) wifi:pm start, type: 1
I (3467) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
I (3477) wifi:set rx beacon pti, rx_bcn_pti: 0, bcn_timeout: 25000, mt_pti: 0, mt_time: 10000
I (3517) wifi:idx:0 (ifx:0, 78:8a:20:49:91:a7), tid:0, ssn:0, winSize:64
I (3537) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (4487) esp_netif_handlers: sample_azureiotkit: sta ip: .224, mask: 255.255.255.0, gw: .1
I (4487) sample_azureiotkit: Got IPv4 event: Interface "sample_azureiotkit: sta" address: .224
I (4497) sample_azureiotkit: Connected to sample_azureiotkit: sta
I (4497) sample_azureiotkit: - IPv4 address: .224
I (4507) sample_azureiotkit: Waiting for time synchronization with SNTP server
I (8837) sample_azureiotkit: Notification of a time synchronization event
I (9517) main_task: Returned from app_main()
I (9517) AZ IOT: ------------------------------------------------------------------------------
I (9517) AZ IOT: ADU SAMPLE
I (9517) AZ IOT: Version: 1.0
I (9537) AZ IOT: ------------------------------------------------------------------------------
I (9537) AZ IOT: Creating a TLS connection to myhub.azure-devices.net:8883.
I (10457) esp_tls: (Network connection 0x3fcad55c) Connection to myhub.azure-devices.net established.
I (10457) AZ IOT: Creating an MQTT connection to myhub.azure-devices.net.
I (10487) AZ IOT: myhub.azure-devices.net%2Fdevices%2FtestDevice
1724142316
I (10567) MQTT: Packet received. ReceivedBytes=2.
I (10567) MQTT: CONNACK session present bit set.
I (10567) MQTT: Connection accepted.
I (10567) MQTT: Received MQTT CONNACK successfully from broker.
I (10587) MQTT: MQTT connection established with the broker.
I (10587) AZ IOT: An MQTT connection is established with myhub.azure-devices.net
I (10617) MQTT: Packet received. ReceivedBytes=3.
I (10617) AZ IOT: Suback receive context found: 0x00000001
I (10647) MQTT: Packet received. ReceivedBytes=4.
I (10647) AZ IOT: Suback receive context found: 0x00000002
I (10687) AZ IOT: Successfully sent telemetry message
I (10687) AZ IOT: Attempt to receive publish message from IoT Hub.
I (10717) MQTT: Packet received. ReceivedBytes=4023.
I (10717) MQTT: De-serialized incoming PUBLISH packet: DeserializerResult=MQTTSuccess.
I (10737) MQTT: State record updated. New state=MQTTPublishDone.
I (10737) AZ IOT: $iothub/twin/res/200/?$rid=2
I (10737) AZ IOT: Writable properties received: {"desired":{"$version":5,"deviceUpdate":{"__t":"c","service":{"fileUrls":{"fda2c221e992746e2":"http://myhub--myhub.b.nlu.dl.adu.microsoft.com/westeurope/myhub--myhub/75ff1a323a814b5d87811f5d2f394078/azure_iot_freertos_esp32-v1.1.bin"},"updateManifest":"{"manifestVersion":"5","updateId":{"provider":"","name":"ESP32-Azure-IoT-Kit","version":"1.1"},"compatibility":[{"deviceManufacturer":"ESPRESSIF","deviceModel":"ESP32-Azure-IoT-Kit"}],"instructions":{"steps":[{"handler":"microsoft/swupdate:1","files":["fda2c221e992746e2"],"handlerProperties":{"installedCriteria":"1.1"}}]},"files":{"fda2c221e992746e2":{"fileName":"azure_iot_freertos_esp32-v1.1.bin","sizeInBytes":1045888,"hashes":{"sha256":"u4gbY3O9TsPXmndtjJZvyPNTew0Jhm+oDHDxqnQvfgQ="}}},"createdDateTime":"2024-08-20T07:10:24Z"}","updateManifestSignature":"eyJhbGciOiJSUzI1NiIsInNqd2siOiJleUpoYkdjaU9pSlNVekkxTmlJc0ltdHBaQ0k2SWtGRVZTNHlNREEzTURJdVVpSjkuZXlKcmRIa2lPaUpTVTBFaUxDSnVJam9pY21OM01UVm1OMDByTm5SNGQxbzBiREl2WnpKekwycEpLM2Q0VlhwMFNWYzJkMnBqVEVrNVIxTldObkpSYzJKTUwzWjVXVXcyTTBsblZXWmxZbXgwY1hWMU1qQnhNbGROTkU1c1RHeE1RVFprWnk4ME5XSk5jbWhrYUZCb2VuSk5SVkIxV0d4Q05sSldORFZUY0dOWldHUmxVVnBYUWxvMmJtNWlWRmRTTmtRelZHVXZSaTlHSzFjeFFVRmxRbEF6YzBzd2RWQmxXbnBLTjFJd2EyVmhSbU5ZWW1OR1NrOHdZMVZ6VmpWeGJtaHZWWEpPZVc5M04wZDFXRkkwUzNSUmRHcExOMkZoY0VsWGNrcGlTMDlMU1Vsb09GRlZla0pKYlhZNWMxQkdlR2hGT1ZaSldYVjBjR1YwYkRkcE1tMVJkU3RwVHk5bFlVWkdaV0pLYWpGSlp6SnJNblV4SzFSb1kwWnZWM05GTkRkNWMxWjFUVkpRSzBWVlJtNUlVMGRCYlZSM2JHNWxOa1pXUzNSeGFYUmxSVFJJYW5saWFYRTBSa3ROYkZOQmIxQXdjMVI0UkRFNFN6TmphR2RsYWswMk1URk1NM00xWVcwMWNHZDBSMFF3VTJOc1RHaHBOVFIwY0ZGYWExRTRVSGxaY0N0T09YaDFlV04zTlU1WGJIbFhUWGxtU1VONFNGcHVMMGN5VFV4SVMzSnRiQzltTlU5VWJrdzJkRkpzVmtWTU9YbEJWVnAxVDA5dGRrdFVORlptT0dOWFpHTjBZazltTDAweEx6VlpNbEJYYkdZMFpHVTVVbTlpVm10SFVEWTNaSHBRY0ZwbFZVYzRUeTg0UWswMU56SnFhVWxpT1ZOWVZIRjBRVmxSYjJZdlZUZHNRM1JEY2xSU05ucERaM0FpTENKbElqb2lRVkZCUWlJc0ltRnNaeUk2SWxKVE1qVTJJaXdpYTJsa0lqb2lRVVJWTGpJek1EZ3dOeTVTTGxNaWZRLnpERWhCdXIxcnc4OUdpVUFGZEFTSjR5SHhVaVlSZjhSNE51YnNKSlVYRktfT2JlMEdxRWxTcGE2WXVPekppZks0a0pjUkVXMGdkY2YyaXBZSnBfaE12Ml9SNlFVY0U5SzBNZTM5MEgxczhzVHNzcGFRUGpJVUR3ZzY1N0l4TWpoNFppdVVHUm9rR1BDUENzQmFzOGpkUzE4Z2N2X1N4bmZ4d082UlpEdDlXRlBxOE5kMDdKejRpWFZzMUlSTHVXYzV2d1Q2c1ZzeTVQR0lUWHAydFRLOHgxUGpFWHp0akNoZDQ4ODhZM1NNT2JDSzM1WXBxS2hXdHVYOEl1ZjVOQXdNbFUyaXZRbnduU2cyOVBjeTJiZ01SdF8xT3FFWDQ0MU1Xa2lqXzJITVZFMnB1dld3UVQ1WExCUHZvZ2daUVM4YWk0V3NCd1I3TFpZakN5NWdsWGpub09lRzhpVklQb2k5X0dfdHJiQnpMUFZIM3pVRjdMNVBkSFhIZnVFOTd0LU0zRnYxcFV5dWtYMFNrQmRUeHE3NUpzSU5wUDQxRHlKYWh3SGMxZWRqbHc5Mjc4bkU5bHFYeHRmUkdFa2czTUFOVVktczdtVWtPVU1CdDNvTXJHU3J6a3J0UGhwb2U5eDBKVU9EOC1iVTFwTkZWRUtxRGdaVWNMUkR2VXFXUmFBIn0.eyJzaGEyNTYiOiJXdjFOK01RVzhiUjU3ZTYrWXVGYkhhWVVwR0RrZW5TdnZkb0NmeE1icGhRPSJ9.fqO69XmxD26RncqFAkkW07S610ydLWwL0ZMfarcGr89tmpG97CjGSfS4P_ZEnym2mE1eiw1WMJaVl550FgjRW-kjTFJPIgVAVPPHDBTl7wrojkYpWXA7TwcziSEmbXj7cRq87Xq1pJjB6w-18p2rlUuf4_Mvzjot_rQ7okDBJQS_UkbBap_cj05ulkT2wFwar8miIFA3VWewgt7wl5nL1kp1zI51dCUYO1re5sFFQ7JEVvaQRv-DFbkNqcUPimCQJubx8Uh9PxfXnSF8li505JVX12uuYE7qDXYpu-bMsvNQBeBSeNRuwpJRM9iJA7Cp-mRbPsavHgM3N-Kmqdq3hSpnOEXko8TmRjOn01xTEGXy2c3NBUuroA__U0nAMeUMQvjPqW1DtkZpubfR4dqXmcL_RmEi0DI9on2aeZ1cq0nDI0w40UxQefzZmLOJSv4LVKYhAjHdt8t0fOpRjTL46_EGDmVhglqdx3Q5gLIh6EDuoRsqgCGqskSM1Ww-P3k4","workflow":{"action":3,"id":"e7394386-089b-4f64-b207-e7ef79b13f3b"}}}},"reported":{"$version":14,"deviceUpdate":{"__t":"c","agent":{"compatPropertyNames":"manufacturer,model","deviceProperties":{"aduVer":"DU;agent/1.0.0","contractModelId":"dtmi:azure:iot:deviceUpdateContractModel;2","doVer":"1.0.0","interfaceId":"dtmi:azure:iot:deviceUpdate;1","manufacturer":"ESPRESSIF","model":"ESP32-Azure-IoT-Kit"},"installedUpdateId":"{"provider":"Contoso","name":"ESP32-Azure-IoT-Kit","version":"1.1"}","state":0,"workflow":{"action":3,"id":"e7394386-089b-4f64-b207-e7ef79b13f3b"}},"service":{"ac":406,"av":5,"value":{}}}}}
I (11097) AZ IOT: Properties component name: deviceUpdate
I (11097) AZ IOT: Verifying JWS Manifest
I (11297) AZ IOT: [JWS] Calculated manifest SHA matches parsed SHA
I (11297) AZ IOT: [ADU] Accepting update request
I (16087) AZ IOT: [ADU] Step: eAzureIoTADUUpdateStepFirmwareDownloadStarted
I (16087) AZ IOT: [ADU] Send property update.
I (16097) AZ IOT: [ADU] Invoke HTTP Connect Callback.
I (16097) AZ IOT: Connecting socket to myhub--myhub.b.nlu.dl.adu.microsoft.com
I (16147) esp_sockets: (Network connection 0x3fcad46c) Connection to myhub--myhub.b.nlu.dl.adu.microsoft.com established.
I (16147) AZ IOT:  xStatus: 0
I (16187) HTTP: [HTTP] Size Request Success 200
I (16187) AZ IOT: [ADU] HTTP Range Request was successful: size 62848 bytes
I (16187) AZ IOT: [ADU] Send HTTP request.
I (16217) HTTP: [HTTP] [Status 206] Received range 0 to 4096
...
I (26457) HTTP: [HTTP] [Status 206] Received range 851968 to 856064
I (26467) AZ IOT: 10 second timeout. Taking a break from downloading image.
I (26467) AZ IOT: Receiving messages from IoT Hub.
I (26497) MQTT: Packet received. ReceivedBytes=42.
I (26497) MQTT: De-serialized incoming PUBLISH packet: DeserializerResult=MQTTSuccess.
I (26497) MQTT: State record updated. New state=MQTTPublishDone.
I (26517) AZ IOT: $iothub/twin/res/204/?$rid=1&$version=15
I (26527) MQTT: Packet received. ReceivedBytes=2.
I (26527) MQTT: Ack packet deserialized with result: MQTTSuccess.
I (26527) MQTT: State record updated. New state=MQTTPublishDone.
I (26527) AZ IOT: Puback received for packet id: 0x00000003
I (26567) MQTT: Packet received. ReceivedBytes=42.
I (26567) MQTT: De-serialized incoming PUBLISH packet: DeserializerResult=MQTTSuccess.
I (26567) MQTT: State record updated. New state=MQTTPublishDone.
I (26577) AZ IOT: $iothub/twin/res/204/?$rid=3&$version=16
I (26607) MQTT: Packet received. ReceivedBytes=42.
I (26607) MQTT: De-serialized incoming PUBLISH packet: DeserializerResult=MQTTSuccess.
I (26607) MQTT: State record updated. New state=MQTTPublishDone.
I (26627) AZ IOT: $iothub/twin/res/204/?$rid=5&$version=17
I (31667) HTTP: [HTTP] [Status 206] Received range 856064 to 860160
...
I (34017) HTTP: [HTTP] [Status 206] Received range 1044480 to 1045888
I (34017) AZ IOT: Checking for ADU twin updates one more time before committing to update.
I (39027) AZ IOT: [ADU] Image validated against hash from ADU
I (39027) AZ IOT: Base64 Encoded Hash from ADU: u4gbY3O9TsPXmndtjJZvyPNTew0Jhm+oDHDxqnQvfgQ=
I (39027) AZ IOT: Unencoded the base64 encoding
I (39037) AZ IOT: Starting the mbedtls calculation: image size 62848
I (40987) AZ IOT: mbedtls calculation completed
I (40987) AZ IOT: SHAs match
I (40997) AZ IOT: [ADU] Enable the update image
I (40997) esp_image: segment 0: paddr=00120020 vaddr=3c0c0020 size=2e850h (190544) map
I (41057) esp_image: segment 1: paddr=0014e878 vaddr=3fc90e00 size=017a0h (  6048)
I (41057) esp_image: segment 2: paddr=00150020 vaddr=42000020 size=bd174h (774516) map
I (41247) esp_image: segment 3: paddr=0020d19c vaddr=3fc925a0 size=016f4h (  5876)
I (41247) esp_image: segment 4: paddr=0020e898 vaddr=40380000 size=10cc4h ( 68804)
I (41327) AZ IOT: [ADU] Send property update.
I (41327) AZ IOT: [ADU] Reset the device
I (41337) wifi:state: run -> init (0)
I (41337) wifi:pm stop, total sleep time: 16294651 us / 37862015 us
I (41337) wifi:idx:0, tid:0
I (41337) wifi:new:<11,0>, old:<11,0>, ap:<255,255>, sta:<11,0>, prof:1
I (41437) wifi:flush txq
I (41437) wifi:stop sw txq
I (41437) wifi:lmac stop hw txq
I (41637) wifi:Deinit lldesc rx mblock:10
ESP-ROM:esp32c3-api1-20210207
Build:Feb  7 2021
rst:0x3 (RTC_SW_SYS_RST),boot:0xf (SPI_FAST_FLASH_BOOT)
Saved PC:0x40048b82
0x40048b82: software_reset in ROM
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fcd5820,len:0x1714
load:0x403cc710,len:0x968
load:0x403ce710,len:0x2f9c
entry 0x403cc710
I (24) boot: ESP-IDF v5.1.3-416-gd23b7a0361 2nd stage bootloader
I (24) boot: compile time Aug 20 2024 07:02:20
I (24) boot: chip revision: v0.4
I (28) boot.esp32c3: SPI Speed      : 80MHz
I (33) boot.esp32c3: SPI Mode       : DIO
I (38) boot.esp32c3: SPI Flash Size : 4MB
I (42) boot: Enabling RNG early entropy source...
I (48) boot: Partition Table:
I (51) boot: ## Label            Usage          Type ST Offset   Length
I (59) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (66) boot:  1 otadata          OTA data         01 00 0000f000 00002000
I (74) boot:  2 phy_init         RF data          01 01 00011000 00001000
I (81) boot:  3 factory          factory app      00 00 00020000 00100000
I (89) boot:  4 ota_0            OTA app          00 10 00120000 00100000
I (96) boot:  5 ota_1            OTA app          00 11 00220000 00100000
I (103) boot: End of partition table
I (108) esp_image: segment 0: paddr=00120020 vaddr=3c0c0020 size=2e850h (190544) map
I (147) esp_image: segment 1: paddr=0014e878 vaddr=3fc90e00 size=017a0h (  6048) load
I (149) esp_image: segment 2: paddr=00150020 vaddr=42000020 size=bd174h (774516) map
I (279) esp_image: segment 3: paddr=0020d19c vaddr=3fc925a0 size=016f4h (  5876) load
I (280) esp_image: segment 4: paddr=0020e898 vaddr=40380000 size=10cc4h ( 68804) load
I (303) boot: Loaded app from partition at offset 0x120000
I (303) boot: Disabling RNG early entropy source...
I (315) cpu_start: Unicore app
I (315) cpu_start: Pro cpu up.
I (324) cpu_start: Pro cpu start user code
I (324) cpu_start: cpu freq: 160000000 Hz
I (324) cpu_start: Application information:
I (327) cpu_start: Project name:     azure_iot_freertos_esp32
I (333) cpu_start: App version:      1
I (338) cpu_start: Compile time:     Aug 20 2024 07:05:45
I (344) cpu_start: ELF file SHA256:  c655622b6b04c9b0...
Warning: checksum mismatch between flashed and built applications. Checksum of built application is b380be4be47953c36cc81afdaaf002dbd05bd9c993fe1adf34618edffc516d2f
I (350) cpu_start: ESP-IDF:          v5.1.3-416-gd23b7a0361
I (356) cpu_start: Min chip rev:     v0.3
I (361) cpu_start: Max chip rev:     v1.99
I (365) cpu_start: Chip rev:         v0.4
I (370) heap_init: Initializing. RAM available for dynamic allocation:
I (377) heap_init: At 3FC9C8B0 len 00023750 (141 KiB): DRAM
I (384) heap_init: At 3FCC0000 len 0001C710 (113 KiB): DRAM/RETENTION
I (391) heap_init: At 3FCDC710 len 00002950 (10 KiB): DRAM/RETENTION/STACK
I (398) heap_init: At 50000010 len 00001FD8 (7 KiB): RTCRAM
I (405) spi_flash: detected chip: generic
I (409) spi_flash: flash io: dio
I (413) sleep: Configure to isolate all GPIO pins in sleep state
I (420) sleep: Enable automatic switching of GPIO sleep configuration
I (427) app_start: Starting scheduler on CPU0
I (432) main_task: Started on CPU0
I (432) main_task: Calling app_main()
I (542) pp: pp rom version: 9387209
I (542) net80211: net80211 rom version: 9387209
I (552) wifi:wifi driver task: 3fca4f94, prio:23, stack:6656, core=0
I (552) wifi:wifi firmware version: 92daf4348
I (552) wifi:wifi certification version: v7.0
I (552) wifi:config NVS flash: enabled
I (552) wifi:config nano formating: disabled
I (562) wifi:Init data frame dynamic rx buffer num: 32
I (562) wifi:Init static rx mgmt buffer num: 5
I (562) wifi:Init management short buffer num: 32
I (572) wifi:Init dynamic tx buffer num: 32
I (572) wifi:Init static tx FG buffer num: 2
I (582) wifi:Init static rx buffer size: 1600
I (582) wifi:Init static rx buffer num: 10
I (592) wifi:Init dynamic rx buffer num: 32
I (592) wifi_init: rx ba win: 6
I (592) wifi_init: tcpip mbox: 32
I (602) wifi_init: udp mbox: 6
I (602) wifi_init: tcp mbox: 6
I (602) wifi_init: tcp tx win: 5760
I (612) wifi_init: tcp rx win: 5760
I (612) wifi_init: tcp mss: 1440
I (622) wifi_init: WiFi IRAM OP enabled
I (622) wifi_init: WiFi RX IRAM OP enabled
I (632) sample_azureiotkit: Connecting to ...
I (632) phy_init: phy_version 1150,7c3c08f,Jan 24 2024,17:32:21
I (672) wifi:mode : sta (74:4d:bd:fd:1f:c4)
I (672) wifi:enable tsf
I (682) sample_azureiotkit: Waiting for IP(s)
I (3092) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1
I (3392) wifi:state: init -> auth (b0)
I (4392) wifi:state: auth -> init (200)
I (4392) wifi:new:<1,0>, old:<1,0>, ap:<255,255>, sta:<1,0>, prof:1
I (4392) wifi:new:<11,0>, old:<1,0>, ap:<255,255>, sta:<11,0>, prof:1
I (4402) wifi:state: init -> auth (b0)
I (4402) wifi:state: auth -> assoc (0)
I (4412) wifi:state: assoc -> run (10)
I (4462) wifi:connected with , aid = 1, channel 11, BW20, bssid = 78:8a:20:49:91:a7
I (4462) wifi:security: WPA2-PSK, phy: bgn, rssi: -60
I (4462) wifi:pm start, type: 1
I (4462) wifi:dp: 1, bi: 102400, li: 3, scale listen interval from 307200 us to 307200 us
I (4472) wifi:set rx beacon pti, rx_bcn_pti: 0, bcn_timeout: 25000, mt_pti: 0, mt_time: 10000
I (4502) wifi:idx:0 (ifx:0, 78:8a:20:49:91:a7), tid:0, ssn:0, winSize:64
I (4532) wifi:AP's beacon interval = 102400 us, DTIM period = 1
I (5482) esp_netif_handlers: sample_azureiotkit: sta ip: .224, mask: 255.255.255.0, gw: .1
I (5482) sample_azureiotkit: Got IPv4 event: Interface "sample_azureiotkit: sta" address: .224
I (5492) sample_azureiotkit: Connected to sample_azureiotkit: sta
I (5492) sample_azureiotkit: - IPv4 address: .224
I (5502) sample_azureiotkit: Waiting for time synchronization with SNTP server
I (6052) sample_azureiotkit: Notification of a time synchronization event
I (6512) main_task: Returned from app_main()
I (6512) AZ IOT: ------------------------------------------------------------------------------
I (6512) AZ IOT: ADU SAMPLE
I (6512) AZ IOT: Version: 1.1
I (6532) AZ IOT: ------------------------------------------------------------------------------
I (6532) AZ IOT: Creating a TLS connection to myhub.azure-devices.net:8883.
I (7362) esp_tls: (Network connection 0x3fcad4cc) Connection to myhub.azure-devices.net established.
I (7362) AZ IOT: Creating an MQTT connection to myhub.azure-devices.net.
I (7382) AZ IOT: myhub.azure-devices.net%2Fdevices%2FtestDevice
1724142354
I (7462) MQTT: Packet received. ReceivedBytes=2.
I (7462) MQTT: CONNACK session present bit set.
I (7462) MQTT: Connection accepted.
I (7462) MQTT: Received MQTT CONNACK successfully from broker.
I (7482) MQTT: MQTT connection established with the broker.
I (7482) AZ IOT: An MQTT connection is established with myhub.azure-devices.net
I (7492) MQTT: Packet received. ReceivedBytes=3.
I (7492) AZ IOT: Suback receive context found: 0x00000001
I (7532) MQTT: Packet received. ReceivedBytes=4.
I (7532) AZ IOT: Suback receive context found: 0x00000002
I (7572) AZ IOT: Successfully sent telemetry message
I (7572) AZ IOT: Attempt to receive publish message from IoT Hub.
I (7622) MQTT: Packet received. ReceivedBytes=4180.
I (7622) MQTT: De-serialized incoming PUBLISH packet: DeserializerResult=MQTTSuccess.
I (7622) MQTT: State record updated. New state=MQTTPublishDone.
I (7642) AZ IOT: $iothub/twin/res/200/?$rid=2
I (7642) AZ IOT: Writable properties received: {"desired":{"$version":5,"deviceUpdate":{"__t":"c","service":{"fileUrls":{"fda2c221e992746e2":"http://myhub--myhub.b.nlu.dl.adu.microsoft.com/westeurope/myhub--myhub/75ff1a323a814b5d87811f5d2f394078/azure_iot_freertos_esp32-v1.1.bin"},"updateManifest":"{"manifestVersion":"5","updateId":{"provider":"","name":"ESP32-Azure-IoT-Kit","version":"1.1"},"compatibility":[{"deviceManufacturer":"ESPRESSIF","deviceModel":"ESP32-Azure-IoT-Kit"}],"instructions":{"steps":[{"handler":"microsoft/swupdate:1","files":["fda2c221e992746e2"],"handlerProperties":{"installedCriteria":"1.1"}}]},"files":{"fda2c221e992746e2":{"fileName":"azure_iot_freertos_esp32-v1.1.bin","sizeInBytes":1045888,"hashes":{"sha256":"u4gbY3O9TsPXmndtjJZvyPNTew0Jhm+oDHDxqnQvfgQ="}}},"createdDateTime":"2024-08-20T07:10:24Z"}","updateManifestSignature":"eyJhbGciOiJSUzI1NiIsInNqd2siOiJleUpoYkdjaU9pSlNVekkxTmlJc0ltdHBaQ0k2SWtGRVZTNHlNREEzTURJdVVpSjkuZXlKcmRIa2lPaUpTVTBFaUxDSnVJam9pY21OM01UVm1OMDByTm5SNGQxbzBiREl2WnpKekwycEpLM2Q0VlhwMFNWYzJkMnBqVEVrNVIxTldObkpSYzJKTUwzWjVXVXcyTTBsblZXWmxZbXgwY1hWMU1qQnhNbGROTkU1c1RHeE1RVFprWnk4ME5XSk5jbWhrYUZCb2VuSk5SVkIxV0d4Q05sSldORFZUY0dOWldHUmxVVnBYUWxvMmJtNWlWRmRTTmtRelZHVXZSaTlHSzFjeFFVRmxRbEF6YzBzd2RWQmxXbnBLTjFJd2EyVmhSbU5ZWW1OR1NrOHdZMVZ6VmpWeGJtaHZWWEpPZVc5M04wZDFXRkkwUzNSUmRHcExOMkZoY0VsWGNrcGlTMDlMU1Vsb09GRlZla0pKYlhZNWMxQkdlR2hGT1ZaSldYVjBjR1YwYkRkcE1tMVJkU3RwVHk5bFlVWkdaV0pLYWpGSlp6SnJNblV4SzFSb1kwWnZWM05GTkRkNWMxWjFUVkpRSzBWVlJtNUlVMGRCYlZSM2JHNWxOa1pXUzNSeGFYUmxSVFJJYW5saWFYRTBSa3ROYkZOQmIxQXdjMVI0UkRFNFN6TmphR2RsYWswMk1URk1NM00xWVcwMWNHZDBSMFF3VTJOc1RHaHBOVFIwY0ZGYWExRTRVSGxaY0N0T09YaDFlV04zTlU1WGJIbFhUWGxtU1VONFNGcHVMMGN5VFV4SVMzSnRiQzltTlU5VWJrdzJkRkpzVmtWTU9YbEJWVnAxVDA5dGRrdFVORlptT0dOWFpHTjBZazltTDAweEx6VlpNbEJYYkdZMFpHVTVVbTlpVm10SFVEWTNaSHBRY0ZwbFZVYzRUeTg0UWswMU56SnFhVWxpT1ZOWVZIRjBRVmxSYjJZdlZUZHNRM1JEY2xSU05ucERaM0FpTENKbElqb2lRVkZCUWlJc0ltRnNaeUk2SWxKVE1qVTJJaXdpYTJsa0lqb2lRVVJWTGpJek1EZ3dOeTVTTGxNaWZRLnpERWhCdXIxcnc4OUdpVUFGZEFTSjR5SHhVaVlSZjhSNE51YnNKSlVYRktfT2JlMEdxRWxTcGE2WXVPekppZks0a0pjUkVXMGdkY2YyaXBZSnBfaE12Ml9SNlFVY0U5SzBNZTM5MEgxczhzVHNzcGFRUGpJVUR3ZzY1N0l4TWpoNFppdVVHUm9rR1BDUENzQmFzOGpkUzE4Z2N2X1N4bmZ4d082UlpEdDlXRlBxOE5kMDdKejRpWFZzMUlSTHVXYzV2d1Q2c1ZzeTVQR0lUWHAydFRLOHgxUGpFWHp0akNoZDQ4ODhZM1NNT2JDSzM1WXBxS2hXdHVYOEl1ZjVOQXdNbFUyaXZRbnduU2cyOVBjeTJiZ01SdF8xT3FFWDQ0MU1Xa2lqXzJITVZFMnB1dld3UVQ1WExCUHZvZ2daUVM4YWk0V3NCd1I3TFpZakN5NWdsWGpub09lRzhpVklQb2k5X0dfdHJiQnpMUFZIM3pVRjdMNVBkSFhIZnVFOTd0LU0zRnYxcFV5dWtYMFNrQmRUeHE3NUpzSU5wUDQxRHlKYWh3SGMxZWRqbHc5Mjc4bkU5bHFYeHRmUkdFa2czTUFOVVktczdtVWtPVU1CdDNvTXJHU3J6a3J0UGhwb2U5eDBKVU9EOC1iVTFwTkZWRUtxRGdaVWNMUkR2VXFXUmFBIn0.eyJzaGEyNTYiOiJXdjFOK01RVzhiUjU3ZTYrWXVGYkhhWVVwR0RrZW5TdnZkb0NmeE1icGhRPSJ9.fqO69XmxD26RncqFAkkW07S610ydLWwL0ZMfarcGr89tmpG97CjGSfS4P_ZEnym2mE1eiw1WMJaVl550FgjRW-kjTFJPIgVAVPPHDBTl7wrojkYpWXA7TwcziSEmbXj7cRq87Xq1pJjB6w-18p2rlUuf4_Mvzjot_rQ7okDBJQS_UkbBap_cj05ulkT2wFwar8miIFA3VWewgt7wl5nL1kp1zI51dCUYO1re5sFFQ7JEVvaQRv-DFbkNqcUPimCQJubx8Uh9PxfXnSF8li505JVX12uuYE7qDXYpu-bMsvNQBeBSeNRuwpJRM9iJA7Cp-mRbPsavHgM3N-Kmqdq3hSpnOEXko8TmRjOn01xTEGXy2c3NBUuroA__U0nAMeUMQvjPqW1DtkZpubfR4dqXmcL_RmEi0DI9on2aeZ1cq0nDI0w40UxQefzZmLOJSv4LVKYhAjHdt8t0fOpRjTL46_EGDmVhglqdx3Q5gLIh6EDuoRsqgCGqskSM1Ww-P3k4","workflow":{"action":3,"id":"e7394386-089b-4f64-b207-e7ef79b13f3b"}}}},"reported":{"$version":18,"deviceUpdate":{"__t":"c","agent":{"compatPropertyNames":"manufacturer,model","deviceProperties":{"aduVer":"DU;agent/1.0.0","contractModelId":"dtmi:azure:iot:deviceUpdateContractModel;2","doVer":"1.0.0","interfaceId":"dtmi:azure:iot:deviceUpdate;1","manufacturer":"ESPRESSIF","model":"ESP32-Azure-IoT-Kit"},"installedUpdateId":"{"provider":"Contoso","name":"ESP32-Azure-IoT-Kit","version":"1.0"}","lastInstallResult":{"extendedResultCode":1234,"resultCode":0,"resultDetails":"Ok","step_0":{"extendedResultCode":1234,"resultCode":0,"resultDetails":"Ok"}},"state":6,"workflow":{"action":3,"id":"e7394386-089b-4f64-b207-e7ef79b13f3b"}},"service":{"ac":200,"av":5,"value":{}}}}}
I (8012) AZ IOT: Properties component name: deviceUpdate
I (8012) AZ IOT: Verifying JWS Manifest
I (8192) AZ IOT: [JWS] Calculated manifest SHA matches parsed SHA
I (8192) AZ IOT: [ADU] Rejecting update request (installed criteria matches current version)
I (8222) AZ IOT: Keeping Connection Idle...

Expected/desired behavior
A device update deployment should report success as far as I can tell?
OS and Version?
Built on Linux (ubuntu 22.04), ESP-IDF v5.1.3-416-gd23b7a0361
Versions

sample version: f06e8c7fc8204c98dcbdad7ac86c2fc0429492ab

Mention any other details that might be useful
The overview in the deployment screen:

Note that the device reports "result code 0" which should mean that the update was successful as far as I can tell.

Thanks! We'll be in touch soon.

Figured it out. The "current version" that needs to be reported by the device update agent needs to be a JSON string containing the provider, name and version, not just the version number.
Not sure if I missed it in the docs somewhere, but I feel that it might be easily overlooked.


text:
feat (DOCS-CODE-007): [client-credential-flow] .NET (C#) web API

related: #508140, #508141
WHY
we wanted to create a new ASP.NET Core 6 minimal web API tutorial written in C# for client credential flow without Managed Identities.
WHAT Changed?
add web API
add readme
HOW to Test?
Follow the README.md and you should be able to get 200 response status code from MS Graph applications Api  endpoint. You look at the code and it feels very idiomatic and native but at the same time some portions of the code are inlined to improve the user experience while reading the docs.

thanks a lot @ckittel for all the feedback in here.
@mmacy it is not ready for a content dev review.

@ckittel it looks like we are now ready to merge. Please let's do this based on your convenience.

source: gharchive/pull-request


text:
Update and rename dotnetfunction.yml.template to dotnetfunction.yml

tp2 deployement fonction azure
Purpose

...

Does this introduce a breaking change?

[ ] Yes
[ ] No

Pull Request Type
What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

How to Test

Get the code

git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install

Test the code

What to Check
Verify that the following are valid

...

Other Information

ll


text:
fix: removed unused vhd-rg-cleanup.sh script

What type of PR is this?
/kind cleanup

What this PR does / why we need it:
There is an unused script in /vhdbuilder/packer/, removing it for cleanliness
Requirements:

[ ] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
pipeline run
Release note:
none

Pull Request Test Coverage Report for Build 5007239225

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 62.022%

Totals

Change from base Build 5005609928:
0%

Covered Lines:
2546

Relevant Lines:
4105

💛  - Coveralls

authors: SeanDougherty coveralls

repo: Azure/AgentBaker


text:
chore: add datamodel for component config files

What type of PR is this?
/kind feature
What this PR does / why we need it:
this PR adds datamodel Components and DockerKubeProxyImages for corresponding config files
Which issue(s) this PR fixes:

Fixes #
Requirements:

[x] uses conventional commit messages

[x] includes documentation
[x] adds unit tests
[x] tested upgrade from previous version: no change to existing codes

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build 5962509244

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall first build on hdya/add-components-config-model-to-pkg-datamodel at 61.309%

Totals

Change from base Build 5958824130:
61.3%

Covered Lines:
2651

Relevant Lines:
4324

💛  - Coveralls

authors: HDYA coveralls


text:
Add new patch versions 1.27.12, 1.28.8 and 1.29.3

What type of PR is this?
/kind feature
What this PR does / why we need it:
Add new patch versions 1.27.12, 1.28.8 and 1.29.3
Which issue(s) this PR fixes:
Fixes #
Requirements:

[ ] uses conventional commit messages
[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build 8628588812
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 82.077%

Totals

Change from base Build 8628327312:
0.0%

Covered Lines:
2450

Relevant Lines:
2985

💛  - Coveralls

authors: coveralls wenhug


text:
fix: remove CLASSIC_SA_CONNECTION_STRING

What type of PR is this?
/kind feature

What this PR does / why we need it:
remove CLASSIC_SA_CONNECTION_STRING
Which issue(s) this PR fixes:

Fixes #
Requirements:

[x] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests
[ ] tested upgrade from previous version

Special notes for your reviewer:
Release note:
none

Pull Request Test Coverage Report for Build 9348666127
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 75.969%

Totals

Change from base Build 9347403498:
0.0%

Covered Lines:
2627

Relevant Lines:
3458

💛  - Coveralls

Thank @cameronmeissner since this PR references https://github.com/Azure/AgentBaker/pull/4288 and the sas token will be deleted after https://github.com/Azure/AgentBaker/pull/4439 is merged

authors: AbelHu coveralls


text:
Plans for Python 3.7+ support for BOX connector

We have a customer inquiry through CSS about the BOX connector.
According to the info here, Python 3.6 is required.
"Choose Python 3.6 (note that other versions of python are not supported for this function)"
https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Box/Data Connectors/Box_API_FunctionApp.json
Support for 3.6 ended in December 2021. Do you plan to support higher versions of Python with this connector soon?
https://endoflife.date/python
You can contact me internally at v-dibr if more info is needed.

Please raise through internal channels

repo: Azure/Azure-Sentinel


text:
FortiNet FortiGate - Updated category filter to use new CEF field

Change(s):

Replaced AdditionalExtensions with DeviceEventCategory field to check for traffic field

Reason for Change(s):

Change in CEF schema

Version Updated:

Yes

Testing Completed:

Yes

Checked that the validations are passing and have addressed any issues that are present:

Yes

@devikamehra : we have here again the DeviceEventCategory validation issue:

I asked Ashish to take over updating the validation with new schemas. We need to move forward with that.
For now, probably best to do the same trick you did in another parsers using column_ifexists.

@devikamehra : we have here again the DeviceEventCategory validation issue:

I asked Ashish to take over updating the validation with new schemas. We need to move forward with that.
For now, probably best to do the same trick you did in another parsers using column_ifexists.

@oshezaf I have made the changes for now. Also, work is already underway to improve the nuget packages for these fields.

authors: devikamehra oshezaf


text:
Simulators trying to pull non-existent images

Describe the bug
When deploying the full solution, the Edge VM's don't behave as expected. Not all modules are loaded. On closer inspection of the Linux agent, I noticed it's trying to pull version tag :2.8.100 of the publisher, discovery and twin modules. The tag list for these modules don't include 2.8.100, but only the following:
"2.8.100-alpha",
"2.8.100-alpha-debug",
"2.8.100-alpha-linux-amd64",
"2.8.100-alpha-linux-amd64-debug",
"2.8.100-alpha-linux-arm32v7",
"2.8.100-alpha-linux-arm32v7-debug",
"2.8.100-alpha-linux-arm64v8",
"2.8.100-alpha-linux-arm64v8-debug",
"2.8.100-alpha-nanoserver-amd64-1809",
"2.8.100-alpha-nanoserver-amd64-1809-debug",
"2.8.100-alpha-nanoserver-amd64-1909",
"2.8.100-alpha-nanoserver-amd64-1909-debug",

To Reproduce

Deploy full solution
SSH to Linux VM
Run iotedge logs -f edgeAgent
See all the errors regarding the module image not being pulled

---> (Inner Exception #2) Microsoft.Azure.Devices.Edge.Agent.Edgelet.EdgeletCommunicationException- Message:Error calling Create module discovery: Could not create module discovery
        caused by: Could not pull image mcr.microsoft.com/iotedge/discovery:2.8.100

Expected behavior
Alle Edge VMs should have a valid configuration after deployment
Screenshots

Desktop (please complete the following information):

OS: Ubuntu 16.04

Additional context
N/A

I'm still having this issue. Deployed the full solution and the VMs try to load 2.8.103 as version for the discovery, twin and publisher modules, which does not exist in the list of tags.  Specifying the version with the -version flag didn't work either.

@mm-mbinder, please use our latest release for deployments, which is 2.7.199. To do that:

Checkout release/2.7.199 branch.

Deploy the platform and specify the version to be deployed in command line:
For windows:
.\deploy -type all -version "2.7.199"

For Linux
./deploy.sh -type all -version "2.7.199"

authors: MatthijsvdVeer karok2m mm-mbinder

repo: Azure/Industrial-IoT