单点登录异常,出现Bad Request (400)
[2026-08-27 08:58:10] [WARNING] django.request:253 log_response The request's session was deleted before the request completed. The user may have logged out in a concurrent request, for example.: /
Traceback (most recent call last):
File "/opt/seafile/seafile-server-13.0.12/seahub/thirdpart/django/contrib/sessions/backends/db.py", line 127, in save
obj.save(
File "/opt/seafile/seafile-server-13.0.12/seahub/thirdpart/django/db/models/base.py", line 902, in save
self.save_base(
File "/opt/seafile/seafile-server-13.0.12/seahub/thirdpart/django/db/models/base.py", line 1008, in save_base
updated = self._save_table(
^^^^^^^^^^^^^^^^^
File "/opt/seafile/seafile-server-13.0.12/seahub/thirdpart/django/db/models/base.py", line 1142, in _save_table
raise DatabaseError("Forced update did not affect any rows.")
django.db.utils.DatabaseError: Forced update did not affect any rows.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/seafile/seafile-server-13.0.12/seahub/thirdpart/django/contrib/sessions/middleware.py", line 59, in process_response
request.session.save()
File "/opt/seafile/seafile-server-13.0.12/seahub/thirdpart/django/contrib/sessions/backends/db.py", line 136, in save
raise UpdateError
django.contrib.sessions.backends.base.UpdateError
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/seafile/seafile-server-13.0.12/seahub/thirdpart/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "/opt/seafile/seafile-server-13.0.12/seahub/thirdpart/django/utils/deprecation.py", line 122, in __call__
response = self.process_response(request, response)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/seafile/seafile-server-13.0.12/seahub/thirdpart/django/contrib/sessions/middleware.py", line 61, in process_response
raise SessionInterrupted(
django.contrib.sessions.exceptions.SessionInterrupted: The request's session was deleted before the request completed. The user may have logged out in a concurrent request, for example.