synapse.logging.RemoteHandler
stops logging after a few seconds due to _connection_waiter = deferred
#17480
Labels
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!
The text was updated successfully, but these errors were encountered: