我正在尝试 ssh 进入我的 Fly 实例,但出现了一个奇怪的错误。这在过去一直有效,没有问题。
fly ssh console
Connecting to tunnel Error: tunnel unavailable: failed probing "personal": context deadline exceeded
Run Code Online (Sandbox Code Playgroud)
另一种尝试
fly ssh console -C "app/bin/rails c"
Connecting to tunnel Error: tunnel unavailable: failed probing "personal": context deadline exceeded
Run Code Online (Sandbox Code Playgroud)
听起来像是某种端口/套接字问题,因此我重新启动并检查是否没有防火墙、VPN 或类似软件进行干扰。
这是怎么回事?
use*_*745 11
经过几个小时的混乱,我更新了 Flyctl (使用brew upgrade flyctl),启动了一个新终端,并再次尝试,但仍然出现错误。
然后我尝试对存储库进行一些小更改并运行fly deploy。就在那时我看到:
fly deploy \n==> Verifying app config\nValidating fly.toml\nPlatform: machines\n\xe2\x9c\x93 Configuration is valid\n--> Verified app config\n==> Building image\nWARN Failed to start remote builder heartbeat: Your account has been marked as high risk. Please go to https://fly.io/high-risk-unlock to verify your account.\nError: failed to fetch an image or build from source: error connecting to docker: Your account has been marked as high risk. Please go to https://fly.io/high-risk-unlock to verify your account.\nRun Code Online (Sandbox Code Playgroud)\n所以我必须去这里验证我的信用卡: https: //fly.io/high-risk-unlock
\n然后我看到了与原来类似的错误:
\nfly deploy\n==> Verifying app config\nValidating fly.toml\nPlatform: machines\n\xe2\x9c\x93 Configuration is valid\n--> Verified app config\n==> Building image\nWARN Failed to start remote builder heartbeat: failed building options: failed probing "personal": context deadline exceeded\nError: failed to fetch an image or build from source: error connecting to docker: failed building options: failed probing "personal": context deadline exceeded\nRun Code Online (Sandbox Code Playgroud)\n我跑了这个:
\nfly wireguard websockets enable\nRun Code Online (Sandbox Code Playgroud)\n我在这里找到了,然后一切正常。
\n