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

MQTT Connect Error: -95 in nrf9160: AWS_IoT sample

Hi,

I have been trying to run nrf9160: AWS_IoT sample on Thingy91 but have been getting the following output in the serial terminal: 

I couldn't figure out what mqtt_connect, error: -95 actually means since it is not present in the following: https://github.com/intel/zephyr/blob/master/lib/libc/minimal/include/errno.h

Can someone please help me figure out what this error actually means?

Thank you.

Parents Reply
  • Thank you for your response.

    I am sorry but in the errno.h file I linked the following is defined:

    #define EOPNOTSUPP 45      /* Operation not supported on socket */

    Which is different from what you wrote:

    #define EOPNOTSUPP 95 /* Operation not supported on transport endpoint */

    Am I looking at the wrong errno.h file?

    Yes, I have followed the documentation and the certificates chapter but possibly could have made a mistake. I will try to see if I have skipped some step or did something wrong.

    Thank you.

Children
Related