Freunde,Bluemix IoTF Verbindungsfehler - Python
Ich habe ein Gerät in IBM Bluemix IoTF erstellt, Authentifizierungstoken generiert und alles ist eingestellt. Ich versuche, mit Python (ibm-iotf library) eine Verbindung herzustellen und Nachrichten an dieses Gerät zu senden, und das Programm wurde erstellt. Aber wenn ich das Programm starte, erhalte ich folgende Fehler. Bitte helfen Sie.
2016-03-21 11:04:15,786 ibmiotf.device.Client WARNING Unable to encrypt messages because TLSv1.2 is unavailable (MQTT over SSL requires at least Python v2.7.9 or 3.4 and openssl v1.0.1)
[Errno 10054] An existing connection was forcibly closed by the remote host
2016-03-21 11:04:16,446 ibmiotf.device.Client ERROR Unexpected disconnect from the IBM Internet of Things Foundation
2016-03-21 11:04:16,446 ibmiotf.device.Client INFO Messages published : 0, life: 1s, rate: 1/0.00s
2016-03-21 11:04:16,446 ibmiotf.device.Client INFO Messages received : 0, life: 1s, rate: 1/0.00s
Es ist sehr klar sagt, dass Sie mindestens Python 2.7.9 oder 3.4 und OpenSSL 1.0.1 haben müssen, sonst TLSv1.2 funktioniert nicht. –