title: Puma: HTTP parse error, malformed request
body: <p>Firing up my local server with foreman and I get the following whenever I make any request.</p>
  
  <pre><code>HTTP parse error, malformed request (): #&lt;Puma::HttpParserError: Invalid HTTP format, parsing fails.&gt;
  ENV: {"rack.version"=&gt;[1, 3], "rack.errors"=&gt;#&lt;IO:&lt;STDERR&gt;&gt;, "rack.multithread"=&gt;true, "rack.multiprocess"=&gt;false, "rack.run_once"=&gt;false, "SCRIPT_NAME"=&gt;"", "CONTENT_TYPE"=&gt;"text/plain", "QUERY_STRING"=&gt;"", "SERVER_PROTOCOL"=&gt;"HTTP/1.1", "SERVER_SOFTWARE"=&gt;"2.9.1", "GATEWAY_INTERFACE"=&gt;"CGI/1.2"}
  </code></pre>
  
  <p>Running Ruby 2.2.0 with rvm</p>
  
  <p>And some potentially relevant bits from my Gemfile:</p>
  
  <pre><code>gem 'rails', '4.2.5.2'
  gem 'puma', '2.9.1'
  </code></pre>
  
  <p>Completely stumped here and would appreciate any help. Happy to provide more context from my config, but I don't even know where to start.</p>
  
  <p>Edit:</p>
  
  <p>I get this error when I run the server with <code>foreman start</code>. If I fire it up with <code>rails s</code> then all is well.</p>