#1136892 Chat: AttributeError: property 'session' of 'RequestContext' object has no setter

#1136892#5
Date:
2026-05-17 00:33:43 UTC
From:
To:
Dear Maintainer,

1) I have a 'chat' tab open,  with none of the checkboxes checked and
a title in the 'custom title' field
2) hit 'start chat server'
3) copied the address into a torbrowser window

what should have happened: the chat page loads, is functional

result(on console):

message handler error
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/engineio/server.py", line 450,
in run_handler
    return self.handlers[event](*args)
           ~~~~~~~~~~~~~~~~~~~~^^^^^^^
  File "/usr/lib/python3/dist-packages/socketio/server.py", line 655,
in _handle_eio_message
    self._handle_connect(eio_sid, pkt.namespace, pkt.data)
    ~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/socketio/server.py", line 538,
in _handle_connect
    success = self._trigger_event(
        'connect', namespace, sid, self.environ[eio_sid])
  File "/usr/lib/python3/dist-packages/socketio/server.py", line 620,
in _trigger_event
    return handler(*args)
  File "/usr/lib/python3/dist-packages/flask_socketio/__init__.py",
line 291, in _handler
    return self._handle_event(handler, message, real_ns, sid,
           ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                              *args)
                              ^^^^^^
  File "/usr/lib/python3/dist-packages/flask_socketio/__init__.py",
line 815, in _handle_event
    ctx.session = session_obj
    ^^^^^^^^^^^
AttributeError: property 'session' of 'RequestContext' object has no setter

seems to be 100% of the time.  (also neither chatting nor seemingly
setting the user name
works after that, but perhaps once this error is dealt with that will
be the next thing to try)