sjkp / letsencrypt-azure

The easiest way to use lets encrypt certificates on Azure
111 stars 35 forks source link

Un-diagnosable BadRequest error #23

Open robpaveza opened 3 years ago

robpaveza commented 3 years ago

Hey, I want to thank you because this extension has been great for a long time! However, I recently upgraded to 1.0.5, and it broke on me. I just get the following error:

Microsoft.Azure.Management.WebSites.Models.DefaultErrorResponseException: Operation returned an invalid status code 'BadRequest'
 at Microsoft.Azure.Management.WebSites.WebAppsOperations.<UpdateConfigurationWithHttpMessagesAsync>d__46.MoveNext()
 --- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.Azure.Management.WebSites.WebAppsOperationsExtensions.<UpdateConfigurationAsync>d__83.MoveNext()
 --- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at Microsoft.Azure.Management.WebSites.WebAppsOperationsExtensions.UpdateConfiguration(IWebAppsOperations operations, String resourceGroupName, String name, SiteConfigResource siteConfig)
 at LetsEncrypt.Azure.Core.Services.PathProvider.<EnsureVirtualDirectorySetup>d__5.MoveNext() in D:\a\1\s\LetsEncrypt.SiteExtension.Core\Services\PathProvider.cs:line 0
 --- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at LetsEncrypt.Azure.Core.Services.PathProvider.<WebRootPath>d__4.MoveNext() in D:\a\1\s\LetsEncrypt.SiteExtension.Core\Services\PathProvider.cs:line 44
 --- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at LetsEncrypt.Azure.Core.Services.PathProvider.<ChallengeDirectory>d__8.MoveNext() in D:\a\1\s\LetsEncrypt.SiteExtension.Core\Services\PathProvider.cs:line 105
 --- End of stack trace from previous location where exception was thrown ---
 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
 at System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd(Task task)
 at LetsEncrypt.SiteExtension.Controllers.HomeController.<Index>d__1.MoveNext() in D:\a\1\s\LetsEncrypt-SiteExtension\Controllers\HomeController.cs:line 114

As far as I know, nothing has changed, but the best of the "how to use the Azure LetsEncrypt extension" guides (with pictures) are perennially out of date as the Azure dashboard updates.