У меня есть старый проект в Rails4, и когда я запустил его снова, я получил эту ошибку на терминале, и страница не загружена.Я попытался найти это в Интернете и попытался сгенерировать один сертификат SSL для моего локального хоста, но все еще не работает.Кто-то уже имел эту проблему раньше?
Я использую тонкий сервер, и он работает локально по http вместо http уже.Это тоже было хорошо.
Спасибо!
Invalid request: Invalid HTTP format, parsing fails.
/home/fernando/.rvm/gems/ruby-2.3.3@r426/gems/thin-1.7.1/lib/thin/request.rb:84:in `execute'
/home/fernando/.rvm/gems/ruby-2.3.3@r426/gems/thin-1.7.1/lib/thin/request.rb:84:in `parse'
/home/fernando/.rvm/gems/ruby-2.3.3@r426/gems/thin-1.7.1/lib/thin/connection.rb:39:in `receive_data'
/home/fernando/.rvm/gems/ruby-2.3.3@r426/gems/eventmachine-1.0.9.1/lib/eventmachine.rb:193:in `run_machine'
/home/fernando/.rvm/gems/ruby-2.3.3@r426/gems/eventmachine-1.0.9.1/lib/eventmachine.rb:193:in `run'
/home/fernando/.rvm/gems/ruby-2.3.3@r426/gems/thin-1.7.1/lib/thin/backends/base.rb:73:in `start'
/home/fernando/.rvm/gems/ruby-2.3.3@r426/gems/thin-1.7.1/lib/thin/server.rb:162:in `start'
/home/fernando/.rvm/gems/ruby-2.3.3@r426/gems/rack-1.6.8/lib/rack/handler/thin.rb:19:in `run'
/home/fernando/.rvm/gems/ruby-2.3.3@r426/gems/rack-1.6.8/lib/rack/server.rb:287:in `start'
/home/fernando/.rvm/gems/ruby-2.3.3@r426/gems/railties-4.2.6/lib/rails/commands/server.rb:80:in `start'
/home/fernando/.rvm/gems/ruby-2.3.3@r426/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:80:in `block in server'
/home/fernando/.rvm/gems/ruby-2.3.3@r426/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:75:in `tap'
/home/fernando/.rvm/gems/ruby-2.3.3@r426/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:75:in `server'
/home/fernando/.rvm/gems/ruby-2.3.3@r426/gems/railties-4.2.6/lib/rails/commands/commands_tasks.rb:39:in `run_command!'
/home/fernando/.rvm/gems/ruby-2.3.3@r426/gems/railties-4.2.6/lib/rails/commands.rb:17:in `<top (required)>'
/home/fernando/Dropbox/Code/Ykron/ykronapp/bin/rails:9:in `require'
/home/fernando/Dropbox/Code/Ykron/ykronapp/bin/rails:9:in `<top (required)>'
/home/fernando/.rvm/gems/ruby-2.3.3@r426/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `load'
/home/fernando/.rvm/gems/ruby-2.3.3@r426/gems/spring-2.0.2/lib/spring/client/rails.rb:28:in `call'
/home/fernando/.rvm/gems/ruby-2.3.3@r426/gems/spring-2.0.2/lib/spring/client/command.rb:7:in `call'
/home/fernando/.rvm/gems/ruby-2.3.3@r426/gems/spring-2.0.2/lib/spring/client.rb:30:in `run'
/home/fernando/.rvm/gems/ruby-2.3.3@r426/gems/spring-2.0.2/bin/spring:49:in `<top (required)>'
/home/fernando/.rvm/gems/ruby-2.3.3@r426/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `load'
/home/fernando/.rvm/gems/ruby-2.3.3@r426/gems/spring-2.0.2/lib/spring/binstub.rb:31:in `<top (required)>'
/home/fernando/Dropbox/Code/Ykron/ykronapp/bin/spring:15:in `require'
/home/fernando/Dropbox/Code/Ykron/ykronapp/bin/spring:15:in `<top (required)>'
bin/rails:3:in `load'
bin/rails:3:in `<main>'