Hi All,

We use Couchbase heavily. Recently we have been coming across "Unable to 
create session key" issues too frequently.

Below are the logs: -

Oct 25 16:20:02 [service_variant=lms][django.request][] ERROR [ 28350] 
[base.py:256] - Internal Server Error: 
Traceback (most recent call last):
File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/core/handlers/base.py",
 
line 108, in get_response
response = middleware_method(request)
File 
"/edx/app/edxapp/edx-platform/common/djangoapps/cm_plugin/middleware.py", 
line 59, in process_request
self.auth_user(request, token)
File 
"/edx/app/edxapp/edx-platform/common/djangoapps/cm_plugin/middleware.py", 
line 31, in auth_user
login(request, user)
File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/contrib/auth/_
*init*_.py", line 110, in login
request.session.cycle_key()
File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/contrib/sessions/backends/base.py",
 
line 285, in cycle_key
self.create()
File 
"/edx/app/edxapp/venvs/edxapp/local/lib/python2.7/site-packages/django/contrib/sessions/backends/cache.py",
 
line 48, in create
"Unable to create a new session key. "
RuntimeError: Unable to create a new session key. It is likely that the 
cache is unavailable.

We have to restart moxi service everytime and other services but it is a 
temporary fix. Need a permanent fix for it.
Help will be really grateful.

Regards,
Jigar Shah

-- 
You received this message because you are subscribed to the Google Groups 
"Couchbase" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to