Tanganelli / CoAPthon

CoAPthon is a python library to the CoAP protocol aligned with the RFC
MIT License
224 stars 131 forks source link

[Errno 104] Connection reset by peer #137

Open dcomins opened 5 years ago

dcomins commented 5 years ago

Hi,

I made a MQTT-CoAP python script conversion. When I receive a CoAP publish in my python script I make a CoAP request. After implementing several HelperClients, if I do not make requests after several minutes I obtain this error "[Errno 104] Connection reset by peer" and I my script leaves working. What this error mean, how can I solve it?

Tanganelli commented 5 years ago

Hi, it seems that the error is raised by the TCP socket of your MQTT broker, not by CoAPthon.

Il giorno gio 14 feb 2019 alle ore 12:09 dcomins notifications@github.com ha scritto:

Hi,

I made a MQTT-CoAP python script conversion. When I receive a CoAP publish in my python script I make a CoAP request. After implementing several HelperClients, if I do not make requests after several minutes I obtain this error "[Errno 104] Connection reset by peer" and I my script leaves working. What this error mean, how can I solve it?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Tanganelli/CoAPthon/issues/137, or mute the thread https://github.com/notifications/unsubscribe-auth/AGb2-lWFd55FE0wFMhVg1NHcUL9pQyW4ks5vNUPygaJpZM4a7XG6 .