nrf_inbuilt_key_delete(12345678, 2) => result=0 nrf_inbuilt_key_write => result=0 nrf_inbuilt_key_write => result=0 nrf_inbuilt_key_write => result=0 LTE Link Connecting ... LTE Link Connected! IPv4 Address 3.20.75.29 client_id: nrf-352656100047698 [mqtt_evt_handler:209] MQTT client connected! [00:00:17.611,968] [1B][0m aws_jobs: Subscribe: $aws/things/nrf-352[mqtt_evt_handler:272] SUBACK packet id: 2114 656100047698/jobs/notify-next[1B][0m [00:00:17.613,952] [1B][0m aws_jobs: Subscribe: $aws/things/nrf-352656100047698/jobs/$next/get/#[1B][0m [00:00:18.241,455] [1B][0m aws_fota: subscribed to notify-next topic[1B][0m [00:00:18.241,516] [1B][0m aws_jobs: Publish topic: $aws/things/nrf-352656100047698/jobs/$next/get[1B][0m [00:00:18.241,546] [1B][0m aws_jobs: Publish payload {"clientToken": ""}[1B][0m [mqtt_evt_handler:262] PUBACK packet id: 53050 [mqtt_evt_handler:262] PUBACK packet id: 7915 [00:00:19.143,218] [1B][0m aws_fota: Received topic: $aws/things/nrf-352656100047698/jobs/$next/get/accepted[1B][0m [00:00:19.143,432] [1B][0m aws_fota: Got only one field: {"clientToken":"","timestamp":1581041635}[1B][0m [00:01:14.914,306] [1B][0m aws_fota: Received topic: $aws/things/nrf-352656100047698/jobs/notify-next[1B][0m [00:01:14.914,916] [1B][0m aws_jobs: Unsubscribe: $aws/things/nrf-352656100047698/jobs/notify-next[1B][0m [00:01:14.916,168] [1B][0m aws_jobs: Subscribe: $aws/things/nrf-352656100047698/jobs/nrf9160fwota_020620_10/update/#[1B][0m [mqtt_evt_handler:277] default: 8 [mqtt_evt_handler:262] PUBACK packet id: 36513 [00:01:23.114,227] [1B][0m aws_jobs: Publish topic: $aws/things/nrf-352656100047698/jobs/nrf9160fwota_020620_10/update[1B][0m [00:01:23.114,288] [1B][0m aws_jobs: Publish payload {"status":"IN_PROGRESS","statusDetails": {"nextState":"download_firmware"},"expectedVersion": "1","clientToken": ""}[1B][0m [00:01:24.052,520] [1B][0m aws_fota: Received topic: $aws/things/nrf-352656100047698/jobs/nrf9160fwota_020620_10/update/accepted[1B][0m [00:01:24.052,581] [1B][0m aws_fota.aws_fota_on_publish_evt: Job document update was accepted[1B][0m [00:01:24.052,703] [1B][0m aws_fota: Start downloading firmware from mynrf9160fwupdatev2.s3.us-east-2.amazonaws.comapp_update.bin[1B][0m [00:01:24.415,771] [1B][0m download_client: Attempting to connect over IPv4[1B][0m [00:01:24.735,900] [1B][0m download_client: Connected to mynrf9160fwupdatev2.s3.us-east-2.amazonaws.com[1B][0m [00:01:24.735,931] [1B][0m download_client: Downloading: app_update.bin [0][1B][0m [00:01:27.352,691] [1B][0m download_client: Downloaded 4096/232128 bytes (1%)[1B][0m [00:01:27.352,752] [1B][0m fota_download: Offset: 0x0[1B][0m [00:01:27.352,783] [1B][0m fota_flash_block: Erasing sector at offset 0x00000000[1B][0m [00:01:27.487,548] [1B][0m fota_flash_block: Erasing sector at offset 0x00001000[1B][0m [00:01:29.064,788] [1B][0m download_client: Downloaded 8192/232128 bytes (3%)[1B][0m [00:01:29.112,640] [1B][0m fota_flash_block: Erasing sector at offset 0x00002000[1B][0m [00:01:30.438,171] [1B][0m download_client: Downloaded 12288/232128 bytes (5%)[1B][0m [00:01:30.485,992] [1B][0m fota_flash_block: Erasing sector at offset 0x00003000[1B][0m [00:01:31.860,076] [1B][0m download_client: Downloaded 16384/232128 bytes (7%)[1B][0m [00:01:31.907,867] [1B][0m fota_flash_block: Erasing sector at offset 0x00004000[1B][0m [00:01:33.092,071] [1B][0m download_client: Downloaded 20480/232128 bytes (8%)[1B][0m [00:01:33.139,892] [1B][0m fota_flash_block: Erasing sector at offset 0x00005000[1B][0m [00:01:34.494,720] [1B][0m download_client: Downloaded 24576/232128 bytes (10%)[1B][0m [00:01:34.542,541] [1B][0m fota_flash_block: Erasing sector at offset 0x00006000[1B][0m [00:01:36.416,290] [1B][0m download_client: Downloaded 28672/232128 bytes (12%)[1B][0m [00:01:36.464,111] [1B][0m fota_flash_block: Erasing sector at offset 0x00007000[1B][0m [00:01:38.053,405] [1B][0m download_client: Downloaded 32768/232128 bytes (14%)[1B][0m [00:01:38.101,226] [1B][0m fota_flash_block: Erasing sector at offset 0x00008000[1B][0m AWS_FOTA_EVT_ERROR [mqtt_evt_handler:262] PUBACK packet id: 50810 [00:02:09.407,928] [1B][0m download_client: Downloaded 36864/232128 bytes (15%)[1B][0m [00:02:09.455,810] [1B][0m fota_flash_block: Erasing sector at offset 0x00009000[1B][0m [00:02:09.549,804] [1B][1;31m download_client: Failed to send HTTP request, errno 57[1B][0m [00:02:09.550,323] [1B][1;31m fota_download: Download client error[1B][0m [00:02:09.550,323] [1B][0m dfu_target_mcuboot: MCUBoot image upgrade aborted.[1B][0m [00:02:09.550,354] [1B][1;31m aws_fota: FOTA download failed, report back[1B][0m [00:02:09.550,537] [1B][0m aws_jobs: Publish topic: $aws/things/nrf-352656100047698/jobs/nrf9160fwota_020620_10/update[1B][0m [00:02:09.550,567] [1B][0m aws_jobs: Publish payload {"status":"FAILED","statusDetails": {"nextState":"download_firmware"},"expectedVersion": "2","clientToken": ""}[1B][0m [00:02:10.327,423] [1B][0m aws_fota: Received topic: $aws/things/nrf-352656100047698/jobs/nrf9160fwota_020620_10/update/accepted[1B][0m [00:02:10.327,484] [1B][0m aws_fota.aws_fota_on_publish_evt: Job document update was accepted[1B][0m [00:02:10.327,606] [1B][0m aws_fota: Start downloading firmware from mynrf9160fwupdatev2.s3.us-east-2.amazonaws.comapp_update.bin[1B][0m [00:02:10.627,746] [1B][0m download_client: Attempting to connect over IPv4[1B][0m [00:02:10.963,500] [1B][0m download_client: Connected to mynrf9160fwupdatev2.s3.us-east-2.amazonaws.com[1B][0m [00:02:10.963,531] [1B][0m download_client: Downloading: app_update.bin [0][1B][0m [00:02:12.616,943] [1B][0m download_client: Downloaded 4096/232128 bytes (1%)[1B][0m [00:02:12.617,004] [1B][0m fota_download: Offset: 0x9000[1B][0m [00:02:12.617,004] [1B][0m fota_download: Refuse fragment, restart with offset[1B][0m [00:02:12.617,034] [1B][0m download_client: Fragment refused, download stopped.[1B][0m [00:02:13.617,126] [1B][0m download_client: Downloading: app_update.bin [36864][1B][0m [00:02:13.617,950] [1B][0m fota_download: Downloading from offset: 0x9000[1B][0m [00:02:14.849,060] [1B][0m download_client: Downloaded 40960/232128 bytes (17%)[1B][0m [00:02:14.896,942] [1B][0m fota_flash_block: Erasing sector at offset 0x0000a000[1B][0m [00:02:16.294,006] [1B][0m download_client: Downloaded 45056/232128 bytes (19%)[1B][0m [00:02:16.341,827] [1B][0m fota_flash_block: Erasing sector at offset 0x0000b000[1B][0m [00:02:18.171,936] [1B][0m download_client: Downloaded 49152/232128 bytes (21%)[1B][0m [00:02:18.219,757] [1B][0m fota_flash_block: Erasing sector at offset 0x0000c000[1B][0m [00:02:19.450,012] [1B][0m download_client: Downloaded 53248/232128 bytes (22%)[1B][0m [00:02:19.497,802] [1B][0m fota_flash_block: Erasing sector at offset 0x0000d000[1B][0m [00:02:25.538,299] [1B][0m download_client: Downloaded 57344/232128 bytes (24%)[1B][0m [00:02:25.586,120] [1B][0m fota_flash_block: Erasing sector at offset 0x0000e000[1B][0m [00:02:30.490,814] [1B][0m download_client: Downloaded 61440/232128 bytes (26%)[1B][0m [00:02:30.538,635] [1B][0m fota_flash_block: Erasing sector at offset 0x0000f000[1B][0m [00:02:32.848,663] [1B][0m download_client: Downloaded 65536/232128 bytes (28%)[1B][0m [00:02:32.896,514] [1B][0m fota_flash_block: Erasing sector at offset 0x00010000[1B][0m [00:02:37.170,013] [1B][0m download_client: Downloaded 69632/232128 bytes (29%)[1B][0m [00:02:37.217,834] [1B][0m fota_flash_block: Erasing sector at offset 0x00011000[1B][0m AWS_FOTA_EVT_ERROR [mqtt_evt_handler:262] PUBACK packet id: 44828 [00:03:31.225,616] [1B][0m download_client: Downloaded 73728/232128 bytes (31%)[1B][0m [00:03:31.273,437] [1B][0m fota_flash_block: Erasing sector at offset 0x00012000[1B][0m [00:03:31.367,340] [1B][1;31m download_client: Failed to send HTTP request, errno 57[1B][0m [00:03:31.367,797] [1B][1;31m fota_download: Download client error[1B][0m [00:03:31.367,797] [1B][0m dfu_target_mcuboot: MCUBoot image upgrade aborted.[1B][0m [00:03:31.367,797] [1B][1;31m aws_fota: FOTA download failed, report back[1B][0m [00:03:31.368,011] [1B][0m aws_jobs: Publish topic: $aws/things/nrf-352656100047698/jobs/nrf9160fwota_020620_10/update[1B][0m [00:03:31.368,041] [1B][0m aws_jobs: Publish payload {"status":"FAILED","statusDetails": {"nextState":"download_firmware"},"expectedVersion": "3","clientToken": ""}[1B][0m AWS_FOTA_EVT_ERROR aws_fota_mqtt_evt_handler: Failed! -14 [mqtt_evt_handler:227] MQTT PUBLISH result=0 len=281 mqtt_read_publish_payload: Failed! -36 Disconnecting MQTT client... Received: [mqtt_evt_handler:220] MQTT client disconnected 0 POLLNVAL Disconnecting MQTT client... Could not disconnect MQTT client. Error: -57 [00:03:32.653,045] [1B][0m aws_fota: Received topic: $aws/things/nrf-352656100047698/jobs/nrf9160fwota_020620_10/update/rejected[1B][0m [00:03:32.653,167] [1B][1;31m aws_fota: Job document update was rejected[1B][0m