Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Request-URI Too Large error with OpenID #43
Using Omniauth 0.1.2 with Ruby 1.9.2 and Rails 3, when I access
I don't know if this is just a limitation of WEBrick, but it would be nice if this gem generated shorter urls so this wasn't a problem.
I can't seem to replicate this with Webrick 1.3.1 and my own MyOpenID URL. The URL used in this case isn't really the choice of OmniAuth but is rather part of the OpenID standard (you may want to doublecheck me on this, I relied on Rack::OpenID to perform the OpenID portion of OmniAuth so maybe there's some way to do it). Since it only seems to affect WEBrick I'm going to go ahead and close this one.
I had the same Problem with different openID Providers. It seems as if webrick does limit its max length of the uri by default. You can however change the maximum length in the file:
just look for the Errorline: RequestURITooLarge
right above you can change the max length. It should be around Line 246, depending on the Version of Webrick. I set the length to 2048 and never had this Problem since.