You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have registered a user account in AWS and deployed my website there. I first wanted to use Firebase, yet I have difficulty in tranferring data from the LinkIt ONE to the Firebase which is using TLS 1.2 now.
I am referred to study this AWS library first. I tried for several days. I have managed to install the root CA, as well as certificate and private key for my IoT. Yet, I got stuck when I repeated received the vm_socket error, even after I had tried to change my location for several times. The reported errors by the Serail facility are as follows. Could you give me some hint? BTW, Ilive in Jinan, China, and I can have access to the site 54.209.1.110. And I also have gone through the MediaTek forum at this thread (http://labs.mediatek.com/forums/posts/list/3394.page#p6473). I also found the PING command return 52.207.46.254, but the aws_mbedtls_mqtt return 54.209.1.110. I also hard-coded the two IP address to CONNECT_IP_ADDRESS in the function of wifiResolveCallback(); however, neither of the two addresses works. The error code returned is -20, which is different from the thread reported in the MediaTek forum (http://labs.mediatek.com/forums/posts/list/3394.page#p6473).
Serial Output:
. Connecting to AP...ok
. Loading the CA root certificate ...ok
. Loading the client cert. and key...ok
. Connecting to server 54.209.1.110/8883...vm_socket error and ret value is -20
Error in connecting...
Subscribing...failed in iot_mqtt_subscribe.
Ok
. Connecting to AP...ok
ip address is 0.0.0.0
. Loading the CA root certificate ...ok
. Loading the client cert. and key...ok
. Connecting to server 52.201.207.5/8883...vm_socket error and ret value is -20
Error in connecting...
Subscribing...failed in iot_mqtt_subscribe.
Sir, thank you for your library.
I have registered a user account in AWS and deployed my website there. I first wanted to use Firebase, yet I have difficulty in tranferring data from the LinkIt ONE to the Firebase which is using TLS 1.2 now.
I am referred to study this AWS library first. I tried for several days. I have managed to install the root CA, as well as certificate and private key for my IoT. Yet, I got stuck when I repeated received the vm_socket error, even after I had tried to change my location for several times. The reported errors by the Serail facility are as follows. Could you give me some hint? BTW, Ilive in Jinan, China, and I can have access to the site 54.209.1.110. And I also have gone through the MediaTek forum at this thread (http://labs.mediatek.com/forums/posts/list/3394.page#p6473). I also found the PING command return 52.207.46.254, but the aws_mbedtls_mqtt return 54.209.1.110. I also hard-coded the two IP address to CONNECT_IP_ADDRESS in the function of wifiResolveCallback(); however, neither of the two addresses works. The error code returned is -20, which is different from the thread reported in the MediaTek forum (http://labs.mediatek.com/forums/posts/list/3394.page#p6473).
The text was updated successfully, but these errors were encountered: