I''ve just migrated my system over to a new macbook. I''ve been having a nightmare today trying to get the site I''m working on to work... All gems are in place, MySQL etc. However - I am stuck on this error form Mongrel: HTTP parse error, malformed request (127.0.0.1): #<Mongrel::HttpParserError: Invalid HTTP format, parsing fails.> The only thing it could be, I think, is we are using the SSL_Requirement plugin. That is redirecting to an https page and thats the last thing that happens before mongrel shows this error. I have never seen this before, and google searches are not showing up much that is helpful. If anyone has any pointers, would be much appreciated! Thanks -- Posted via http://www.ruby-forum.com/.
Mongrel doesn''t support SSL, you''ll have to disable this on dev mode. - Maurício Linhares http://codeshooter.wordpress.com/ | http://twitter.com/mauriciojr On Mon, Jun 29, 2009 at 12:32 PM, Adam Wilson<rails-mailing-list-ARtvInVfO7ksV2N9l4h3zg@public.gmane.org> wrote:> > I''ve just migrated my system over to a new macbook. > > I''ve been having a nightmare today trying to get the site I''m working on > to work... > All gems are in place, MySQL etc. > > However - I am stuck on this error form Mongrel: > > HTTP parse error, malformed request (127.0.0.1): > #<Mongrel::HttpParserError: Invalid HTTP format, parsing fails.> > > The only thing it could be, I think, is we are using the SSL_Requirement > plugin. > That is redirecting to an https page and thats the last thing that > happens before mongrel shows this error. > > I have never seen this before, and google searches are not showing up > much that is helpful. > > If anyone has any pointers, would be much appreciated! > > Thanks > -- > Posted via http://www.ruby-forum.com/. > > > >
Maurício Linhares wrote:> Mongrel doesn''t support SSL, you''ll have to disable this on dev mode. > > - > Maur�cio Linhares > http://codeshooter.wordpress.com/ | http://twitter.com/mauriciojr > > On Mon, Jun 29, 2009 at 12:32 PM, AdamThanks We had this all working before on my old macbook, I cannot remember how though - using an Apache config to deal with SSL requests in front of Mongrel. Anyhow, I managed to get the app working for now by commenting out all references to SSL_Requirement and ssl_required. Thanks for the tip! -- Posted via http://www.ruby-forum.com/.