Ask Your Question
0

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

asked 2015-03-27 07:59:52 -0500

updated 2015-04-01 09:19:26 -0500

niles gravatar image

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?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-04-01 09:17:44 -0500

niles gravatar image

updated 2015-04-01 09:25:03 -0500

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.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-03-27 07:59:52 -0500

Seen: 51,291 times

Last updated: Apr 01 '15