resolving kernel headers...
launching kernel collector...
+ exec /srv/kernel-collector --host-distro amazon --kernel-headers-source pre_installed --config-file /etc/flowmill/config.yaml --force-docker-metadata --disable-nomad-metadata --enable-cpu-mem-io
terminate called after throwing an instance of 'std::runtime_error'
what(): error while fetching initial authz token: status code 403 (Flowmill auth server='https://app.flowmill.com/api/v1/auth/keys/KFIIUJXRJQVO7SNYTN6C')
double check the following items:
- Agent keys are properly configured:
- in Kubernetes environments, verify that secret `flowmill-k8s-agent-key` has been set for namespace `flowmill` and contains keys `flowmill_agent_key_id` and `flowmill_agent_secret`
- this container's enironment variables `FLOWMILL_AUTH_KEY_ID` and `FLOWMILL_AUTH_SECRET` must contain the agent key
- Flowmill auth server is correctly configured:
- in Kubernetes environments, helm chart's key `flowmill.services.host`
- this container's enironment variable `FLOWMILL_AUTHZ_SERVER`
2020-10-22 21:31:17.168241+00:00 warning [p:006231 t:006231] uploading crash minidump to 'https://app.flowmill.com/api/v1/minidump/'...
2020-10-22 21:31:17.485637+00:00 error [p:006231 t:006231] unable to upload crash minidump: (22) The requested URL returned error: 401 Unauthorized
--------------------------------------------------------------------------------------------
CRASH DETECTED - collecting crash minidump in `/tmp/flowmill-minidump/b891cc8c-c087-4f03-98ddc096-8048cbd3.dmp`...
waiting for crash minidump uploader process (pid=6231)
crash minidump uploader process terminated normally with exit code 1