Hiya! On 22/08/2009, at 10:09 PM, Claus Divossen wrote:
Two SSL ports are required as we can't do name-based vhosting on SSL yet, and we identified an issue with the way OpenID works internally with Ruby's net/http; the gist of the problem is that when the OpenID consumer performs the redirection step your load-balancer (Apache, Nginx, ..) will generally try and pass that connection back into itself - the same, originating ruby application (mongrel, thin, passenger..) - since the ruby part isn't expecting this, it blocks indefinitely, resulting in timeouts and a 'critical mass' of about 15 concurrent authentications. Running the OpenID URL on a separate port (the important part is the separate load-balancer configuration) allows Apache or Nginx to correctly pass the connections around with no indeterminate blocking, timeouts, or upper-bounds. I can understand the pain regarding opening an additional firewall port; however all internal (Registrations) usage of OpenID will be removed in 0.8.0 and replaced with an EC2-style key pair authentication system rendering all of these problems, workarounds and associated discussions moot :) Hope this helps, -- AJ Christensen, Software Engineer Opscode, Inc. E: "> |
Attachment:
PGP.sig
Description: This is a digitally signed message part
Archive powered by MHonArc 2.6.16.