首页 > 解决方案 > mup deploy 超时错误,推送地址错误

问题描述

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

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不是流星应用程序。

现在你们有谁知道这里的问题是什么,为什么我会收到这个错误信息?

标签: amazon-ec2meteormup

解决方案


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

您可以通过运行来测试它mup ssh one


推荐阅读