[OpenStreetMap] #4165: Adding OpenID URL makes log in impossible

OpenStreetMap trac at openstreetmap.org
Fri Feb 10 18:22:51 GMT 2012


#4165: Adding OpenID URL makes log in impossible
--------------------------+-------------------------------------------------
 Reporter:  emj           |       Owner:  rails-dev@…                
     Type:  defect        |      Status:  new                        
 Priority:  critical      |   Milestone:                             
Component:  website       |     Version:                             
 Keywords:  openid login  |  
--------------------------+-------------------------------------------------

Comment(by amm):

 This is a very odd bug. It appears to sometimes work and sometimes
 doesn't. With the same code, the bug is sometimes reproducable on a test
 instance while it works on osm.org and vice versa.

 From what I have been able to track down, the problem appears to be
 originating outside of our code and somewhere in the middleware of rails.
 The session db gets corrupted and looses the relevant information during
 the OpenID redirect, resulting in the logged out user. Given the
 intermittent nature of the issue, my guess would be some form of race
 condition, but I haven't been able to debug this any further as I don't
 know how to debug the session store middleware.

 When I tried this a couple of weeks ago on osm.org, adding a OpenID,
 however, worked correctly again. Do others still see this problem? Did it
 recently start again?

-- 
Ticket URL: <https://trac.openstreetmap.org/ticket/4165#comment:3>
OpenStreetMap <http://www.openstreetmap.org/>
OpenStreetMap is a free editable map of the whole world



More information about the rails-dev mailing list