при попытке force_ssl на Rails 6 для производства Mozilla не поддерживает безопасное соединение - PullRequest
0 голосов
/ 18 июня 2020

Я только что изменил свой config / environment / production.rb на

config.force_ssl = true

Я проверил, что мои URL-адреса на сайт https: //

Но при запуске Mozilla выдала следующее:

Secure Connection Failed

An error occurred during a connection to www.pierregarcia.org. Peer reports it experienced an internal error.

Error code: SSL_ERROR_INTERNAL_ERROR_ALERT

    The page you are trying to view cannot be shown because the authenticity of the received data could not be verified.
    Please contact the website owners to inform them of this problem.

Chrome тоже не может получить доступ и отправить

This site can't acces for security reason www.pierregarcia.org send and incorrect answer.
ERR_SSL_PROTOCOL_ERROR

Я отменил свои файлы cookie, но это ничего не изменило. Теперь я сделал откат для этого только однострочного изменения, и Mozilla терпит неудачу с тем же сообщением об ошибке в обоих веб-браузерах.

Но при запуске Mozilla и Chrome в анонимном режиме все в порядке ! В чем проблема ?

...