AWS MQTT



  • Hi,

    We are trying to connect Gpy module+Pysense to AWS platform through Wifi connection to check data exchange. We achieved to connect to AWS with AWSMQTTconnection() successfully. However after few seconds when we try to send first message (in a while loop) some errors start to come up:

    Socket receive error: -80
    Socket send error [Errno 104] ECONNRESET
    Socket receive error: -80
    Socket send error [Errno 104] ECONNRESET
    Socket receive error: -80
    Socket send error [Errno 104] ECONNRESET
    Socket receive error: -80
    Socket send error [Errno 104] ECONNRESET
    Socket receive error: -80
    Socket send error [Errno 104] ECONNRESET
    Socket receive error: -80
    Socket send error [Errno 104] ECONNRESET

    And suddendly after a while (2 min aprox.) all messages are sent and we can see them in AWS platform. (just first one never arrives).

    Any idea?

    Thanks!



  • Hi

    Did you find out about this? I where also able to connect and send a message to the AWS IoT platform. Then I got a similer error where it continiously report "Socket receive error: -80", but no "Socket send error [Errno 104] ECONNRESET" message.


 

Pycom on Twitter