Hi I'm not sure if this is supposed to happen, but when I do a RAILS_ENV=production rails server
in my terminal and then try to run localhost:3000 it gives me an error:
Secure Connection Failed
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)
I read somewhere that it might be because my url is https://localhost:3000/
instead of http://localhost:3000/
with the "S" after http? but I can't change it since it keeps going to https automatically.
Is this normal? The reason I'm trying to run it in production is because I am getting errors when I try to deploy my app into heroku ( question asked here: Rails + Heroku : ActionView::Template::Error ) so I thought it would help me debug.