尝试通过 iap 连接到 VM 时,macO 会出现此问题。相同的命令可以在具有相同凭据的另一个系统上运行,因此一定与我的本地环境有关。
这是我尝试运行的命令:
gcloud compute ssh **** --project=**** --zone=europe-west4-a --tunnel-through-iap
它失败并出现以下错误:
ERROR: gcloud crashed (AttributeError): 'Thread' object has no attribute 'isAlive'
If you would like to report this issue, please run the following command:
gcloud feedback
To check gcloud for common problems, please run the following command:
gcloud info --run-diagnostics
kex_exchange_identification: Connection closed by remote host
ERROR: (gcloud.compute.ssh) [/usr/bin/ssh] exited with return code [255].
谷歌没有给我任何答案
最佳答案
这似乎是一个Python问题。我猜你使用的是太新的Python3。请使用 Python 3.5 - 3.8 或 Python 2.7.9 或更高版本。
关于macos - 错误: gcloud crashed (AttributeError): 'Thread' object has no attribute 'isAlive' ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65021939/