We're updating the issue view to help you get more done. 

websocket traceback with amqp headers

Description

2020-01-06 07:41:46,792 [32656] (ERROR) (asyncio): Exception in callback _BusEventService._on_msg_received(<asynqp.messa...x7f32ee60d3c8>)
handle: <Handle _BusEventService._on_msg_received(<asynqp.messa...x7f32ee60d3c8>)>
Traceback (most recent call last):
File "/usr/lib/python3.7/asyncio/events.py", line 88, in _run
self._context.run(self._callback, *self._args)
File "/usr/lib/python3/dist-packages/wazo_websocketd/bus.py", line 157, in _on_msg_received
bus_event = _decode_bus_msg(bus_msg)
File "/usr/lib/python3/dist-packages/wazo_websocketd/bus.py", line 202, in _decode_bus_msg
if 'name' not in headers:
TypeError: argument of type 'NoneType' is not iterable

Environment

None

Activity

Show:
Sylvain Boily
January 6, 2020, 1:00 PM

I’m receiving events like {'name': 'ExtensionStatus', 'origin_uuid': '624ac6e8-00df-4ad9-a5e8-8f50d6058632'} and None.

Sylvain Boily
January 6, 2020, 1:48 PM

related to

Assignee

Pascal Cadotte

Reporter

Sylvain Boily

Labels

Approvers

None

Pair

None

Sprint

None

Fix versions

Priority

Medium
Configure