Closed soumilshah1995 closed 5 years ago
Hi - I am unable to replicate this with your code and the latest version of this library. Please make sure you're running the latest version of the library and try running your code again.
> python3 subscribe.py
Connected to Adafruit IO!
Connected to Adafruit IO! Listening for feed changes...
ERROR: /usr/local/bin/python3.7 "/Users/soumilshah/IdeaProjects/MasterIoT/chrome automation/test.py" Traceback (most recent call last): File "/Users/soumilshah/IdeaProjects/MasterIoT/chrome automation/test.py", line 40, in
client.connect()
File "/Users/soumilshah/Library/Python/3.7/lib/python/site-packages/Adafruit_IO/mqtt_client.py", line 141, in connect
keepalive=keepalive, **kwargs)
File "/Users/soumilshah/Library/Python/3.7/lib/python/site-packages/paho/mqtt/client.py", line 839, in connect
return self.reconnect()
File "/Users/soumilshah/Library/Python/3.7/lib/python/site-packages/paho/mqtt/client.py", line 994, in reconnect
sock.do_handshake()
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/ssl.py", line 1117, in do_handshake
self._sslobj.do_handshake()
ssl.SSLCertVerificationError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1056)