gpt4 book ai didi

azure - 无法在 VS Code 上登录 Azure 帐户

转载 作者:行者123 更新时间:2023-12-03 02:02:09 25 4
gpt4 key购买 nike

我尝试在 Visual Studio Code 中登录 Azure 并不断收到:

"You appear to be offline. Please check your network connection".

我的网络连接很好,并且我已经检查了不同的网络,因此这不是代理问题(如有关此主题的其他问题中所建议的那样)。我还尝试重新安装所有 Azure 扩展并删除缓存,但没有成功。大约一个月前,我可以完美地登录,无论是在工作场所还​​是在家里,但我们将公司租户从 GoDaddy 迁移到了 Microsoft,这就是问题的开始。如果有人能帮助我解决这个问题,我将非常感激,因为它耽误了我为客户开发一些 Azure 功能的工作。

编辑:

我每 10 秒就会在 Azure 帐户扩展的 VSCode 日志中收到以下消息:

Attempting to reach URL "https://login.microsoftonline.com/"...
certificate has expired

那么,有没有办法查看 Azure 帐户扩展的哪个证书已过期?这可能会导致离线问题。

最佳答案

“You appear to be offline. Please check your network connection”.

您必须通过两种方式检查上述错误。

  1. 在 VS Code 中禁用和启用所有扩展,然后登录 Microsoft Azure 帐户。
    enter image description here

    仅在 VS Code 中卸载并重新安装 Azure 扩展,然后从 VS Code IDE 登录 Microsoft Azure 帐户。
    enter image description here

Attempting to reach URL “https://login.microsoftonline.com/”…
certificate has expired

  • 检查此 GitHub 中给出的替代解决方案 Issue733 - 用户@TimMarshaU对上述两个错误进行评论。
  • 关于azure - 无法在 VS Code 上登录 Azure 帐户,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/75770547/

    25 4 0
    Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
    广告合作:1813099741@qq.com 6ren.com