Kyle Goode09/04/2022, 12:17 AM
Lucas Rodriguez09/05/2022, 3:58 PM
Osquery API endpoints in Fleet are not versioned like the Fleet user API. Let me know that works.
Kyle Goode09/07/2022, 4:55 AM
Lucas Rodriguez09/07/2022, 11:00 AM
That seems to be the issue AFAICS (it expects a JSON body but nginx is returning a not found page?)
<html> <head><title>404 Not Found</title></head> <body> <center><h1>404 Not Found</h1></center> <hr><center>nginx</center> </body> </html> W0903 19:12:55.460351 269113 tls_enroll.cpp:101] Failed enrollment request to <https://ip:8090/api/latest/osquery/enroll> (Cannot parse JSON: Invalid value. Offset: 0) retrying...
Kyle Goode09/08/2022, 3:59 AM
Lucas Rodriguez09/08/2022, 2:02 PM
Kyle Goode09/15/2022, 2:02 AM
Lucas Rodriguez09/15/2022, 12:45 PM
curl -k -v -X POST <https://IP:8090/api/v1/osquery/enroll>
Kathy Satterlee09/15/2022, 9:30 PM
That should just be:
Can you run again with
to see if you're getting the same error now that the endpoint is correct?