Title
#fleet
r

Ryan

07/18/2022, 4:36 PM
Hi, is it possible to determine the UUID of a node from a node key? I turned on the integration with Fleet and Sentry, and we got an error raised saying
authentication error: invalid node key: <node key here>
Kathy Satterlee

Kathy Satterlee

07/18/2022, 5:00 PM
Hey, @Ryan! Where and when are you seeing that error?
r

Ryan

07/18/2022, 5:49 PM
Hi @Kathy Satterlee that’s after enabling the Sentry integration for Fleet. https://fleetdm.com/docs/deploying/configuration#dsn
5:49 PM
Have only seen it once so far.
5:49 PM
Kathy Satterlee

Kathy Satterlee

07/18/2022, 6:11 PM
That one is just happening because that route is protected and it should automatically redirect to login.
6:12 PM
Let me reach out to the team about Sentry.
7:12 PM
It looks like the best options for narrowing down which host is causing that error would be to either directly query the
hosts
table in the Fleet database to find the host with the corresponding
node_key
or to use the REST API. Once you've found the culprit, delete the host from Fleet and it should attempt to reregister.
r

Ryan

07/20/2022, 2:25 PM
ok thanks, I’ll give that a try
2:31 PM
no results for that node key weirdly
2:33 PM
perhaps the node was being decommissioned at the time?
Kathy Satterlee

Kathy Satterlee

07/20/2022, 2:45 PM
Sounds like that could be the case. Might have just been a weird one-off at the time of the request.
r

Ryan

07/20/2022, 5:14 PM
yeah, I’ll keep an eye out for any more 😄