【问题标题】:Elasticsearch returning 504 when trying to index on Heroku尝试在 Heroku 上建立索引时,Elasticsearch 返回 504
【发布时间】:2013-11-04 14:26:46
【问题描述】:

this Railscast 中所述,我已使用Tire 将elasticsearch 添加到我的Rails 应用程序中。

我尝试使用 Bonsai 插件部署到 Heroku。在关注this tutorial 并使用信息 w 基于this question 之后,我尝试运行此命令:

heroku run rake environment tire:import CLASS=Document FORCE=true

Document 当然是我模型的名字。)

但我不断收到此错误消息:

Running `rake environment tire:import CLASS=Document FORCE=true` attached to terminal... up, run.4773
[IMPORT] Deleting index 'documents'
[IMPORT] Creating index 'documents' with mapping:
{"document":{"properties":{}}}
[ERROR] There has been an error when creating the index -- Elasticsearch returned:
504 :

我做错了什么?

【问题讨论】:

    标签: heroku elasticsearch tire


    【解决方案1】:

    你可能没有做错任何事。盆景在过去 18 小时内一直遇到问题。您的 504 错误可能就是由此造成的。

    看到这条推文:https://twitter.com/bonsaisearch/status/394950014361165824

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2020-05-31
      • 1970-01-01
      • 2016-03-03
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2021-07-15
      • 2015-11-30
      相关资源
      最近更新 更多