I run 'rails server' locally in terminal, It starts Webrick normally on port 3000. Then I visit localhost:3000 in my brower firefox. An error occured:
title: Secure Connection Failed
contents:
An error occurred during a connection to localhost:3000. SSL received a record that exceeded the maximum permissible length. (Error code: ssl_error_rx_record_too_long)
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.
PS:
Both in environments of development and production, this error displayed. Before this I configged the config/secrets.yml file. But I think the configuration is right. I don't know how to do , please help! Any answers are appreciated.