https://github.com/osquery/osquery logo
#fleet
Title
# fleet
d

demonbhao

04/19/2021, 10:37 AM
I'm using Python to call Fleet's WebSocket API and I'm having the following error. Does anyone have a similar problem?
n

Noah Talerman

04/19/2021, 3:09 PM
Hi @demonbhao. I don’t know the exact source of your error. Please check out this example Python script for a detailed implementation that demonstrates how to use the Websockets portion of the Fleet API.
d

demonbhao

04/20/2021, 8:28 AM
Hello, thank you for your help. I have completed the websocket interface through the documentation in the link above and input the query content into my own database However, I still had the following error in the example that was provided with the official Fleet documentation. When I ran WebSocket on the page, the results did not return properly Thanks again for your help👍
n

Noah Talerman

04/20/2021, 11:17 PM
Nice! It looks like your websocket interface is successfully receiving the type
totals
and
status
messages but not the
result
. So, you’re receiving the
'None Type'
error for both the linked Python script and the Fleet documentation?
11 Views