aliyun / iotkit-embedded

高速镜像: https://code.aliyun.com/linkkit/c-sdk
Apache License 2.0
498 stars 254 forks source link

mqtt sample project failed #38

Closed xiongyu0523 closed 5 years ago

xiongyu0523 commented 6 years ago

SSL/TLS handshaking fails when running mqtt sample project in linux (productkey, devicename and secret are installed correctly), see logs:

Log.txt

lifang870603 commented 6 years ago

-0x0050 MBEDTLS_ERR_NET_CONN_RESET: Connection was reset by peer. 这个是tls在建联的过程就出现了fail,被云端关闭。 如果三元组是正确可用的,请问linux的版本是什么,TLS的版本是什么。这个更像是tls的问题。 谢谢!