Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

event too large error when cleaning rooms #301

Closed
MayeulC opened this issue Aug 31, 2022 · 1 comment
Closed

event too large error when cleaning rooms #301

MayeulC opened this issue Aug 31, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@MayeulC
Copy link

MayeulC commented Aug 31, 2022

I've been using the bridge for a while. At some point it was reinstalled, and left plenty of old, unused rooms in my account (#183).

I wanted to clean all of that up, so I issued a clean-rooms command, and got the following answer:

raceback (most recent call last):
  File "/opt/yunohost/mautrix_signal/lib/python3.9/site-packages/mautrix/bridge/commands/handler.py", line 489, in handle
    await self._run_handler(handler, evt)
  File "/opt/yunohost/mautrix_signal/lib/python3.9/site-packages/mautrix/bridge/commands/handler.py", line 338, in __call__
    return await self._handler(evt)
  File "/opt/yunohost/mautrix_signal/lib/python3.9/site-packages/mautrix/bridge/commands/clean_rooms.py", line 134, in clean_rooms
    return await evt.reply("\n".join(reply))
  File "/opt/yunohost/mautrix_signal/lib/python3.9/site-packages/mautrix/client/api/events.py", line 479, in send_text
    return await self.send_message(room_id, content, **kwargs)
  File "/opt/yunohost/mautrix_signal/lib/python3.9/site-packages/mautrix/appservice/api/intent.py", line 140, in wrapper
    return await __method(*args, **kwargs)
  File "/opt/yunohost/mautrix_signal/lib/python3.9/site-packages/mautrix/appservice/api/intent.py", line 426, in send_message_event
    return await super().send_message_event(room_id, event_type, content, **kwargs)
  File "/opt/yunohost/mautrix_signal/lib/python3.9/site-packages/mautrix/client/api/events.py", line 404, in send_message_event
    resp = await self.api.request(
  File "/opt/yunohost/mautrix_signal/lib/python3.9/site-packages/mautrix/api.py", line 376, in request
    return await self._send(method, full_url, req_content, query_params, headers or {})
  File "/opt/yunohost/mautrix_signal/lib/python3.9/site-packages/mautrix/api.py", line 255, in _send
    raise make_request_error(
mautrix.errors.request.MTooLarge: event too large
 
@MayeulC MayeulC added the bug Something isn't working label Aug 31, 2022
@tulir
Copy link
Member

tulir commented Aug 31, 2022

Duplicate of mautrix/python#33

@tulir tulir marked this as a duplicate of mautrix/python#33 Aug 31, 2022
@tulir tulir closed this as not planned Won't fix, can't repro, duplicate, stale Aug 31, 2022
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 24, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants