vscode-azureappservice
vscode-azureappservice copied to clipboard
Deployment succeeds even after error "The request was aborted" is thrown
When I right click the app service and choose Deploy to Web, I sometimes get the following error: Error: The request was aborted
If I try multiple times it finally goes through.
My environment: Version: 1.70.0 (user setup) Commit: da76f93349a72022ca4670c1b84860304616aaa2 Date: 2022-08-04T04:38:16.462Z Electron: 18.3.5 Chromium: 100.0.4896.160 Node.js: 16.13.2 V8: 10.0.139.17-electron.0 OS: Windows_NT x64 10.0.19044
Hi @GanjaNationAdmin
Thanks for reporting. It looks like others are running into the same issue: https://github.com/microsoft/vscode/issues/156724
My guess is if you haven't changed anything about your VS Code or the Azure App Service extension, there's just some weirdness going on with the service itself. Unfortunately App Service sometimes experiences outages beyond the extension's control ☹️
Facing the same issue.
Facing the same issue. Tried deploying to UK and Europe regions, same error. @nturinski it's not related to Azure app service. Certainly multiple regions won't have outages or "weirdness" going on. A lot of people started facing this issue, maybe worth looking into?
@hannan-m We are looking into it, but unfortunately, the App Service extension is just a dev tool extension that is hitting the App Service REST API to create/deploy Azures resources.
Looking online, this error seems to occur when a secure channel couldn't be created so maybe this is something we can try to mitigate. Are you also able to deploy after multiple attempts?
Have you been successfully able to deploy from other methods such as the Azure CLI?
After some checking around, the deployment still succeeds even after the VS code error The request was aborted. I checked in Azure App server logs and the status was successful. Unable to figure out why VS code Azure extension is given the error in the first place.
Thanks, that's a helpful insight. I'll try to see where this request was aborted error is being thrown. We may be able to do something to handle this.
I am facing the same issue....and sometimes code also doesn't get deployed
Same here, but the frequency of this error got relatively high since yesterday, 08/31/2022.
Hi everyone, I am able to reproduce this issue when deploying large apps (over 100MB). We've identified the cause and proposed a fix in https://github.com/microsoft/vscode-azuretools/pull/1230. I will update once this is merged and released.
Reopening until we get the fix merged in
Fix for this bug has been released in https://github.com/microsoft/vscode-azureappservice/releases/tag/v0.24.4