Search code examples
ruby-on-railsruby-on-rails-3webrickomniauth

OmniAuth Google OpenID WEBrick::HTTPStatus::RequestURITooLarge


I am using OmniAuth to allow users to log in with their Google OpenID accounts. When I try to log in in development mode with WEBrick, I get a WEBrick::HTTPStatus::RequestURITooLarge error. When I deploy it to my rails host, it works fine. Is there a different web server I should use instead of WEBrick?


Solution

  • Strange, I wonder what the URI length limit is for WEBrick. You could try thin http://code.macournoyer.com/thin/. I use this locally for development sometimes and it seems to work great.