Dawei Zhang
zwass
Dawei Zhang
Kathy Satterlee
Tomas Touceda
Dawei Zhang
{
"component": "http",
"err": "timestamp: 2022-03-31T18:30:26Z: error in query ingestion",
"ingestion-err": "campaign waiting for listener (please retry)",
"ip_addr": "10.124.121.115",
"level": "error",
"method": "POST",
"took": "6.469503ms",
"ts": "2022-03-31T18:30:26.444353614Z",
"uri": "/api/v1/osquery/distributed/write",
"x_for_ip_addr": "10.124.121.115"
}
let me know if you need more infoArtem
zwass
xhr_send
request, this likely means your load balancer (or something in the network) is blocking websockets.Dawei Zhang
Artem
Apr 28 18:55:58 fleet-01.test.tech fleet[3040986]: {"component":"http","err":"timestamp: 2022-04-28T18:55:58Z: error in query ingestion","ingestion-err":"ingesting query software_linux: update host software: insert software: timestamp: 2022-04-28T18:55:58Z: Error 1213: Deadlock found when trying to get lock; try restarting transaction","ip_addr":"172.12.13.14","level":"error","method":"POST","took":"6.156863664s","ts":"2022-04-28T18:55:58.53477351Z","uri":"/api/v1/osquery/distributed/write","x_for_ip_addr":"172.12.13.14"}
Apr 28 18:55:58 fleet-01.test.tech fleet[3040986]: {"component":"http","err":"timestamp: 2022-04-28T18:55:54Z: error in query ingestion || create transaction: timestamp: 2022-04-28T18:55:58Z: context canceled || save host with id 27: timestamp: 2022-04-28T18:55:58Z: context canceled","ingestion-err":"ingesting query software_linux: update host software: insert software: timestamp: 2022-04-28T18:55:54Z: context canceled","ip_addr":"172.12.13.15","level":"error","method":"POST","took":"19.774983596s","ts":"2022-04-28T18:55:58.898478856Z","uri":"/api/v1/osquery/distributed/write","x_for_ip_addr":"172.12.13.15"}
Ad-hoc and scheduled queries work fine. We also know that this is not load balancer problem (direct connection to fleet from osquery represents same problem). So now we try so locate reason between Redis and MySQLTomas Touceda
Artem
Tomas Touceda
Artem