CoAP crashes when doing GET request

Description

Crashes after an arbitrary amount (~50) of successful GET requests

Exception in thread socketUdpRead@:5683:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/local/lib/python2.7/dist-packages/coap/socketUdpReal.py", line 96, in run
self.callback(timestamp,source,data)
File "/usr/local/lib/python2.7/dist-packages/coap/coap.py", line 340, in _receive
raise SystemError('unexpected type {0}'.format(message['type']))
SystemError: unexpected type 2

Environment

Python 2.7.9 (default, Apr 2 2015, 15:33:21)
[GCC 4.9.2] on linux2

Assignee

Thomas Watteyne

Reporter

Víctor Díez

Labels

None

Story Points

None

Priority

Normal
Configure