First time here? Check out the FAQ!
0

"Hi there! Please sign in" on "questions/" page

When I visit http://ask.sagemath.org/questions/, I am greeted by the "Hi there! Please sign in" invite.

When I click that, and select the "Google" button, I am sent back to http://ask.sagemath.org/questions/, and even though I am now signed in (which I see clearly if I visit other pages such as the "users" page or if I click "ALL" or other buttons), the "questions" page still displays "Hi there! Please sign in".

The confusing bit is that while other pages display my username, thus letting me know I am signed in, the "questions/" page does not.

Is this a known bug? Can it be fixed?

slelievre's avatar
196
slelievre
asked 2015-03-27 07:59:52 -0500
niles's avatar
808
niles
updated 2015-04-01 09:19:26 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

I believe this is a caching problem. Note that the issue is intermittent, and is triggered particularly if one signs in, then out, and then back in.

More info: at ask.sagemath.org, this issue appeared after a server move and upgrade to askbot 0.7.51. At the new server, we are forced to use unix sockets instead of tcp ports for communication between the server (nginx) and cache. (Also for communication between the server and uwsgi.) We had trouble getting askbot to acknowledge memcached with a unix socket, and are therefore using a filesystem cache. Could this be causing the problem?

Update

Similar behavior was reported here: http://askbot.org/en/question/10173/google-sign-in-does-not-work/ and was apparently resolved by using memcached.

niles's avatar
808
niles
answered 2015-04-01 09:17:44 -0500, updated 2015-04-01 09:25:03 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments