download_client : Failed t resolve hostname "username" on IPv4

Hi,

I am trying to HTTP application update. I am using fota download to download "app_update.bin" from my AWS S3 bucket.

prj.conf

CONFIG_DOWNLOAD_HOST="username:password@my_s3_bucket.my_domain.com"
CONFIG_DOWNLOAD_FILE="/path/app_update.bin"


I am passing the basic authentication (username, password) in the URL to give access to download the "app_update.bin" file from AWS S3 bucket.

I am getting below warning, could not able to download the file.

<wrn> download_client : Failed to resolve hostname "username" on IPv4



my device : nrf1960 DK
my sdk version : 1.9.1


is fota download support basic authetication in the download URL?
is there any way to provide access only authenticated user to download the file from s3 bucket. 
is it possible to use AWS cognito with fota download?

Best Regards

Praveen Deshmane

Parents Reply Children
Related