【问题标题】:mup deploy Timed out error with a wrong Pushing addressmup deploy 超时错误,推送地址错误
【发布时间】:2021-08-12 12:00:33
【问题描述】:

我在成功运行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.js 文件运行了mup init。我没有以相同的方式运行 mup deploy,因为它显示一条错误消息,指出 .deploy 不是流星应用程序。

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

【问题讨论】:

    标签: amazon-ec2 meteor mup


    【解决方案1】:

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

    你可以通过运行mup ssh one来测试这个

    【讨论】:

    • 我在 mup.js 文件中只添加了主机名和用户名,但没有添加密码或 pem。相反,我使用 .yaml 文件中的 SSH 身份验证。在部署 mup 之前它工作正常。任何想法如何解决这个问题?
    • @IstiakMahmood 很抱歉,我没有使用 ssh yaml auth。 mup setupmup ssh one 工作正常,但 mup deploy 不是?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2018-06-29
    • 1970-01-01
    • 2013-12-25
    • 1970-01-01
    • 2018-05-08
    • 2021-09-25
    • 2017-08-05
    相关资源
    最近更新 更多