You have configured your application to force the https URL. The browser returns an error Too Many Redirects
When you redirect a request to https, ensure that you are only redirecting the request if it's not already HTTPS. When checking for HTTPS requests, you should use
X-Forwarded-Proto header on the request. This is because the secure connection is terminated at the Heroku router, all traffic within the Heroku network is HTTP.