Project

General

Profile

Bug #263

MySQL session timeout

Added by Sebastien Tricaud over 16 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
Due date:
% Done:

0%

Resolution:
fixed

Description

When I log in prewikka, I have the following traceback:

Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/prewikka/Core.py", line 317, in process
    user = self.checkAuth(request)
  File "/usr/lib/python2.4/site-packages/prewikka/Core.py", line 303, in checkAuth
    user = self._env.auth.getUser(request)
  File "/usr/lib/python2.4/site-packages/prewikka/Auth.py", line 137, in getUser
    login = self.checkSession(request)
  File "/usr/lib/python2.4/site-packages/prewikka/Auth.py", line 87, in checkSession
    login, t = self.db.getSession(sessionid)
  File "/usr/lib/python2.4/site-packages/prewikka/Database.py", line 249, in getSession
    rows = self.query("SELECT login, time FROM Prewikka_Session WHERE sessionid = %s" % self.escape(sessionid))
  File "/usr/lib/python2.4/site-packages/prewikka/Database.py", line 131, in query
    raise [[PreludeDBError]](e.errno)
[[PreludeDBError]]: [[MySQL]] server has gone away

However, the mysql server is up and running. And the problem disappears when I restart the mysql database.

Version I am using: Prewikka 0.9.12.1.

History

#1 Updated by Sebastien Tricaud over 16 years ago

I forgot to mention that when I restart mysql, this works for only one request and after the problem reappear.

#2 Updated by Yoann VANDOORSELAERE over 16 years ago

  • Status changed from New to Closed
  • Resolution set to fixed

The described problem should be fixed already in changeset r9907.

#3 Updated by Yoann VANDOORSELAERE almost 15 years ago

  • Project changed from PRELUDE SIEM to LibpreludeDB
  • Category deleted (2)
  • Target version deleted (0.9.14)

Also available in: Atom PDF