This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

mqtt_connect fails with error -95 aws_fota

Hi !

I am working on aws_fota, with a nrf9160 dk, sdk 1.3.0. When I try to connect in mqtt, I get my IPv4 address I get the following message: ERROR - mqtt_connect -95.
When I try to debug myself, I notice that my error appears on line 97 :     ret = connect(client->transport.tls.sock, client->broker, peer_addr_size); 
of the mqtt_transport_socket_tls.c file within its mqtt_client_tls_connect () function.

could you help me ? thanks in advance
Parents Reply Children
Related