Forem Creators and Builders 🌱

Discussion on: local Forem Instance to Production level Instance in Heroku or VPS

Collapse
 
bighitbiker3 profile image
Elliott McNary

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