Heroku /Sidekiq error when kill/retry job – 403 Forbidden on Heroku

sidekiq-logo

Hi everyone,

I’ve faced this problem on heroku when i deployed Ruby on Rails web app to free dyno

Solution for custom domains is like below;

  • You need to force ssl your rails app in config file. Because heroku app use default https scheme for app url. If you do not force it, it will use different schemes in forwarding requests.
    • config/environments/production.rb
    • config.force_ssl = true # Force ssl
  • If you are using free dynos on heroku, you can not use ssl feature and you should use heroku app url to access sidekiq web ui https://your-app.herokuapp.com/sidekiq

I hope it will help to you..

Leave a Reply

Your email address will not be published. Required fields are marked *