IntegrityError and login as somebody else
|Reported by:||mehme@…||Owned by:||mgood|
Sometimes, trying to login we get an error similar to below message
IntegrityError: (1062, "Duplicate entry '19c3c13591ddaf8cfba741a3923d8600-126.96.36.199-mehmet' for key 1")
Also there are times when all of a sudden I realize that I am logged in as a colleague of mine. I try to log out and log back in as myself and get the above message or if I am successful this time my colleague switches to my username.
I have not been able to find the exact pattern to repeat the problem, but it occurs quite often when multiple people are working.
By the way, we are all working from the same office which is connected to the Internet from one ip address using NAT and the trac server is on outside network. I believe part of the problem is related to this.
[components] trac.web.auth.LoginModule = disabled acct_mgr.admin.accountmanageradminpage = enabled acct_mgr.api.accountmanager = enabled acct_mgr.htfile.htdigeststore = enabled acct_mgr.web_ui.accountmodule = enabled acct_mgr.web_ui.LoginModule = enabled tracext.git.* = enabled [account-manager] password_format = htdigest password_file = /trac/trac.htdigest htdigest_realm = trac