我在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>'