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

Azure Functions Extension - Bad Request: Invalid URL #3624

Open leshicodes opened 1 year ago

leshicodes commented 1 year ago

Whenever me or any of my colleagues attempt to utilize/deploy to any Azure Resource(s) with the Azure Accounts / Azure Function Extensions we do not see them populate within Visual Studio code, and the extension simply throws an error saying

11:31:43 AM: Error: Invalid URL

I want to state that we are being SIGNED IN just fine, we followed this guide, it lists our subscriptions fine, however when trying to interact with the resources within the subscriptions, it simply states "Invalid URL" ?

Screen Shot 2023-03-10 at 11 32 01 AM Screen Shot 2023-03-10 at 11 33 34 AM

This is almost assuredly a proxy issue, and maybe even a reproduction of the closed Issue here: https://github.com/microsoft/vscode-azurefunctions/issues/1364

1364

However the error is super generic. What URL(s) are invalid? I would need to know so I can add it to the NO_PROXY environment variables.

This is what our current NO_PROXY variable looks like localhost,127.0.0.1,login.microsoft.com,login.microsoftonline.com

Steps:

Sign into Azure Account using Visual Studio Code Azure Account Extension (Successful) Attempt to select/view any Function App(s) within our Subscriptions (Failure)

Envs: OS: MacOs BigSur Version 11.7 (20G817) VSCode : Version: 1.10.4 OS: darwin OS Release: 20.6.0 Product: Visual Studio Code Product Version: 1.76.1 Language: en Azure Account Extension: v0.11.3 Azure function extension: v1.10.4

CityHallin commented 1 year ago

+1

nickremphry commented 1 year ago

+1

alexweininger commented 1 year ago

Please follow https://github.com/microsoft/vscode-azure-account/issues/731 for updates