Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to Connect Through Corporate Proxy- No User-Agent String Provided to Allow #884

Open
Darian-FRB opened this issue Jun 28, 2024 · 4 comments

Comments

@Darian-FRB
Copy link

Our developers are working behind a corporate proxy server. All user-agent strings are denied by default with only approved client browser applications approved to pass through the proxy.

When attempting to connect to Azure using the Azure Resources extension in Visual Studio Code, access beyond the proxy is denied. We are not able to allow the extension through our proxy because there is no user-agent string provided, it is blank.

Please update the extension so that when it makes web requests a user-agent string is provided to identify the client source of the traffic. Once there is a user-agent string we will be able to put in a request to allow the extension through our corporate proxy.

As a workaround, we are using the Fiddler Classic development proxy to impersonate allowed user-agent strings.

@alexweininger
Copy link
Member

Hi @Darian-FRB, can you identify which requests don't have user-agent strings?

@Darian-FRB
Copy link
Author

Hi @alexweininger, I am no longer able to reproduce the issue with Fiddler due to environmental circumstances.

At the time I was last able to reproduce the issue the proxy's web page error reported:
User Agent:
URL: tcp://vscode.dev:443/

When testing today, per our proxy logs, it appears to be with the destination default.exp-tas.com.

Azure Resources VS Code Extension

I discussed this with our proxy administrator. He can set the proxy to allow traffic to this destination if it is the culprit. I would need a brief explanation of what default.exp-tas.com is used for.

@alexweininger
Copy link
Member

alexweininger commented Aug 5, 2024

The default.exp-tas.com domain is likely some extensions accessing VS Code's A/B test API. https://default.exp-tas.com/vscode/ab

@Darian-FRB
Copy link
Author

From a clean install of VS Code, the only extension is Azure Resources. VS Code may be using default.exp-tas.com itself. I am also seeing Google Analytics traffic, but that is another matter. May I ask which domains/APIs/protocols the extension is supposed to use for authentication?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants