MQTT library error



  • Hi,

    I've error in mqtt library from GitHub

    Traceback (most recent call last):
    File "main.py", line 9, in <module>
    File "mqtt.py", line 57, in connect
    OSError: Avialable Interfaces are down

    row from main.py:
    ...
    client = MQTTClient('Mikhail', 'm24.cloudmqtt.com', port=16755, user='xxxxxxxx', password='xxxxxxxxxx'
    ...

    row from mqtt.py:
    ...
    addr = socket.getaddrinfo(self.server, self.port)[0][-1]
    ...

    what could be the raeson?


Log in to reply
 

Pycom on Twitter