Update troubleshooting.md

This commit is contained in:
flyinggrizzly
2017-05-29 19:42:07 +01:00
committed by GitHub
parent 370e656209
commit 460af1885a

View File

@@ -199,8 +199,8 @@ __Symptom:__ I can't connect to my application because the server is sending an
__Solution:__
This can happen when your application is configured to enforce secure connections, but you don't have SSL set up for it.
This isn't usually an issue with Dokku, but rather an app config problem. This can happen when your application is configured to enforce secure connections/HSTS, but you don't have SSL set up for the app.
In Rails at least, if your `application.rb` or `environmnents/production.rb` include the line `configure.force_ssl = true`, which includes HSTS try commenting that out and redeploying.
If this solves the issue, longer term you may want to consider [configuring SSL](http://dokku.viewdocs.io/dokku/configuration/ssl/).
If this solves the issue temporarily, longer term you should consider [configuring SSL](http://dokku.viewdocs.io/dokku/configuration/ssl/).