benbass
09/13/2021, 4:36 PMdownload carve received status 401: Authentication required: Authentication required
I am able to query the carve table on that instance, and even a subsequent login does not resolve the issue. This is using fleetctl 4.2.2 and fleetctel 4.2.4 on macOSzwass
fleetctl
versions?benbass
09/13/2021, 5:53 PMzwass
--debug
to the fleetctl
command and seeing the network request/response?benbass
09/13/2021, 6:37 PMfleetctl get carves --context test-outer --debug 14:36:46
GET <https://fleetdm-test.fqdn:8080/api/v1/fleet/carves>
GET <https://fleetdm-test.fqdn:8080/api/v1/fleet/carves> 200 OK (106ms)
{
"carves": [
{
"id": 1,
"created_at": "2021-09-13T16:04:49Z",
"host_id": 1,
"name": "hostname-2021-09-13T16:04:49Z-51224d0a-3065-45ea-a3dc-29fc8670c93c",
"block_count": 1,
"block_size": 2000000,
"carve_size": 37888,
"carve_id": "e7e5d654-c7da-400a-8866-1f52b5fa61f0",
"request_id": "51224d0a-3065-45ea-a3dc-29fc8670c93c",
"session_id": "499ac948-6a28-423a-92ee-c9f338f17bfb",
"expired": false,
"max_block": 0
}
]
}
+----+-------------------------------+--------------------------------------+------------+------------+
| ID | CREATED AT | REQUEST ID | CARVE SIZE | COMPLETION |
+----+-------------------------------+--------------------------------------+------------+------------+
| 1 | 2021-09-13 12:04:49 -0400 EDT | 51224d0a-3065-45ea-a3dc-29fc8670c93c | 37888 | 100% |
+----+-------------------------------+--------------------------------------+------------+------------+