OhadSoft.AzureLetsEncrypt.Renewal.WebJob run fail

The renewer was working fine since 2 years ago, it was a case of setting it and forget.
Now... with the phasing of acme-v01.api for the acme-v02.api, I'm struggling mightily with a seemingly easy setup.
The webjob run fail with an error at the end of the process, please need help figuring out whats it is triggering an invalid client error, I reapplied a new secret key but it doesn't seem to help.

[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.d__60.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Internal\Flows\AcquireTokenHandlerBase.cs:line 241
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext.d__37.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\AuthenticationContext.cs:line 508
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext.d__64.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\AuthenticationContext.cs:line 1014
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() [04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.ArmHelper.<GetToken>d__2.MoveNext() [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
[04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.ArmHelper.d__0.MoveNext()
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() [04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.Services.KuduFileSystemAuthorizationChallengeProvider.<GetKuduRestClient>d__9.MoveNext() [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
[04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.Services.KuduFileSystemAuthorizationChallengeProvider.d__7.MoveNext()
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
[04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.Services.KuduFileSystemAuthorizationChallengeProvider.d__5.MoveNext()
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
[04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.Services.BaseHttpAuthorizationChallengeProvider.d__5.MoveNext()
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() [04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.Services.AcmeService.<RequestCertificate>d__5.MoveNext() [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
[04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.CertificateManager.d__14.MoveNext()
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() [04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.CertificateManager.<RequestAndInstallInternalAsync>d__15.MoveNext() [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
[04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.CertificateManager.d__10.MoveNext()
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at OhadSoft.AzureLetsEncrypt.Renewal.Management.RenewalManager.d__7.MoveNext() in C:\projects\letsencrypt-webapp-renewer\src\OhadSoft.AzureLetsEncrypt.Renewal\Management\RenewalManager.cs:line 76
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at OhadSoft.AzureLetsEncrypt.Renewal.WebJob.AppSettings.AppSettingsRenewer.d__4.MoveNext() in C:\projects\letsencrypt-webapp-renewer\src\OhadSoft.AzureLetsEncrypt.Renewal.WebJob\AppSettings\AppSettingsRenewer.cs:line 34
[04/16/2020 07:07:25 > 319a7e: INFO] 	ErrorCode: invalid_client
[04/16/2020 07:07:25 > 319a7e: INFO] 	StatusCode: 401<---
[04/16/2020 07:07:25 > 319a7e: INFO]
[04/16/2020 07:07:25 > 319a7e: INFO] ---> (Inner Exception #7) Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException: AADSTS7000215: Invalid client secret is provided.
[04/16/2020 07:07:25 > 319a7e: INFO] Trace ID: 1de89f9d-f05f-4055-87e2-d3fde4c90c00
[04/16/2020 07:07:25 > 319a7e: INFO] Correlation ID: 6bb042bf-8cc8-44e2-ab0e-5d6a5858ae16
[04/16/2020 07:07:25 > 319a7e: INFO] Timestamp: 2020-04-16 07:07:15Z ---> Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException: Response status code does not indicate success: 401 (Unauthorized).
[04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.Identity.Core.OAuth2.OAuthClient.d__181.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Core\OAuth2\OAuthClient.cs:line 66 [04/16/2020 07:07:25 > 319a7e: INFO]    --- End of inner exception stack trace --- [04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.Identity.Core.OAuth2.OAuthClient.<GetResponseAsync>d__181.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Core\OAuth2\OAuthClient.cs:line 116
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.Identity.Core.OAuth2.OAuthClient.d__171.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Core\OAuth2\OAuthClient.cs:line 0 [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.<SendHttpMessageAsync>d__75.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Internal\Flows\AcquireTokenHandlerBase.cs:line 405 [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.<SendTokenRequestAsync>d__72.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Internal\Flows\AcquireTokenHandlerBase.cs:line 333 [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.<CheckAndAcquireTokenUsingBrokerAsync>d__62.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Internal\Flows\AcquireTokenHandlerBase.cs:line 266 [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.<RunAsync>d__60.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Internal\Flows\AcquireTokenHandlerBase.cs:line 241 [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext.<AcquireTokenForClientCommonAsync>d__37.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\AuthenticationContext.cs:line 508 [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext.<AcquireTokenAsync>d__64.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\AuthenticationContext.cs:line 1014 [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
[04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.ArmHelper.d__2.MoveNext()
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() [04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.ArmHelper.<GetWebSiteManagementClient>d__0.MoveNext() [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
[04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.Services.KuduFileSystemAuthorizationChallengeProvider.d__9.MoveNext()
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() [04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.Services.KuduFileSystemAuthorizationChallengeProvider.<WriteFile>d__7.MoveNext() [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.GetResult() [04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.Services.KuduFileSystemAuthorizationChallengeProvider.<EnsureWebConfig>d__5.MoveNext() [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.GetResult() [04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.Services.BaseHttpAuthorizationChallengeProvider.<Authorize>d__5.MoveNext() [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
[04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.Services.AcmeService.d__5.MoveNext()
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() [04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.CertificateManager.<RequestInternalAsync>d__14.MoveNext() [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
[04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.CertificateManager.d__15.MoveNext()
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() [04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.CertificateManager.<AddCertificate>d__10.MoveNext() [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at OhadSoft.AzureLetsEncrypt.Renewal.Management.RenewalManager.<RenewCore>d__7.MoveNext() in C:\projects\letsencrypt-webapp-renewer\src\OhadSoft.AzureLetsEncrypt.Renewal\Management\RenewalManager.cs:line 76 [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at OhadSoft.AzureLetsEncrypt.Renewal.WebJob.AppSettings.AppSettingsRenewer.<Renew>d__4.MoveNext() in C:\projects\letsencrypt-webapp-renewer\src\OhadSoft.AzureLetsEncrypt.Renewal.WebJob\AppSettings\AppSettingsRenewer.cs:line 34 [04/16/2020 07:07:25 > 319a7e: INFO] 	ErrorCode: invalid_client [04/16/2020 07:07:25 > 319a7e: INFO] 	StatusCode: 401<--- [04/16/2020 07:07:25 > 319a7e: INFO]  [04/16/2020 07:07:25 > 319a7e: INFO] ---> (Inner Exception #8) Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException: AADSTS7000215: Invalid client secret is provided. [04/16/2020 07:07:25 > 319a7e: INFO] Trace ID: fe560327-df27-4ab3-84e8-25dcdf800d00 [04/16/2020 07:07:25 > 319a7e: INFO] Correlation ID: 500abc1f-3c7e-46b9-b4df-3af3fb6b6907 [04/16/2020 07:07:25 > 319a7e: INFO] Timestamp: 2020-04-16 07:07:17Z ---> Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException: Response status code does not indicate success: 401 (Unauthorized). [04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.Identity.Core.OAuth2.OAuthClient.<GetResponseAsync>d__181.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Core\OAuth2\OAuthClient.cs:line 66
[04/16/2020 07:07:25 > 319a7e: INFO]    --- End of inner exception stack trace ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.Identity.Core.OAuth2.OAuthClient.d__181.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Core\OAuth2\OAuthClient.cs:line 116 [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.Identity.Core.OAuth2.OAuthClient.<GetResponseAsync>d__171.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Core\OAuth2\OAuthClient.cs:line 0
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.d__75.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Internal\Flows\AcquireTokenHandlerBase.cs:line 405
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.d__72.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Internal\Flows\AcquireTokenHandlerBase.cs:line 333
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.d__62.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Internal\Flows\AcquireTokenHandlerBase.cs:line 266
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.d__60.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Internal\Flows\AcquireTokenHandlerBase.cs:line 241
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext.d__37.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\AuthenticationContext.cs:line 508
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext.d__64.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\AuthenticationContext.cs:line 1014
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() [04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.ArmHelper.<GetToken>d__2.MoveNext() [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
[04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.ArmHelper.d__0.MoveNext()
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() [04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.Services.KuduFileSystemAuthorizationChallengeProvider.<GetKuduRestClient>d__9.MoveNext() [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
[04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.Services.KuduFileSystemAuthorizationChallengeProvider.d__7.MoveNext()
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
[04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.Services.KuduFileSystemAuthorizationChallengeProvider.d__5.MoveNext()
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
[04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.Services.BaseHttpAuthorizationChallengeProvider.d__5.MoveNext()
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() [04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.Services.AcmeService.<RequestCertificate>d__5.MoveNext() [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
[04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.CertificateManager.d__14.MoveNext()
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() [04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.CertificateManager.<RequestAndInstallInternalAsync>d__15.MoveNext() [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
[04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.CertificateManager.d__10.MoveNext()
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at OhadSoft.AzureLetsEncrypt.Renewal.Management.RenewalManager.d__7.MoveNext() in C:\projects\letsencrypt-webapp-renewer\src\OhadSoft.AzureLetsEncrypt.Renewal\Management\RenewalManager.cs:line 76
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at OhadSoft.AzureLetsEncrypt.Renewal.WebJob.AppSettings.AppSettingsRenewer.d__4.MoveNext() in C:\projects\letsencrypt-webapp-renewer\src\OhadSoft.AzureLetsEncrypt.Renewal.WebJob\AppSettings\AppSettingsRenewer.cs:line 34
[04/16/2020 07:07:25 > 319a7e: INFO] 	ErrorCode: invalid_client
[04/16/2020 07:07:25 > 319a7e: INFO] 	StatusCode: 401<---
[04/16/2020 07:07:25 > 319a7e: INFO]
[04/16/2020 07:07:25 > 319a7e: INFO] ---> (Inner Exception #9) Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException: AADSTS7000215: Invalid client secret is provided.
[04/16/2020 07:07:25 > 319a7e: INFO] Trace ID: 8be1a268-e009-4b03-a4f0-5c10873e0c00
[04/16/2020 07:07:25 > 319a7e: INFO] Correlation ID: d4a38b2f-300f-4991-a94d-fdf18f365c89
[04/16/2020 07:07:25 > 319a7e: INFO] Timestamp: 2020-04-16 07:07:19Z ---> Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException: Response status code does not indicate success: 401 (Unauthorized).
[04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.Identity.Core.OAuth2.OAuthClient.d__181.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Core\OAuth2\OAuthClient.cs:line 66 [04/16/2020 07:07:25 > 319a7e: INFO]    --- End of inner exception stack trace --- [04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.Identity.Core.OAuth2.OAuthClient.<GetResponseAsync>d__181.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Core\OAuth2\OAuthClient.cs:line 116
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.Identity.Core.OAuth2.OAuthClient.d__171.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Core\OAuth2\OAuthClient.cs:line 0 [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.<SendHttpMessageAsync>d__75.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Internal\Flows\AcquireTokenHandlerBase.cs:line 405 [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.<SendTokenRequestAsync>d__72.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Internal\Flows\AcquireTokenHandlerBase.cs:line 333 [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.<CheckAndAcquireTokenUsingBrokerAsync>d__62.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Internal\Flows\AcquireTokenHandlerBase.cs:line 266 [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.<RunAsync>d__60.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Internal\Flows\AcquireTokenHandlerBase.cs:line 241 [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext.<AcquireTokenForClientCommonAsync>d__37.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\AuthenticationContext.cs:line 508 [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext.<AcquireTokenAsync>d__64.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\AuthenticationContext.cs:line 1014 [04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
[04/16/2020 07:07:25 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.ArmHelper.d__2.MoveNext()
[04/16/2020 07:07:25 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:25 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() [04/16/2020 07:07:26 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.ArmHelper.<GetWebSiteManagementClient>d__0.MoveNext() [04/16/2020 07:07:26 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
[04/16/2020 07:07:26 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.Services.KuduFileSystemAuthorizationChallengeProvider.d__9.MoveNext()
[04/16/2020 07:07:26 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() [04/16/2020 07:07:26 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.Services.KuduFileSystemAuthorizationChallengeProvider.<WriteFile>d__7.MoveNext() [04/16/2020 07:07:26 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.GetResult() [04/16/2020 07:07:26 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.Services.KuduFileSystemAuthorizationChallengeProvider.<EnsureWebConfig>d__5.MoveNext() [04/16/2020 07:07:26 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.GetResult() [04/16/2020 07:07:26 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.Services.BaseHttpAuthorizationChallengeProvider.<Authorize>d__5.MoveNext() [04/16/2020 07:07:26 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
[04/16/2020 07:07:26 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.Services.AcmeService.d__5.MoveNext()
[04/16/2020 07:07:26 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() [04/16/2020 07:07:26 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.CertificateManager.<RequestInternalAsync>d__14.MoveNext() [04/16/2020 07:07:26 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
[04/16/2020 07:07:26 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.CertificateManager.d__15.MoveNext()
[04/16/2020 07:07:26 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() [04/16/2020 07:07:26 > 319a7e: INFO]    at LetsEncrypt.Azure.Core.CertificateManager.<AddCertificate>d__10.MoveNext() [04/16/2020 07:07:26 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:26 > 319a7e: INFO]    at OhadSoft.AzureLetsEncrypt.Renewal.Management.RenewalManager.<RenewCore>d__7.MoveNext() in C:\projects\letsencrypt-webapp-renewer\src\OhadSoft.AzureLetsEncrypt.Renewal\Management\RenewalManager.cs:line 76 [04/16/2020 07:07:26 > 319a7e: INFO] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:26 > 319a7e: INFO]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:26 > 319a7e: INFO]    at OhadSoft.AzureLetsEncrypt.Renewal.WebJob.AppSettings.AppSettingsRenewer.<Renew>d__4.MoveNext() in C:\projects\letsencrypt-webapp-renewer\src\OhadSoft.AzureLetsEncrypt.Renewal.WebJob\AppSettings\AppSettingsRenewer.cs:line 34 [04/16/2020 07:07:26 > 319a7e: INFO] 	ErrorCode: invalid_client [04/16/2020 07:07:26 > 319a7e: INFO] 	StatusCode: 401<--- [04/16/2020 07:07:26 > 319a7e: INFO]  [04/16/2020 07:07:26 > 319a7e: ERR ]  [04/16/2020 07:07:26 > 319a7e: ERR ] Unhandled Exception: System.AggregateException: Encountered exception(s) during cert renewal (and/or notification) ---> Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException: AADSTS7000215: Invalid client secret is provided. [04/16/2020 07:07:26 > 319a7e: ERR ] Trace ID: 1b17249b-ca33-4e41-b4c8-e50e9abb0b00 [04/16/2020 07:07:26 > 319a7e: ERR ] Correlation ID: 4d099f86-cc6d-43e9-9ba9-90e3ee2918e5 [04/16/2020 07:07:26 > 319a7e: ERR ] Timestamp: 2020-04-16 07:07:02Z ---> Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException: Response status code does not indicate success: 401 (Unauthorized). [04/16/2020 07:07:26 > 319a7e: ERR ]    at Microsoft.Identity.Core.OAuth2.OAuthClient.<GetResponseAsync>d__181.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Core\OAuth2\OAuthClient.cs:line 66
[04/16/2020 07:07:26 > 319a7e: ERR ]    --- End of inner exception stack trace ---
[04/16/2020 07:07:26 > 319a7e: ERR ]    at Microsoft.Identity.Core.OAuth2.OAuthClient.d__181.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Core\OAuth2\OAuthClient.cs:line 116 [04/16/2020 07:07:26 > 319a7e: ERR ] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:26 > 319a7e: ERR ]    at Microsoft.Identity.Core.OAuth2.OAuthClient.<GetResponseAsync>d__171.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Core\OAuth2\OAuthClient.cs:line 0
[04/16/2020 07:07:26 > 319a7e: ERR ] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.d__75.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Internal\Flows\AcquireTokenHandlerBase.cs:line 405
[04/16/2020 07:07:26 > 319a7e: ERR ] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.d__72.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Internal\Flows\AcquireTokenHandlerBase.cs:line 333
[04/16/2020 07:07:26 > 319a7e: ERR ] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.d__62.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Internal\Flows\AcquireTokenHandlerBase.cs:line 266
[04/16/2020 07:07:26 > 319a7e: ERR ] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at Microsoft.IdentityModel.Clients.ActiveDirectory.Internal.Flows.AcquireTokenHandlerBase.d__60.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\Internal\Flows\AcquireTokenHandlerBase.cs:line 241
[04/16/2020 07:07:26 > 319a7e: ERR ] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext.d__37.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\AuthenticationContext.cs:line 508
[04/16/2020 07:07:26 > 319a7e: ERR ] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at Microsoft.IdentityModel.Clients.ActiveDirectory.AuthenticationContext.d__64.MoveNext() in D:\a\1\s\src\Microsoft.IdentityModel.Clients.ActiveDirectory\AuthenticationContext.cs:line 1014
[04/16/2020 07:07:26 > 319a7e: ERR ] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() [04/16/2020 07:07:26 > 319a7e: ERR ]    at LetsEncrypt.Azure.Core.ArmHelper.<GetToken>d__2.MoveNext() [04/16/2020 07:07:26 > 319a7e: ERR ] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
[04/16/2020 07:07:26 > 319a7e: ERR ]    at LetsEncrypt.Azure.Core.ArmHelper.d__0.MoveNext()
[04/16/2020 07:07:26 > 319a7e: ERR ] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() [04/16/2020 07:07:26 > 319a7e: ERR ]    at LetsEncrypt.Azure.Core.Services.KuduFileSystemAuthorizationChallengeProvider.<GetKuduRestClient>d__9.MoveNext() [04/16/2020 07:07:26 > 319a7e: ERR ] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
[04/16/2020 07:07:26 > 319a7e: ERR ]    at LetsEncrypt.Azure.Core.Services.KuduFileSystemAuthorizationChallengeProvider.d__7.MoveNext()
[04/16/2020 07:07:26 > 319a7e: ERR ] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
[04/16/2020 07:07:26 > 319a7e: ERR ]    at LetsEncrypt.Azure.Core.Services.KuduFileSystemAuthorizationChallengeProvider.d__5.MoveNext()
[04/16/2020 07:07:26 > 319a7e: ERR ] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.GetResult()
[04/16/2020 07:07:26 > 319a7e: ERR ]    at LetsEncrypt.Azure.Core.Services.BaseHttpAuthorizationChallengeProvider.d__5.MoveNext()
[04/16/2020 07:07:26 > 319a7e: ERR ] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() [04/16/2020 07:07:26 > 319a7e: ERR ]    at LetsEncrypt.Azure.Core.Services.AcmeService.<RequestCertificate>d__5.MoveNext() [04/16/2020 07:07:26 > 319a7e: ERR ] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
[04/16/2020 07:07:26 > 319a7e: ERR ]    at LetsEncrypt.Azure.Core.CertificateManager.d__14.MoveNext()
[04/16/2020 07:07:26 > 319a7e: ERR ] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult() [04/16/2020 07:07:26 > 319a7e: ERR ]    at LetsEncrypt.Azure.Core.CertificateManager.<RequestAndInstallInternalAsync>d__15.MoveNext() [04/16/2020 07:07:26 > 319a7e: ERR ] --- End of stack trace from previous location where exception was thrown --- [04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) [04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) [04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter1.GetResult()
[04/16/2020 07:07:26 > 319a7e: ERR ]    at LetsEncrypt.Azure.Core.CertificateManager.d__10.MoveNext()
[04/16/2020 07:07:26 > 319a7e: ERR ] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at OhadSoft.AzureLetsEncrypt.Renewal.Management.RenewalManager.d__7.MoveNext() in C:\projects\letsencrypt-webapp-renewer\src\OhadSoft.AzureLetsEncrypt.Renewal\Management\RenewalManager.cs:line 76
[04/16/2020 07:07:26 > 319a7e: ERR ] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at OhadSoft.AzureLetsEncrypt.Renewal.WebJob.AppSettings.AppSettingsRenewer.d__4.MoveNext() in C:\projects\letsencrypt-webapp-renewer\src\OhadSoft.AzureLetsEncrypt.Renewal.WebJob\AppSettings\AppSettingsRenewer.cs:line 34
[04/16/2020 07:07:26 > 319a7e: ERR ]    --- End of inner exception stack trace ---
[04/16/2020 07:07:26 > 319a7e: ERR ]    at OhadSoft.AzureLetsEncrypt.Renewal.WebJob.AppSettings.AppSettingsRenewer.d__4.MoveNext() in C:\projects\letsencrypt-webapp-renewer\src\OhadSoft.AzureLetsEncrypt.Renewal.WebJob\AppSettings\AppSettingsRenewer.cs:line 46
[04/16/2020 07:07:26 > 319a7e: ERR ] --- End of stack trace from previous location where exception was thrown ---
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
[04/16/2020 07:07:26 > 319a7e: ERR ]    at OhadSoft.AzureLetsEncrypt.Renewal.WebJob.Program.WebJobMain(String webjobName) in C:\projects\letsencrypt-webapp-renewer\src\OhadSoft.AzureLetsEncrypt.Renewal.WebJob\Program.cs:line 71
[04/16/2020 07:07:26 > 319a7e: ERR ]    at OhadSoft.AzureLetsEncrypt.Renewal.WebJob.Program.Main(String[] args) in C:\projects\letsencrypt-webapp-renewer\src\OhadSoft.AzureLetsEncrypt.Renewal.WebJob\Program.cs:line 41
[04/16/2020 07:07:26 > 319a7e: SYS INFO] Status changed to Failed
[04/16/2020 07:07:26 > 319a7e: SYS ERR ] Job failed due to exit code -532462766

Error looks pretty straightforward... I would suggest:

Double check letsencrypt:webAppName-clientId config. You can see in the logs which client ID was selected after resolution of default values etc.
Double check the letsencrypt:webAppName-clientSecret config - recall this should be a connection string (not regular app config)
Go to Active Directory and make sure the above two match and that the key you're using is not expired

Closing due to inactivity, please re-open if the issue persists


Channel Endpoint definition

Hi, @trustin and @normanmaurer
I've been looking around for something minor to do while I'm off work, so I came back here to look around for some trivial bugs. Netty must be doing great, because I couldn't see any at first glance! :+1:
I came across an old TODO in DefaultChannelConfig asking for some fields in ChannelMetadata for server/client type endpoint definitions, and NioByteBuffer declaration.
Well, I took a stab at trying to implement the first half; Endpoint declaration in ChannelMetadata
This is probably pretty bad, so feel free to point out mistakes - Even those that are so obvious that I shouldn't have even thought about doing it in the first place. I'm likely to forget that I even did this in the first place :+1:
I'll try to come back and contribute some more soon. I need some more copious amounts of coffee before trying to do anything else.

If I understood correctly, 'server' here means a channel that accepts a new child channel, and 'client' here means a channel that performs actual transmission of messages.  However, I'm not sure they are clear to everyone.  Why don't we just add the following to ChannelMetadata:

Set<Class<?>> inboundMessageTypes()
Set<Class<?>> outboundMessageTypes()

Also, we could add more properties to ChannelMetadata to remove the ugly instanceof, such as:

defaultMaxMessagesPerRead
defaultWriteSpinCount
defaultBufferHighWaterMark
...

Then, the DefaultChannelConfig's ugly if statement could be eliminated fairly easily.

Superseded by #3335


Cleverbot.io instead of official cleverbot api

The reason is unlimited api requests free of charge.

First: This is a feature, we don't accept features here we do that here: http://feathub.com/Kwoth/NadekoBot
Second: I'm not sure if the quality is as good as cleverbot api. I'm not sure but we actully used to use cleverbot.io but we changed from that. So even if your feature would be getting alot of votes. Kwoth probably would deny it.

@Kwoth Opinions?

First: This is a feature, we don't accept features here we do that here: http://feathub.com/Kwoth/NadekoBot

I do not think, that it is a feature, it is more relevant to discuss those AI + and -.

Well you can list the + and - here. Maybe it’ll help to progress the issue/suggestion? No clue what kwoth thinking about it.
Personally I never had issues with the current cleverbot and other people are also happy with it. But blow or minds :-)

@TiBarification I've bin thinking about this but is it an idea to implement both?
Like: if amount of calls is reached. Then it switches to the .io bot.
Kwoth: you think that's an acceptabel solution?

I would agree with adding this, because they removed the free 5k plan due to abuse etc.
I'll add a Quote of their website: NOTE: The Cleverbot API was previously free to use for the first 5000 calls, but constant misuse of this free package, and the maintenance work it caused, mean that it can no longer be offered.
Another Cleverbot service would be great to have.

#2323


Javascript

Hey guys i want to learn JavaScript

There are countless free stuff online for you to  get started

Thanks, where please?


[ci] Add workflow

cc https://github.com/paritytech/ci_cd/issues/960

Sure, added. The jobs have the same CI image (image: "paritytech/ci-unified:bullseye-1.75.0-2024-01-22-v20240222") in order to not repeat it several times we can add it to repo environment variables

@alvicsam it seems a loopback interface is not enabled in the container. All the "real" networking tests fail with
called `Result::unwrap()` on an `Err` value: Os { code: 99, kind: AddrNotAvailable, message: "Cannot assign requested address" }

Can you have a look, please?

The jobs have the same CI image (image: "paritytech/ci-unified:bullseye-1.75.0-2024-01-22-v20240222") in order to not repeat it several times we can add it to repo environment variables (but I need permissions for that)

That would be nice. What kind of permissions do you need? What would be the best way forward to keep the image in sync with polkadot-sdk repo tests (so that at least the rust toolchain is the same)?

Can you have a look, please?

Sure, I'll take a look

What would be the best way forward to keep the image in sync with polkadot-sdk repo tests (so that at least the rust toolchain is the same)?

This is a really good question. The problem is actually bigger because there will be more and more repos that will depend on the same CI image that is used in polkadot-sdk repo. I will create an issue in our tracker with thoughts how we can achieve that.
As for permissions I'll ask the security team to provide them.

@dmitry-markin it seems I need your help with the tests
Tests in container fail with the error you sent (even if the container runs in the privileged mode). Without container it hangs on test protocol::request_response::large_response_quic has been running for over 60 seconds

@dmitry-markin it seems I need your help with the tests Tests in container fail with the error you sent (even if the container runs in the privileged mode). Without container it hangs on test protocol::request_response::large_response_quic has been running for over 60 seconds

My guess is that the issue can be due to loopback inteface not being present / being down. What was the output of ip a in the commit ci image var, check lo? If the lo interface was down, it should be brought up with ip link set lo up (probably appropriate privileges are required), and if it's not — there is something severely off with the networking in the container.
If lo is present and is up, we'll need to investigate further.

I could run a simple http server on the lo interface so it's available.

Thanks, I'll think how to investigate the problem.

I've created https://github.com/paritytech/litep2p/pull/63 to test out a few ideas.
The first commits validate that the IPv6 is not enabled, by using <IP_ADDRESS> to bind instead of ::1.
After reading more about this, I think the fix should be present in: https://github.com/paritytech/litep2p/pull/63/commits/8c6f88e39297fb5f648dfcff5ae70bb0960f21b2, which adds --sysctl net.ipv6.conf.all.disable_ipv6=0. I don't believe offhand that we need to run the container in privileged mode.
I'll wait a bit to see if the testing is passing.
As always, thanks a lot @alvicsam for helping us here! 🙏

I've created #63 to test out a few ideas.

This have solved the issue with binding to loopback addresses! :tada: Thanks @lexnv!
Yet, we have some other failures:

conformance::golang::tcp_ping_identify::go_libp2p_dials — as I wrote somewhere this one should be ditched as it uses a pre-built go binary, and as per Aaro, doesn't provide much value
protocol::request_response::large_response_*

large_response_quic FAILED
large_response_websocket FAILED
large_response_tcp hangs
All three works locally.

Not sure what kind of machines the CI uses but is it possible that the request timeouts when it's trying to create the 15MiB response? I remember generating large number of random bytes was somewhat CPU intensive when I ran some tests locally so if the test would instead generate 15MiB vector of zeros before sending the request (swapping the order of these lines), would that make it pass?

Pushed to a wrong branch, continuing in https://github.com/paritytech/litep2p/pull/63.

Not sure what kind of machines the CI uses but is it possible that the request timeouts when it's trying to create the 15MiB response? I remember generating large number of random bytes was somewhat CPU intensive when I ran some tests locally so if the test would instead generate 15MiB vector of zeros before sending the request (swapping the order of these lines), would that make it pass?

It worked, and I also removed golang conformance tests, so now we should have all tests passing.

I'm happy to merge this whenever you think is ready! 🙏

I'm happy to merge this whenever you think is ready! 🙏

CC @alvicsam


[Question] Unable to find "acryl-datahub-actions" docker image source code

Question
I want to find acryldata/acryl-datahub-actions  source code.
Where is source code?

https://github.com/datahub-project/datahub/blob/master/docker/docker-compose.yml#L126

It is here: https://github.com/acryldata/datahub-actions
We'll update the docs to make sure this is clear.


Support for map and reduce

Thanks so much for your work on this port of supercluster!
I have an application that uses the JS supercluster-based clustering built into mapboxgl-js. That application depends on the map and reduce options available in the JS implementation to construct computed properties
https://github.com/mapbox/supercluster/tree/main?tab=readme-ov-file#property-mapreduce-options
I am experimenting with the server-side clustering and was wondering if there are any existing plans to implement map and reduce?

Hey @jwalgran!
Thanks for your message!
Yes, we can release it in the upcoming weeks. I'll let you know when it's done.


Adding named preshapes for the hands.

This is an initial attempt at providing named preshapes for hands that follow the same model as named configurations for the robot.

I would prefer to put all of these in the robot.configurations object.
One motivation behind creating the ConfigurationLibrary class, instead of simply using a dict, was to encapsulate all of unpleasant logic for handling DOF indices in one place. For example:

querying a subset of the DOF indices stored in the library
mapping between the input DOF indices and the order stored in the library
handling duplicate DOF indices
checking for invalid DOF indices

Therefore, we should be able to support hand and arm configurations in the same library. If this is not the case, e.g. some of this functionality is not implemented, then I would prefer to fix it rather than proliferate more instances of ConfigurationLibrary.
We can still add a helper function on robot.hand that queries the ConfigurationLibrary with the right DOF indices.

I agree that it would be nice to put everything in one robot.configurations object. Like you mentioned, I think we would have to add something to prpy.base.EndEffector that allowed us to make a call such as hand.GetNamedPreshape('grasp').
Here is where I got stuck:
I can update the barret config to specify right_hand and left_hand instead of just hand and then load the barret config into robot.configurations.
But imagine, hypothetically, that we wanted to be able to swap out different types of hands on the robot, i.e. replace the Barrett with a Robotiq. My thought was that we would create separate config files for each hand and load the correct one based on hand type. But if the hands don't match, i.e. left hand Barrett, right hand Robotiq, then loading the Robotiq configurations will overwrite the left_hand Barrett configs.
Maybe we add an optional parameter to load_yaml in ConfigurationsLibrary that lets us specify to only load a particular group? Other ideas?

That's a very good point. I also can't think of a better solution than what you've already implemented - putting the ConfigurationLibrary inside the hand.


fix missing delivery_medium_option error (possible fix for #875)

Was receiving the "Possible fatal error on main process" #875 error, but checking delivery_medium_option seems to have resolved it.

great catch, sorry for taking so long to merge.


Finetune SAM on rgb dataset (cityscapes)

Thank you for your work. I manage to reproduce your implementation but I encounter problems adapting it to the dataset: https://www.cityscapes-dataset.com/ Do you have a recommendation to adapt your implementation to this dataset ?

Have you solved this problem? I also want to apply the model to other data sets. Do you have any experience?

谢谢你的工作。我设法重现您的实现，但在将其适应数据集时遇到问题：https://www.cityscapes-dataset.com/ 您是否建议将实现调整到此数据集？
me too

Hello, thanks for your interest in our work. Since medical images only contain ONE channel, I duplicate the channel dimension of the medical images from 1 to 3. Maybe you should remove this operation when fine-tuning on the rgb dataset.

I tested this approach by replicating your preprocessing but
normalizing by the settings recommended by the SAM team. The results
are very bad. Do you have any other modification suggestions? thanks
again
Le sam. 17 juin 2023, 15:22, Kaidong Zhang @.***> a
écrit :

Hello, thanks for your interest in our work. Since medical images only
contain ONE channel, I duplicate the channel dimension of the medical
images from 1 to 3. Maybe you should remove this operation when fine-tuning
on the rgb dataset.
—
Reply to this email directly, view it on GitHub
https://github.com/hitachinsk/SAMed/issues/12#issuecomment-1595759927,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AH4ANRJQUPUNIM53HXE45VTXLWVTBANCNFSM6AAAAAAZF4PLHQ
.
You are receiving this because you authored the thread.Message ID:
@.***>

我通过复制您的预处理测试了这种方法，但是 通过 SAM 团队建议的设置进行规范化。结果 非常糟糕。您还有其他修改建议吗？谢谢 再 勒萨姆。17 juin 2023， 15：22， 张开东 @.> 埃克里特 ：
...
Hello, thanks for your interest in our work. Since medical images only contain ONE channel, I duplicate the channel dimension of the medical images from 1 to 3. Maybe you should remove this operation when fine-tuning on the rgb dataset. — Reply to this email directly, view it on GitHub <#12 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH4ANRJQUPUNIM53HXE45VTXLWVTBANCNFSM6AAAAAAZF4PLHQ . You are receiving this because you authored the thread.Message ID: @.>
Hello. May I ask how you use the network branch that joined LoRA, and then fine-tune it to your own dataset? I changed "num_class=10" (the original code is 8), and used "vit_b", so that the embedding can be divisible, I changed num_heads to 16 (the original code was 12), but an error was reported.


Unable to view details of firewall collection group with weird exception

This is autogenerated. Please review and update as needed.
Describe the bug
The collection group exists. Unable to view it with CLI.
Additionally 'list' returns empty reposnce.
Command Name
az network firewall network-rule collection show Extension Name: azure-firewall. Version: 0.14.1.
Errors:
The command failed with an unexpected error. Here is the traceback:
'NoneType' object is not iterable
Traceback (most recent call last):
  File "/opt/az/lib/python3.10/site-packages/knack/cli.py", line 231, in invoke
    cmd_result = self.invocation.execute(args)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 663, in execute
    raise ex
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 726, in _run_jobs_serially
    results.append(self._run_job(expanded_arg, cmd_copy))
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 697, in _run_job
    result = cmd_copy(params)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/__init__.py", line 333, in __call__
    return self.handler(*args, **kwargs)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 363, in handler
    show_exception_handler(ex)
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/arm.py", line 429, in show_exception_handler
    raise ex
  File "/opt/az/lib/python3.10/site-packages/azure/cli/core/commands/command_operation.py", line 361, in handler
    return op(**command_args)
  File "/home/sokolovskyi/.azure/cliextensions/azure-firewall/azext_firewall/_util.py", line 48, in get_func
    result = next((x for x in items if x.name.lower() == item_name.lower()), None)
TypeError: 'NoneType' object is not iterable

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...
az network firewall network-rule collection show --collection-name {} --firewall-name {} --resource-group {}

Expected Behavior
Environment Summary
Linux-5.4.0-1083-azure-x86_64-with-glibc2.28 (Cloud Shell), Common Base Linux Delridge (quinault)
Python 3.10.4
Installer: DEB

azure-cli 2.37.0

Extensions:
azure-firewall 0.14.1
virtual-wan 0.2.12
containerapp 0.3.5
ai-examples 0.2.5
ssh 1.1.1

Dependencies:
msal 1.18.0b1
azure-mgmt-resource 21.1.0b1

Additional Context

network

Hi,
@nlasok1 "az network firewall network-rule collection show" works well as below, the steps I use as below:
1.create network-rule and collection first, notice that collections are created as part of the az network firewall network-rule create command:
az network firewall network-rule create --collection-name mycoll  --source-addresses <IP_ADDRESS> <IP_ADDRESS>/24 --protocols UDP TCP ICMP --destination-fqdns www.bing.com --destination-ports 80 --firewall-name myfw --name myrule --protocols Any --resource-group nyy02 --priority 300 --action Allow
2.collection show command:
az network firewall network-rule collection show --collection-name mycoll --firewall-name myfw -g nyy02
3.collection list command:
az network firewall network-rule collection list --firewall-name myfw -g nyy02

Best wishes.


How to handle Multiple Trees

This thread discuss how to handle multiple trees in the editor and the client libraries.
Motivation
You can use multiple trees in some different ways:

You may use one or more independent trees (they don't have tree nodes).
You may want to create a main tree which calls other trees as util functions. For example, a SoldierTree that uses CombatUtilTree, HealingUtilTree and CoverUtilTree.
You also may want to create several "main" tress that calls other trees as util functions. For example, CommanderTree and SoldierTree using the same utility subtrees.
In a worse scenario, you may want to use two trees recursively. For example, tree A calls B and tree B calls A (I don't know any case where this would be useful, but I don't see why and how to avoid it).
Worse yet, you may use the same tree recursively, e.g., tree A calls tree A.

Given that you may use the same subtree several times and the case where you use the trees recursively, I want to create a single object instance for each tree.
So, I'm thinking in something like that:
var behaviorCollection = b3.load(behavior3_data);

var soldierTree = behaviorCollection['SoldierTree'];
var commanderTree = behaviorCollection['CommanderTree'];

and then you use the trees as usual.
Editor
If we follow this behavior collection thing we:

can't allow trees with the same name.
could change the JSON format to make easier to read these trees (maybe similar to how nodes work). This also would help with #5.

Client
In the client libraries we can create an empty BehaviorTree for each tree in the JSON, and then create their nodes (we can't create nodes together with the trees because nodes can have reference some tree).
Moreover, we need to update how BehaviorTree.tick method works, maybe breaking it in several internal methods. To understand that, consider the following situation:

a SoldierTree have two differences references to CombatTree (let's say C1 and C2);
in the client we only have two objects, one for SoldierTree and other for the CombatTree (for both C1 and C2);
if the SoldierTree calls C1 and then C2, everything will explode right away because both C1 and C2 are the same object, thus sharing the same IDs, nodes and node IDs (i.e., blackboards uses trees and nodes IDS to store information).

The same would occur if the CombatTree were referred by SoldierTree and CommanderTree.
So, before calling the subtree, we need to change temporarily its ID.

I'm not sure if this issue is barely understandable by anyone but me. I've been thinking a lot about this feature lately, so the description may lack some more contextualization.

---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/27127836-how-to-handle-multiple-trees?utm_campaign=plugin&utm_content=tracker%2F18331319&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F18331319&utm_medium=issues&utm_source=github).

For one of our projects we had to modify behavior3js and behavior3editor just slightly to achieve this.
In fact, your editor is already able to handle the usage of subtrees. There is just the missing routine to import such a project, which was more or less straightforward.
I implemented the counterpart for behavior3js to import behavior3editor-projects and had to split up the tick-method into tick() and _execute() (I think?). So that a tree can execute its subtree's and provide its subtree's with its own blackboard.
If you're interested I'll provide you with the modified projects. I just don't know if the modifications still work with the latest versions.

@Talisca, thanks for the reply.
Did you use something like that BehaviorCollection? Sure, I would like to see these modifications.

First of all, sorry for my late response. I pushed my modifications long ago, but never got to the point to write a text. The repositories can be found in my profile.
@renatopp
In general yes. b3.LoadProject (thats what I've called the method to load the behavior3editor-projects) returns a collection of all the unique tree's. Each subtree refers to one of the trees of this collection.
I just didn't use the name of the tree's but the id (doesn't matter in our case).
Your mentioned problem of damaging states in the blackboard caused by multiple usage of trees is not handled in my pushed modification. I use the following solution in our project:

Create all main-tree's.
Go through each node of the tree's in the project-data and determine if the node is a tree
If the node is a tree, create a new BehaviorTree-instance for this node and save it in a subTree-collection.
At the end, connect the same root-nodes for the subtree's as for their main-tree's.

In our case we won't have a recursion anywhere (I just can't think of a case where this would be helpful). We use some tree's more then once in another tree. Here the saved states could be easily damaged without my modification above.
Another solution...
...I could think of, is the usage of an id-stack which is used to get the actual id for a tree/node. In _execute, I would push the tree-id to this stack with an incremental number indicating the current iteration step, e. g. this.idStack.push(this.id + iteration);
Where iteration begins with 1 and is incremented for each new call of _execute().
This solves the same problem as above and I won't need to use more instances of the same tree.
tick.blackboard.get('isOpen', tick.tree.id, this.id);
could then become something like
tick.blackboard.get('isOpen', tick.tree.idStack.last(), this.id);
Somewhere at the end of each _execute-call, the id is removed and iteration is decremented.
It's a fast implementation and does not increase the runtime that much.
Regarding recursions
I think there could be two favored behaviors.

A tree calls itself and expects that it is still open. Just to initialize some stuff in open().
A tree calls itself and expects that the sub-tree is closed.

The first part would be easily solved with the above idStack-solution. The last part expects the same id with every call. Could lead to an additional flag in the editor to determine which is desirable. I don't know.
Singleton tree's
There could be cases where we would like to use different properties for each sub-tree of the same kind. This essential information would be lost if we just use one instance of a tree. So this could come into play with the point above. I don't know.
Currently we determine which creature should use which tree by using properties like creatureType, creatureFamily and so on. This happens in our LoadProject-method. If we would like to access the properties later in the nodes or somewhere else, they won't be there. I don't know if thats such a big problem.


dry, fan_only and auto modes

Added codes for dry, fan_only and auto modes for all 4 fan speeds (fanModes).
As at least on Gree GWH12-KF-K3DNA5G-I (tested - all works perfectly on this model) auto mode uses it's own logic to determine comfortable temperature setting, there are only 4 different codes used for this auto mode (each for the corresponding fan speed (fanMode) value)

Now the resulting thermostats provide the additional functionality:

Could you merge this please?


How to use it in Linux, what is dac?

    /// <summary>
    /// Creates a runtime from the given Dac file on disk.
    /// </summary>
    /// <param name="dacFilename">A full path to the matching mscordacwks for this process.</param>
    /// <param name="ignoreMismatch">Whether or not to ignore mismatches between </param>
    /// <returns></returns>
    public ClrRuntime CreateRuntime(string dacFilename, bool ignoreMismatch = false)

demo:
using (DataTarget dt = DataTarget.LoadCoreDump(args[0]))
{
Console.WriteLine(dt.ClrVersions.Single().DacInfo.FileName);
ClrRuntime runtime = dt.ClrVersions.Single().CreateRuntime(args[1], true);
}
I don't know what this parameter(args[1]) should be

The DAC the data access component and short for mscordacwks.dll . It is something that lets the debugging engine make sense of CLR data structures. I believe, linux support is coming soon. But Lee will have to answer that.


aka.ms/getonedrive

Aka.ms link name
OneDrive Download
Category (Optional. Select None to auto-select)
microsoft365

I must have misunderstood the submission prompts. I was trying to submit
aka.ms/getonedrive
Thanks.
On Wed, Nov 29, 2023 at 18:32 github-actions[bot] @.***>
wrote:

Thank you for submitting an aka.ms link. Unfortunately the link [
https://aka.ms/OneDrive Download](https://aka.ms/OneDrive Download) is
not a valid aka.ms link. If you believe this is a mistake, it could be a
problem with the automated script. Please reach out to me at
https://twitter.com/merill and let me know. Thanks!
—
Reply to this email directly, view it on GitHub
https://github.com/merill/aka/issues/994#issuecomment-1832963260, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ACZFOZ6LZ3QJ5N5CVBHUO7TYG7O4BAVCNFSM6AAAAABAAMWN4KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZSHE3DGMRWGA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Access Token is invalid.

Core Library
MSAL.js v2 (@azure/msal-browser)
Core Library Version
2.33.0
Wrapper Library
Not Applicable
Wrapper Library Version
None
Public or Confidential Client?
Public
Description
Hello,
We need to get tokens from the Microsoft Azure endpoint directly and pass them to MSAL.js to cache them.
Let me share our source code first:
import {
    AuthenticationScheme,
    Configuration,
    ExternalTokenResponse,
    LoadTokenOptions,
    PublicClientApplication,
    SilentRequest,
} from "@azure/msal-browser";
import { ServerAuthorizationTokenResponse } from "@azure/msal-common";

export async function getAzureToken(): Promise<string | undefined> {

    var headers = new Headers();
    headers.append("Accept", "application/json");
    headers.append("Content-Type", "application/x-www-form-urlencoded");
    headers.append("cache-control", "no-cache");

    var urlencoded = new URLSearchParams();
    urlencoded.append("grant_type", "password");
    urlencoded.append("client_id", "CLIENT_ID");
    urlencoded.append("username", "USERNAME");
    urlencoded.append("password", "PASSWORD");
    urlencoded.append("client_secret", "CLIENT_SECRET");
    urlencoded.append("scope", "email profile openid offline_access MORE_SCOPES_HERE");

    var requestOptions = {
        method: 'POST',
        headers: headers,
        body: urlencoded,
    };

    let response = await fetch(`https://login.microsoftonline.com/TENANT_ID/oauth2/v2.0/token`, requestOptions);
    const jsonResponse = await response.json();

    const tokenResponse: ServerAuthorizationTokenResponse =
        jsonResponse as ServerAuthorizationTokenResponse;
    const accessToken: string | undefined = tokenResponse.access_token;
    const idToken: string | undefined = tokenResponse.id_token;
    const scopes: string = tokenResponse.scope || "";
    const refreshToken: string | undefined = tokenResponse.refresh_token;
    const expiresIn: number | undefined = Number(tokenResponse.expires_in);
    if (accessToken && idToken && refreshToken) {
        const silentRequest: SilentRequest = {
            scopes: scopes.split(" "),
            authority: `https://login.microsoftonline.com/TENANT_ID/oauth2/v2.0/token`,
            account: {
                homeAccountId: "HOME_ACCOUNT_ID",
                environment: "login.windows.net",
                tenantId: "TENANT_ID",
                username: "USERNAME",
                localAccountId: "LOCAL_ACCOUNT_ID",
            },
        };

        const serverResponse: ExternalTokenResponse = {
            token_type: AuthenticationScheme.BEARER,
            scope: scopes,
            expires_in: expiresIn,
            id_token: idToken,
            access_token: accessToken,
            refresh_token: refreshToken,
        };

        const loadTokenOptions: LoadTokenOptions = {
            extendedExpiresOn: Number(tokenResponse.ext_expires_in),
        };

        const msalConfig: Configuration = {
            auth: {
                clientId: "CLIENT_ID",
                authority: "https://login.microsoftonline.com/" + "TENANT_ID",
            },
            cache: {
                cacheLocation: "sessionStorage",
                storeAuthStateInCookie: false,
                secureCookies: false,
            },
        };

        const msalObj = new PublicClientApplication(msalConfig);
        const tokenCache = msalObj.getTokenCache();
        tokenCache.loadExternalTokens( /* <-- Error here but not the root cause */
            silentRequest,
            serverResponse,
            loadTokenOptions
        );
    }
    return refreshToken;
}

By running the above code and calling the function we got this error:
// tokenCache.loadExternalTokens()

ClientAuthError: token_parsing_error: Token cannot be parsed. Please review stack trace to determine root cause.
Failed with error: AuthError: unexpected_error: Unexpected error in the authentication.: Crypto interface - base64Decode() has not been implemented.

As you can read in the error, this is not the root cause so after investigation, we found the error raised because the response.json() of the fetch API returns an invalid access_token.

let response = await fetch(`https://login.microsoftonline.com/TENANT_ID/oauth2/v2.0/token`, requestOptions);
var jsonResponse = await response.json(); // <- HERE

So let's change the code to a simple one just about fetching:
(async () => {
  var headers = new Headers();
  headers.append("Accept", "application/json");
  headers.append("Content-Type", "application/x-www-form-urlencoded");
  headers.append("cache-control", "no-cache");

  var urlencoded = new URLSearchParams();
  urlencoded.append("grant_type", "password");
  urlencoded.append("client_id", "VALUE");
  urlencoded.append("username", "VALUE");
  urlencoded.append("password", "VALUE");
  urlencoded.append("client_secret", "VALUE");
  urlencoded.append("scope", "email profile openid offline_access ...");

  var requestOptions = { method: "POST", headers: headers, body: urlencoded };

  let response = await fetch(
    `https://login.microsoftonline.com/TENANT_ID/oauth2/v2.0/token`,
    requestOptions
  );
  let jsonResponse = await response.json(); // <-- ISSUE IS HERE
})();

We checked the result of await response.json()  and for access_token it is invalid. (id_token is valid JWT)

FYI
    "@azure/msal-browser": "^2.33.0",
    "@azure/msal-common": "^10.0.0",
    "@azure/identity": "^3.1.3",
    "jsonwebtoken": "^9.0.0"

MSAL Configuration
const msalConfig: Configuration = {
            auth: {
                clientId: "CLIENT_ID",
                authority: "https://login.microsoftonline.com/" + "TENANT_ID",
            },
            cache: {
                cacheLocation: "sessionStorage",
                storeAuthStateInCookie: false,
                secureCookies: false,
            },
        };

Relevant Code Snippets
No response
Identity Provider
Azure AD / MSA
Source
External (Customer)

@HamedFathi Why have you decided to get tokens directly instead of using MSAL to retrieve and cache your tokens?

@jo-arroyo
Two years ago we use the same way to log-in silently with Cypress (I do not want to log in with UI)
In Cypress, we use cy.request a built-in HTTP client and it works but I have decided to have the core separated from Cypress. So, I tried to write the above code to return just Promise.
In our mono-repo with this core (if it works which is not now) I am able to use it for Playwright too.
The most important part for me is login silently (no UI) and separating things from the other tools (Cypress, Playwright, and ...) this is why I need to work with APIs and then save the result.

Hello @jo-arroyo ,
Hello @HamedFathi !
Thank you @jo-arroyo and @HamedFathi for your answers!
Maybe I can explain a bit more about what @HamedFathi's and my main goal is: Our main goal is to login certain users to a web application (application under test, AUT) and save the various tokens into the MSAL cache. Launching the AUT subsequentially, the AUT does not ask for the user credentials but retrieves the tokens from the MSAL cache. We try to follow the recommendations of the Testing guidelines.
Currently, we do this procedure via Cypress.io. A command, called cy.request(), fires up the HTTP request to the API and gets the tokens back. There is maybe a possibility to do this step with MSAL, but this is not our main concern right now.
Our problem is, that MSAL throws an error, when we try to write the tokens to the MSAL cache, utilizing loadExternalTokens() (@HamedFathi mentioned in the original post):
// tokenCache.loadExternalTokens()

ClientAuthError: token_parsing_error: Token cannot be parsed. Please review stack trace to determine root cause.
Failed with error: AuthError: unexpected_error: Unexpected error in the authentication.: Crypto interface - base64Decode() has not been implemented.

The error is thrown by the DEFAULT_CRYPTO_IMPLEMENTATION interface.
From what I understand, the constructor of the PublicClientApplication class should create a CryptoOps object, if the environment is a browser environment (window == defined). Otherwise, the a DEFAULT_CRYPTO_IMPLEMENTATION object is created (which throws the error). However, it seems, we are not running in a browser environment. Our scripts are started via node.exe and utilize playwright tests: C:\nodejs\node.exe .\..\..\node_modules\playwright-core\lib\cli\cli test ...
So after researching the last few days: is it possible, to log in as a user (with ROPC) using only API calls (directly or via MSAL API)?


my_graph_loop.dot missing

Hi,  I'm wondering where my_graph_loop.dot is？With CGRA-ME, I can get graph_loop.dot by make in the benchmark's folder. Is it correct to just rename it?
By the way,  what's the meaning of param b, in "$CGRA_MAPPER -m 2 --II 20 --inef --arch_name cgra_me_4_4 -g ./benchmarks/microbench/conv2/my_graph_loop.dot b --xml ./arch/simple/target_arch/arch-homo-orth_4_4.xml --cgra_x 6 --cgra_y 6"? I think "$CGRA_MAPPER  --help" does not eplain it.

I have added DFGs (my_graph_loop.dot) for polybench. Please try to pull the update. Of course, you can use make to generate DFGs.  Just need to delete the self-recurrent edge where src and des are the same  (due to some mapping bugs in cgra_me).
b does not have any meaning. Removing it is fine.

I have added DFGs (my_graph_loop.dot) for polybench. Please try to pull the update. Of course, you can use make to generate DFGs. Just need to delete the self-recurrent edge where src and des are the same (due to some mapping bugs in cgra_me).
b does not have any meaning. Removing it is fine.

Thank you for your reply!