我试图在heroku上推送我的rails应用程序,在该应用程序中使用弹性搜索,因此在heroku上我添加了盆景添加,一切都在Development上运行,但是在heroku上,当我使用Application error
时检查了我发现的日志:
Bonsai: Initializing default Elasticsearch client with https://rppeji3zrn:FILTERED@redwood-5622314.us-east-1.bonsaisearch.net
2018-09-05T10:04:37.828500+00:00 app[web.1]: [!!!] Index does not exist (Elasticsearch::Transport::Transport::Errors::NotFound)
2018-09-05T10:04:37.875396+00:00 app[web.1]: [4] ! Unable to load application: Elasticsearch::Transport::Transport::Errors::Forbidden: [403] {"code":403,"message":"Updates to this cluster have been disabled. Please contact support@bonsai.io for further details."}
2018-09-05T10:04:37.875554+00:00 app[web.1]: bundler: failed to load command: puma (/app/vendor/bundle/ruby/2.4.0/bin/puma)
2018-09-05T10:04:37.875661+00:00 app[web.1]: Elasticsearch::Transport::Transport::Errors::Forbidden: [403] {"code":403,"message":"Updates to this cluster have been disabled. Please contact support@bonsai.io for further details."}
我对Rails还是很陌生,所以没有得到导致错误的原因,我们将不胜感激。