最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Error connecting to Azure on Visual Studio AND Visual Studio Code - Stack Overflow

programmeradmin0浏览0评论

I am having a problem connecting to my Azure account on Visual Studio.

This is the error I get:

There was a problem getting the tenant info 'System.Net.Http.HttpRequestException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (management.azure:443) ---> System.Net.Sockets.SocketException (10060): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

When I try and connect via Powershell with

Connect-AzAccount

It works fine. Which tells me that it's not a firewall issue. The proxy settings did not change either.

I am having a problem connecting to my Azure account on Visual Studio.

This is the error I get:

There was a problem getting the tenant info 'System.Net.Http.HttpRequestException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. (management.azure:443) ---> System.Net.Sockets.SocketException (10060): A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.

When I try and connect via Powershell with

Connect-AzAccount

It works fine. Which tells me that it's not a firewall issue. The proxy settings did not change either.

Share Improve this question asked Mar 28 at 17:08 tonycdptonycdp 3393 silver badges10 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0

I fixed this issue by turning Remote Tunnel Access OFF in Visual Studio Code, which apparently affects Visual Studio as well.

发布评论

评论列表(0)

  1. 暂无评论