Open haarp opened 3 months ago
Thank you for reporting this. Also - thank you for the very thorough and precise reproduction information. I was able to reproduce this very easily using the setup you described.
This seems like a more specific and more problematic occurrence of #16851. With the setup described in this issue all log lines are dropped after a few seconds whereas the other issues only reports some dropped log lines.
Description
Hello!
On a mostly fresh install of Matrix synapse, when a logging handler is set up with
class: synapse.logging.RemoteHandler
, it stops sending logs from that handler a few seconds after starting. I can verify withtcpdump
that no more packets are being sent.After the startup log lines, I usually see one or two requests being processed, and then nothing forever.
Other handlers continue to log just fine.
Experimenting with Synapse's logger, I could trace this down to
self._connection_waiter = deferred
insynapse/logging/_remote.py
. Commenting this line fixes the behavior, and logs arrive continuously.Steps to reproduce
nc -l -p 12401 -vv
tcpdump -i $interface port 12401
)Homeserver
private
Synapse Version
1.111.0
Installation Method
Debian packages from packages.matrix.org
Database
PostgreSQL, single server, fresh with no porting or backup restores
Workers
I don't know
Platform
Running on Debian 12. Issue was observed with 1.95.1 from Debian's pkg repo aswell as 1.111.0 from packages.matrix.org's repo
Configuration
log.yaml:
Relevant log output
Anything else that would be useful to know?
Thanks!