vscode-azureappservice icon indicating copy to clipboard operation
vscode-azureappservice copied to clipboard

Deployment succeeds even after error "The request was aborted" is thrown

Open GanjaNationAdmin opened this issue 3 years ago • 8 comments

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

GanjaNationAdmin avatar Aug 11 '22 11:08 GanjaNationAdmin

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 ☹️

nturinski avatar Aug 11 '22 21:08 nturinski

Facing the same issue.

ahmedmahmoudR avatar Aug 13 '22 13:08 ahmedmahmoudR

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 avatar Aug 18 '22 14:08 hannan-m

@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?

nturinski avatar Aug 18 '22 19:08 nturinski

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.

hannan-m avatar Aug 18 '22 19:08 hannan-m

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.

nturinski avatar Aug 18 '22 20:08 nturinski

I am facing the same issue....and sometimes code also doesn't get deployed

tushaar9027 avatar Aug 21 '22 19:08 tushaar9027

Same here, but the frequency of this error got relatively high since yesterday, 08/31/2022.

Rildlanster avatar Aug 31 '22 14:08 Rildlanster

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.

alexweininger avatar Sep 02 '22 19:09 alexweininger

Reopening until we get the fix merged in

alexweininger avatar Sep 07 '22 18:09 alexweininger

Fix for this bug has been released in https://github.com/microsoft/vscode-azureappservice/releases/tag/v0.24.4

alexweininger avatar Sep 26 '22 17:09 alexweininger