From c5e8d919da0a5a6825c154a3296934edaf470395 Mon Sep 17 00:00:00 2001 From: Jorik Schellekens Date: Thu, 22 Aug 2019 13:45:08 +0100 Subject: [PATCH] Headers were the wrong type --- synapse/replication/http/_base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/synapse/replication/http/_base.py b/synapse/replication/http/_base.py index a47b1631fc31..4d0869ef4ade 100644 --- a/synapse/replication/http/_base.py +++ b/synapse/replication/http/_base.py @@ -167,8 +167,8 @@ def send_request(**kwargs): # have a good idea that the request has either succeeded or failed on # the master, and so whether we should clean up or not. while True: - headers = Headers() - opentracing.inject_active_span_twisted_headers( + headers = {} + opentracing.inject_active_span_byte_dict( headers, None, check_destination=False ) try: