'ConnectionResetError' object has no attribute 'value'

Bug #1796038 reported by Nicola Peditto
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
IoTronic Lightning-rod
Fix Released
High
Nicola Peditto

Bug Description

Listening...
2018-10-03 13:06:43.102 29258 ERROR asyncio [-] Exception in callback WebSocketAdapterProtocol.connection_lost(ConnectionRes...eset by peer'))
handle: <Handle WebSocketAdapterProtocol.connection_lost(ConnectionRes...eset by peer'))>: AttributeError: 'ConnectionResetError' object has no attribute 'value'
2018-10-03 13:06:43.102 29258 ERROR asyncio Traceback (most recent call last):
2018-10-03 13:06:43.102 29258 ERROR asyncio File "/usr/lib/python3.5/asyncio/events.py", line 125, in _run
2018-10-03 13:06:43.102 29258 ERROR asyncio self._callback(*self._args)
2018-10-03 13:06:43.102 29258 ERROR asyncio File "/usr/local/lib/python3.5/dist-packages/autobahn/asyncio/component.py", line 308, in lost
2018-10-03 13:06:43.102 29258 ERROR asyncio rtn = orig(fail)
2018-10-03 13:06:43.102 29258 ERROR asyncio File "/usr/local/lib/python3.5/dist-packages/autobahn/asyncio/websocket.py", line 100, in connection_lost
2018-10-03 13:06:43.102 29258 ERROR asyncio self._connectionLost(exc)
2018-10-03 13:06:43.102 29258 ERROR asyncio File "/usr/local/lib/python3.5/dist-packages/autobahn/websocket/protocol.py", line 3363, in _connectionLost
2018-10-03 13:06:43.102 29258 ERROR asyncio WebSocketProtocol._connectionLost(self, reason)
2018-10-03 13:06:43.102 29258 ERROR asyncio File "/usr/local/lib/python3.5/dist-packages/autobahn/websocket/protocol.py", line 1096, in _connectionLost
2018-10-03 13:06:43.102 29258 ERROR asyncio reason_string = _maybe_tls_reason(reason.value)
2018-10-03 13:06:43.102 29258 ERROR asyncio AttributeError: 'ConnectionResetError' object has no attribute 'value'
2018-10-03 13:06:43.102 29258 ERROR asyncio

https://github.com/crossbario/autobahn-python/blob/master/autobahn/websocket/protocol.py#L1096

Changed in iotronic-lightning-rod:
assignee: nobody → webwolf (n-peditto)
Changed in iotronic-lightning-rod:
importance: Undecided → High
assignee: webwolf (n-peditto) → Nicola Peditto (npeditto)
description: updated
Revision history for this message
Nicola Peditto (npeditto) wrote :
Changed in iotronic-lightning-rod:
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.