Skip to content

Operation halts with asyncio timeout exception in logs? #2707

Answered by calebshortt
calebshortt asked this question in Q&A
Discussion options

You must be logged in to vote

I believe I have found the issue and will post here to help any others who may run into the same issue.

I am running Caldera against a target host that has non-blocking EP.
When the Caldera agent (sandcat in this case) runs through its battery of tests (i.e. operation), the host gets pinned at 100% CPU usage (the server being pinned at 100% usage seems to be a red herring). This is causing the websockets to time out because of this line:

https://github.com/mitre/caldera/blob/master/app/service/event_svc.py#L83

Which calls the websocket.connect(uri) command with default timeout (which is 10s).
Unfortunately I am unable to rectify the high CPU usage on the host, so my fix was to change the …

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by calebshortt
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant