【问题标题】:'heroku run python manage.py migrate' fails with an error 'Error R13 (Attach error) -> Failed to attach to process'“heroku run python manage.py migrate”失败并出现错误“错误 R13(附加错误)-> 无法附加到进程”
【发布时间】:2015-07-16 03:22:15
【问题描述】:

我尝试了“heroku run python manage.py migrate”并得到“超时等待测功机,请参阅https://devcenter.heroku.com/articles/one-off-dynos#timeout-awaiting-process”错误。

heroku 日志

 2015-05-06T05:42:05.881706+00:00 heroku[api]: Starting process with command `manage.py db:migrate` by navajyothms1989@gmail.com

2015-05-06T05:42:22.537124+00:00 heroku[run.9766]:等待客户端 2015-05-06T05:42:22.789430+00:00 heroku[run.9766]:状态从开始变为向上 2015-05-06T05:42:52.552578+00:00 heroku[run.9766]:错误 R13(附加错误)-> 无法附加到进程 2015-05-06T05:42:53.293185+00:00 heroku[run.9766]:进程以状态 128 退出 2015-05-06T05:42:53.307222+00:00 heroku[run.9766]: 状态从 up to complete

我应该怎么做才能解决这个问题?

【问题讨论】:

    标签: python django heroku


    【解决方案1】:

    同样的事情发生在我身上。但它通过连接到我的移动互联网解决了。我的 ISP 似乎阻止了大部分端口,而 heroku run 命令采用随机端口。

    【讨论】:

      猜你喜欢
      • 2014-01-22
      • 1970-01-01
      • 2015-05-31
      • 2015-07-09
      • 2014-05-18
      • 2023-03-18
      • 2020-04-03
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多