Rails Cannot Boot to Production Environment

Asked 2 years ago, Updated 2 years ago, 32 views

Ruby 2.6.0
Rails 5.2.2

I wanted to boot in the production environment, so when I did rails=e=production and accessed at https://localhost;3000, I received an invalid response and the View was not reflected.

2019-02-09 21:29:59 +0900:HTTP parse error, malformed request():#<Puma::HttpParserError: Invalid HTTP format, parsing failures.>

This error occurs.

ruby-on-rails ruby

2022-09-30 10:23

1 Answers

Rails is attempting to access the port listening for https in anticipation of an http request, so it seems that the request could not be processed. Please visit http://localhost:3000
(Or if you want to use https intentionally, you have to listen to it in some way.)


2022-09-30 10:23

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.