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?

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
slelievre's avatar
196
slelievre
asked 10 years ago
niles's avatar
808
niles
updated 10 years ago

Comments

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.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
niles's avatar
808
niles
answered 10 years ago, updated 10 years ago
link

Comments

see more comments