How to solve elasticsearch index not found error on heroku?

1k views Asked by At

I am trying to push my rails app on heroku, am using elastic-search in the app so on heroku i added the bonsai add on, everything works on Development, but on heroku it's giving the Application error when i checked the logs i found this:

Bonsai: Initializing default Elasticsearch client with https://rppeji3zrn:[email protected]
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 [email protected] 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 [email protected] for further details."}

I am pretty new to rails so am not getting what's causing the error, any help will be appreciated .

0

There are 0 answers