Hey! I just got around this error. Elasticsearch::Transport::Transport::Errors::Forbidden 403 is due to the update_settings call in cluster.rb. With the managed Elasticsearch providers on Heroku you're not allowed to edit the settings of the cluster.
I added a rescue block in that code so it looks like
def update_settings
Search::Client.cluster.put_settings(body: default_settings)
rescue StandardError
handle_exception
end
For further actions, you may consider blocking this person and/or reporting abuse
Hey! I just got around this error.
Elasticsearch::Transport::Transport::Errors::Forbidden 403
is due to theupdate_settings
call incluster.rb
. With the managed Elasticsearch providers on Heroku you're not allowed to edit the settings of the cluster.I added a rescue block in that code so it looks like
def update_settings
Search::Client.cluster.put_settings(body: default_settings)
rescue StandardError
handle_exception
end