I have updated to SDK V1.2.0 and the AWS FOTA fails to get an ip address. My version 1.1.0 AWS FOTA still works.
See settings and outcomes below
For v1.2.0
and for V1.1.0
I have updated to SDK V1.2.0 and the AWS FOTA fails to get an ip address. My version 1.1.0 AWS FOTA still works.
See settings and outcomes below
For v1.2.0
and for V1.1.0
Hi,
In v1.1.0, you connected to a specific account, and with v1.2.0; we have tried to make the aws_fota sample generic, so that you can use this in your own AWS account. This is described more in detail here:
http://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.2.0/nrf/samples/nrf9160/aws_fota/README.html
It seems that you have updated the settings according to your own account, but given that you get an error on getaddrinfo(), I suspect that you haven't stored it or applied the config properly?
Could you try setting the hostname in aws_fota/prj.conf and re-import the project in SES? CONFIG_MQTT_BROKER_HOSTNAME="a3restofthehostname...amazonaws.com"
Kind regards,
Håkon
I think that in v1.0.0 the example connected to a specific account. In v1.1.0 I have been able to use my own AWS account. Which I have posted my firmware image file to that account and have successfully connected and run the FOTA many times. But in v1.2.0 I get the error I posted.
-22 means that the getaddrinfo (ie: the hostname dns lookup) fails. Try to ping that hostname (on your local PC) set in your config and see if there was a problem with the string that copied into the prj.conf.
Kind regards,
Håkon
-22 means that the getaddrinfo (ie: the hostname dns lookup) fails. Try to ping that hostname (on your local PC) set in your config and see if there was a problem with the string that copied into the prj.conf.
Kind regards,
Håkon