无法在公司代理后面登录Visual Studio 2017 [英] Can't sign in to Visual Studio 2017 behind corporate proxy

查看:287
本文介绍了无法在公司代理后面登录Visual Studio 2017的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

登录程序失败,错误"我们无法刷新帐户的凭据。 发送请求时发生错误"。

The sign in procedure fails with error "We could not refresh the credentials for the account.  An error occurred while sending the request".

在调查之后,我确定身份验证过程一直有效,直到非代理感知进程"servicehub.identityhost"为止。尝试访问login.microsoftonline.com:443. 

After investigating, I have determined that the authentication process works until a non-proxy aware process "servicehub.identityhost" tries to access login.microsoftonline.com:443. 

推荐答案

你好anonymouse12 ,

Hi anonymouse12,

感谢您在MSDN论坛上发帖。

Thank you for posting in MSDN forum.

从您的描述中,根本原因是代理设置,代理服务器无法验证证书,它会阻止某些VS安装程序资源下载。

From your description, the root cause of this is behind a proxy setting, the proxy server couldn't verify certificate, it prevents some VS installer resource downloading.

请参阅 需要代理授权 ,  尝试将以下列表列入白名单以取消阻止所有签名 - 在
Visual Studio的场景中:

Please refer to Proxy Authorization Required,  have a try to whitelist the following list to unblock all sign-in scenarios in Visual Studio:

◦* .windows.net

◦*.windows.net

◦* .microsoftonline.com

◦*.microsoftonline.com

◦* .visualstudio.com

◦*.visualstudio.com

◦* .microsoft.com

◦*.microsoft.com

◦* .live.com

◦*.live.com

然后尝试以下步骤:

1。关闭所有Visual Studio实例,删除%LOCALAPPDATA%\ .IdentityService。

1. Close all Visual Studio instances, delete %LOCALAPPDATA%\.IdentityService.

2。打开Web浏览器,转到visual studio页面
我的.VisualStudio.com
。 并登录。 保持该页面打开。

2. Open your web browser, go to the visual studio page My.VisualStudio.com. and log in.  Keeping that page open.

3。打开Visual Studio,在帐户下重新输入密码,然后单击搜索更新的许可证。

3. Open Visual Studio, reenter your password under accounts, then click search for updated license.

执行上述任何问题后仍然存在,请随时与我们联系,我们愿意帮您排除故障。

Any problem persists after doing above, please feel free to contact us, we are willing to help you troubleshoot.

最好的问候,


这篇关于无法在公司代理后面登录Visual Studio 2017的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆