前提・実現したいこと
これまでVagrant(vartualbox)にvscodeのremote-sshでつないでローカルで開発してきましたが、
先日、vagrantを再起動してリモートで接続しようとしたところ、
Time limit reachedとCould not fetch remote environmentエラーが発生して接続できなくなりました。
vagrant ssh、sshコマンドでは接続できます。
ご存じの方いらっしゃれば教えて下さい。よろしくお願いします。
発生している問題・エラーメッセージ
[2020-09-11 02:37:51.947] [renderer3] [error] [remote-connection] The time limit has been reached for a connection. Error: [2020-09-11 02:37:51.947] [renderer3] [error] Error: Time limit reached at file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1879:292 [2020-09-11 02:37:51.947] [renderer3] [error] [remote-connection] An error occurred in the very first connect attempt, it will be treated as a permanent error! Error: [2020-09-11 02:37:51.947] [renderer3] [error] Error: Time limit reached at file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1879:292 [2020-09-11 02:37:52.061] [renderer3] [error] Time limit reached: Error: Time limit reached at file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1879:292 [2020-09-11 02:37:52.221] [renderer3] [error] [remote-connection] The time limit has been reached for a connection. Error: [2020-09-11 02:37:52.222] [renderer3] [error] Error: Time limit reached at file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1879:292 [2020-09-11 02:37:52.222] [renderer3] [error] [remote-connection] An error occurred in the very first connect attempt, it will be treated as a permanent error! Error: [2020-09-11 02:37:52.222] [renderer3] [error] Error: Time limit reached at file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:1879:292 [2020-09-11 02:37:52.258] [renderer3] [error] Could not fetch remote environment: Error: Could not fetch remote environment at d.start (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5022:70) at async k.createProcess (file:///Applications/Visual Studio Code.app/Contents/Resources/app/out/vs/workbench/workbench.desktop.main.js:5039:827)
試したこと
存在しない仮想マシンを削除
vagrant global-status --prune
フィンガープリントを削除
ssh-keygen -R host_name
あなたの回答
tips
プレビュー