Google Groups Home
Help | Sign in
OpenID delegation + mongrel
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Xavier Shay  
View profile
 More options Apr 12, 6:08 pm
From: Xavier Shay <xavier-l...@rhnh.net>
Date: Sat, 12 Apr 2008 18:08:31 +1000
Local: Sat, Apr 12 2008 6:08 pm
Subject: OpenID delegation + mongrel
Setup OpenID delegation for the site you are hosting with enki (say, http://rhnh.net
  for me)
Fire up your app with one mongrel.
Then try to login.
Hit the mongrel, which then requests your site to get the delegation  
info
... which needs to be processed by a mongrel, but the only one is  
already waiting on this request to finish
So your app locks up.

Multiple mongrels would help, but not avoid the problem, since  
mongrels will keep accepting requests even if they're busy.

This wasn't a problem with mephisto since it page cached the home page  
(and others) that was then served up by nginx.
I think I will do this on my site too, as I can't see another  
immediate solution.

Xav


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Xavier Shay  
View profile
 More options Apr 13, 9:59 am
From: Xavier Shay <xavier-l...@rhnh.net>
Date: Sun, 13 Apr 2008 09:59:03 +1000
Local: Sun, Apr 13 2008 9:59 am
Subject: Re: OpenID delegation + mongrel
Here is a better idea: serve up a static YADIS file through the  
webserver without ever having to touch mongrel

http://rhnh.net/2008/04/13/nginx-openid-delegation-and-yadis

I will add a rake task to generate this file from enki.yml

On 12/04/2008, at 6:08 PM, Xavier Shay wrote:


    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Chris Lloyd  
View profile
 More options Apr 13, 10:05 am
From: "Chris Lloyd" <christopher.ll...@gmail.com>
Date: Sun, 13 Apr 2008 10:05:52 +1000
Local: Sun, Apr 13 2008 10:05 am
Subject: Re: OpenID delegation + mongrel

Nice fix!

--
Mobile: +614 2412 1343
Website: chrislloyd.com.au

    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2008 Google