Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

sending messages to unknown rooms creates redundant state groups #3625

Open
richvdh opened this issue Jul 30, 2018 · 0 comments
Open

sending messages to unknown rooms creates redundant state groups #3625

richvdh opened this issue Jul 30, 2018 · 0 comments
Labels
A-Disk-Space things which fill up the disk O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Tolerable Minor significance, cosmetic issues, low or no impact to users. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. z-minor (Deprecated Label) z-p2 (Deprecated Label)

Comments

@richvdh
Copy link
Member

richvdh commented Jul 30, 2018

Not sure if this only applies to ASes, but every time the RSS bot tries to send a message to this (unknown) room, we get a new (empty) state group:

2018-07-30 17:52:30,048 - synapse.access.http.8103 - 93 - INFO - PUT-3808195 - 2a04:3541:1000:500:6866:a4ff:fe4c:2321 - 8103 - Received request: PUT /_matrix/client/r0/rooms/%21LInBjthlgdanlFFgGB:im.datenpunk.io/send/m.room.message/go1532973150036318470?access_token=<redacted>
2018-07-30 17:52:30,049 - synapse.util.async - 241 - INFO - PUT-3808195 - Acquired uncontended linearizer lock 'room_event_creation_limit' for key '!LInBjthlgdanlFFgGB:im.datenpunk.io'
2018-07-30 17:52:30,060 - synapse.util.async - 241 - INFO - PUT-3808195 - Acquired uncontended linearizer lock 'state_resolve_lock' for key frozenset([])
2018-07-30 17:52:30,060 - synapse.state - 471 - INFO - PUT-3808195 - Resolving state for !LInBjthlgdanlFFgGB:im.datenpunk.io with 0 groups
2018-07-30 17:52:30,060 - synapse.util.async - 250 - INFO - PUT-3808195 - Releasing linearizer lock 'state_resolve_lock' for key frozenset([])
2018-07-30 17:52:30,065 - synapse.util.async - 250 - INFO - PUT-3808195 - Releasing linearizer lock 'room_event_creation_limit' for key '!LInBjthlgdanlFFgGB:im.datenpunk.io'
2018-07-30 17:52:30,065 - synapse.http.server - 83 - INFO - PUT-3808195 - <XForwardedForRequest at 0x7fbddbafd518 method='PUT' uri='/_matrix/client/r0/rooms/%21LInBjthlgdanlFFgGB:im.datenpunk.io/send/m.room.message/go1532973150036318470?access_token=<redacted>' clientproto='HTTP/1.1' site=8103> SynapseError: 403 - Room '!LInBjthlgdanlFFgGB:im.datenpunk.io' does not exist
2018-07-30 17:52:30,065 - synapse.access.http.8103 - 139 - INFO - PUT-3808195 - 2a04:3541:1000:500:6866:a4ff:fe4c:2321 - 8103 - {@_neb_rssbot_=40oma=3aim.datenpunk.io:matrix.org} Processed request: 0.017sec (0.004sec, 0.000sec) (0.009sec/0.003sec/2) 91B 403 "PUT /_matrix/client/r0/rooms/%21LInBjthlgdanlFFgGB:im.datenpunk.io/send/m.room.message/go1532973150036318470?access_token=<redacted> HTTP/1.1" "Go-http-client/2.0" [0 dbevts]
@neilisfragile neilisfragile added z-p2 (Deprecated Label) z-minor (Deprecated Label) labels Aug 28, 2018
@reivilibre reivilibre added A-Disk-Space things which fill up the disk S-Tolerable Minor significance, cosmetic issues, low or no impact to users. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. O-Uncommon Most users are unlikely to come across this or unexpected workflow labels May 23, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-Disk-Space things which fill up the disk O-Uncommon Most users are unlikely to come across this or unexpected workflow S-Tolerable Minor significance, cosmetic issues, low or no impact to users. T-Defect Bugs, crashes, hangs, security vulnerabilities, or other reported issues. z-minor (Deprecated Label) z-p2 (Deprecated Label)
Projects
None yet
Development

No branches or pull requests

3 participants