mup deploy 超时错误,推送地址错误

mup deploy Timed out error with a wrong Pushing address

我正在尝试在 运行 成功 mup init 之后手动执行 mup deploy。 但是我在下面收到此错误消息-

ubuntu@dev-ip-xxx-xx-xx-xx:~/myapp/spa/meteor-api/.deploy$ mup deploy
Building App Bundle Locally
                                                                            
Started TaskList: Pushing Meteor App
[1.2.3.4] - Pushing Meteor App Bundle to the Server
events.js:291
      throw er; // Unhandled 'error' event
      ^

Error: Timed out while waiting for handshake
    at Timeout._onTimeout (/usr/local/lib/node_modules/mup/node_modules/ssh2/lib/client.js:695:19)
    at listOnTimeout (internal/timers.js:554:17)
    at processTimers (internal/timers.js:497:7)
Emitted 'error' event on Client instance at:
    at Timeout._onTimeout (/usr/local/lib/node_modules/mup/node_modules/ssh2/lib/client.js:697:14)
    at listOnTimeout (internal/timers.js:554:17)
    at processTimers (internal/timers.js:497:7) {
  level: 'client-timeout'
}

我有 运行 mup init 使用我的 mup.js 文件。我没有以相同的方式 运行 mup deploy,因为它向我显示一条错误消息,指出 .deploy 不是流星应用程序。

现在你们中有人知道这里的问题是什么以及为什么我收到此错误消息吗?

该错误意味着 mup 无法连接到您的 EC2 实例。确保在 mup.js 文件中包含正确的凭据(IP、用户名和 pem 文件路径)。

您可以通过 运行 mup ssh one

进行测试