環境
- Visual Studio Code
- GitHub Copilot
- GitHub Copilot Chat
状況
- Copilot Chatを立ち上げたら、
Sign in to GHE.com
と表示された -
Sign in with a GitHub.com account
が反応しない
- ログに
[certificates] Removed xxx expired certificates
と表示された
対処法・解決方法
- 設定を開く (
Ctrl
+,
) -
github.copilot.advanced
と入力 -
Edit in settings.json
をクリック - 以下の通りに変更する (
"authProvider": "github-enterprise"
の部分を削除)
変更前変更後"github.copilot.advanced": { "authProvider": "github-enterprise" }
"github.copilot.advanced": { }
なぜこうなったのか
正直よく分からない。
気付かぬ間に誤ったショートカットを踏んだのかもしれないし、プロンプト(LLMのではなく)が表示された時に押し間違いをしてしまったのかもしれない。
エラーや状況から一発で解決にたどり着くことが出来ず、やや手間取った。
今後同じ目に遭った人の為に書き残しておく。
参考サイト