Traceback (most recent call last):


 "/Users/sjrumsby/src/flask-mq/venv/lib/python3.6/site-packages/kombu/utils/functional.py", line 332, in retry_over_time

return fun(*args, **kwargs)


 "/Users/sjrumsby/src/flask-mq/venv/lib/python3.6/site-packages/kombu/connection.py", line 261, in connect

return self.connection


 "/Users/sjrumsby/src/flask-mq/venv/lib/python3.6/site-packages/kombu/connection.py", line 802, in connection

self._connection = self._establish_connection()


 "/Users/sjrumsby/src/flask-mq/venv/lib/python3.6/site-packages/kombu/connection.py", line 757, in _establish_connection

conn = self.transport.establish_connection()


 "/Users/sjrumsby/src/flask-mq/venv/lib/python3.6/site-packages/kombu/transport/pyamqp.py", line 130, in establish_connection

conn.connect()


 "/Users/sjrumsby/src/flask-mq/venv/lib/python3.6/site-packages/amqp/connection.py", line 308, in connect

self.drain_events(timeout=self.connect_timeout)


 "/Users/sjrumsby/src/flask-mq/venv/lib/python3.6/site-packages/amqp/connection.py", line 491, in drain_events

while not self.blocking_read(timeout):


 "/Users/sjrumsby/src/flask-mq/venv/lib/python3.6/site-packages/amqp/connection.py", line 496, in blocking_read

frame = self.transport.read_frame()


 "/Users/sjrumsby/src/flask-mq/venv/lib/python3.6/site-packages/amqp/transport.py", line 243, in read_frame

frame_header = read(7, True)


 "/Users/sjrumsby/src/flask-mq/venv/lib/python3.6/site-packages/amqp/transport.py", line 426, in _read

raise IOError('Socket closed')
OSError: Socket closed

Traceback (most recent call last):


 "/usr/lib/python3.6/urllib/request.py", line 1320, in do_open

raise URLError(err)
urllib.error.URLError: <urlopen error [Errno 104] Connection reset by peer>
