Hi
I am trying to FOTA download with AWS S3 bucket.
https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/nrf/libraries/networking/fota_download.html
I am using HTTPS protocol to download the FOTA image
https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.9.1/nrf/libraries/networking/download_client.html#download-client-https
NOTE: HTTPS is working for other REST API
My AWS S3 Bucket Policy is below
{ "Version": "2012-10-17", "Statement": [ { "Sid": "Statement1", "Principal": "*", "Effect": "Allow", "Action": "s3:GetObject", "Resource": "arn:aws:s3:::mybucket/*" } ] }
Nordick SDK Version : 1.9.1
prj.conf file
CONFIG_DOWNLOAD_HOST="https://mybucket.s3.us-west-2.amazonaws.com" CONFIG_DOWNLOAD_FILE="app_update.bin"
I am getting below error, when i used to HTTPS bucket link to download firmware image
<err> download_client: Unable to connect, errno 111
NOTE:
With HTTP bucket link it works pretty well.
CONFIG_DOWNLOAD_HOST="http://mybucket.s3.us-west-2.amazonaws.com" CONFIG_DOWNLOAD_FILE="app_update.bin"
May I know why download _client could not connect to aws s3 bucket???
Any help, or suggestion will be appreciated.