Opened 11 years ago
Last modified 7 years ago
#11038 closed defect
Login fails due to issues with opening sibling Trac environments — at Version 2
Reported by: | Steffen Hoffmann | Owned by: | Steffen Hoffmann |
---|---|---|---|
Priority: | normal | Component: | AccountManagerPlugin |
Severity: | normal | Keywords: | login |
Cc: | Ryan J Ollos | Trac Release: | 0.11 |
Description (last modified by )
The following issue has been reported to trac-users mailing-list by Mario Fetka:
i get this error when i login to trac that is running via tracd via ajp via apache2.
i get a traceback only when logging in as admin:
File "/usr/lib64/python2.7/site-packages/trac/web/main.py", line 522, in _dispatch_request dispatcher.dispatch(req) File "/usr/lib64/python2.7/site-packages/trac/web/main.py", line 243, in dispatch resp = chosen_handler.process_request(req) File "/usr/lib64/python2.7/site-packages/acct_mgr/web_ui.py", line 428, in process_request return auth.LoginModule.process_request(self, req) File "/usr/lib64/python2.7/site-packages/trac/web/auth.py", line 115, in process_request self._do_login(req) File "/usr/lib64/python2.7/site-packages/acct_mgr/web_ui.py", line 539, in _do_login self._distribute_cookie(req, cookie.value) File "/usr/lib64/python2.7/site-packages/acct_mgr/web_ui.py", line 586, in _distribute_cookie env = open_environment(path, use_cache=True) File "/usr/lib64/python2.7/site-packages/trac/env.py", line 659, in open_environment env = env_cache.setdefault(env_path, open_environment(env_path)) File "/usr/lib64/python2.7/site-packages/trac/env.py", line 665, in open_environment env = Environment(env_path) File "/usr/lib64/python2.7/site-packages/trac/env.py", line 216, in __init__ self.verify() File "/usr/lib64/python2.7/site-packages/trac/env.py", line 319, in verify assert fd.read(26) == 'Trac Environment Version 1'
Change History (2)
comment:1 Changed 11 years ago by
comment:2 Changed 11 years ago by
Description: | modified (diff) |
---|
Note: See
TracTickets for help on using
tickets.
Seems like login code related to the recently introduced Single-Sign-On functionality for multiple Trac environments inside a parent directory should be improved to become more robust. Thanks for the report.