You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 22, 2026. It is now read-only.
Hi all. When I connect to the server and receive a message from it. The console log shows an error.
Received message from remote server:
{'event': 'hello', 'data': {'connection_id': 'ug5y64sdtkka', 'server_version': '6.7.0.commit-e341**d104855.true'}, 'broadcast': {'omit_users': None, 'user_id': 'teierjw*******dzyc', 'channel_id': '', 'team_id': '', 'contains_sanitized_data': False, 'contains_sensitive_data': False}, 'seq': 0}
Trased
Failed to establish websocket connection: <class 'TypeError'> thrown
Traceback (most recent call last):
File "C:\Users*****\PycharmProjects\python-mattermost-driver\src\mattermostdriver\websocket.py", line 60, in connect
await self._start_loop(websocket, event_handler)
File "C:\Users***\PycharmProjects\python-mattermost-driver\src\mattermostdriver\websocket.py", line 82, in _start_loop
await event_handler(message)
TypeError: 'str' object is not callable