microsoft / vscode-azurefunctions

Azure Functions extension for VS Code
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azurefunctions
MIT License
291 stars 132 forks source link

Fetch failed error while fetching azure functions resources from azure account to vscode via azure account extension. #3907

Open Neerajdataguy opened 10 months ago

Neerajdataguy commented 10 months ago

I am trying to access resources from my azure cloud in my vscode using Azure Extension. I am able to sign in to my Azure account using Azure extension successfully, but when I try to access resources in the Azure extension, it gives fetch failed error, with no description. Till Now what I have tried, I have uninstalled and installed all extensions and even vs code, but getting same error. Vscode version: 1.84.2 Azure Account Extension version: v0.11.6

vishaliamops commented 10 months ago

Hello, I am also facing the same issue, I tried logout and login in once again multiple time, I Uninstalled and Installed the Azure Extensions, But the issue remained same. The Subscriptions are not visible and in shows as fetch failed, I am not sure what the issue is? The Azure Portal is working fine and there is not issue in that.

nturinski commented 10 months ago

Sorry for the inconvenience. Are you using public Azure or are you on a different/sovereign cloud by chance?

We released Resources v0.8.0 which is now using VS Code authentication provider rather than the Azure Account extension which may be the source of the issue.

Could you try rolling back to the previous version? I believe that we have a fix that we should release early next week. Again, sorry for the inconvenience :(

nturinski commented 10 months ago

Alternatively, you can try the steps listed here: https://github.com/microsoft/vscode-azureresourcegroups/issues/769#issuecomment-1821422662

It seemed to fix the problem for that user.

Neerajdataguy commented 10 months ago

Thanks @nturinski my issue is resolved using vsix. Thanks for you response.

vishaliamops commented 10 months ago

Thank you @nturinski the issue is solved, Will be looking forward to new update

GGA-PERSO commented 1 month ago

same issue re-appears now vscode 1.92.2 azure account v0.12.0 azure resource v0.9.4

After downgrading vscode to 1.91.1 it works