This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Critical error hidden in logging type INFO #14367
Labels
A-Logging
Synapse's logs (structured or otherwise). Not metrics.
O-Uncommon
Most users are unlikely to come across this or unexpected workflow
S-Minor
Blocks non-critical functionality, workarounds exist.
T-Defect
Bugs, crashes, hangs, security vulnerabilities, or other reported issues.
Description
I was trying to add an event_persister worker via docker-compose using
synapse_worker_event_persister1
as service name which also is the docker DNS record.But apparently
_
is not allowed for event_persister host's (which IMO is a bug on its on).The error was only visible when showing "INFO" logs
Steps to reproduce
synapse_worker_event_persister1
as nameM_UNKNOWN: Failed to talk to event_persister1 process
Homeserver
self hosted
Synapse Version
1.70.1
Installation Method
Docker (matrixdotorg/synapse)
Platform
linux
Relevant log output
2022-11-04 14:19:14,311 - synapse.http.client - 455 - INFO - POST-5 - Error sending request to POST http://synapse_worker_event_persister1:8034/_synapse/replication/send_events/JfZHQlavDY: InvalidCodepoint Codepoint U+005F at position 8 of 'synapse_worker_event_persister1' not allowed
Anything else that would be useful to know?
I would guess
synapse/synapse/replication/http/_base.py
Lines 298 to 300 in 7bc110a
The text was updated successfully, but these errors were encountered: