agents icon indicating copy to clipboard operation
agents copied to clipboard

job is unresponsive, killing job

Open leejiliang opened this issue 1 year ago โ€ข 1 comments

hello, I donโ€™t know what this ping method is checking. Everything on the livekit server and the agent worker seems to be normal and can respond normally. However, due to the abnormality of this ping, the agent exits unexpectedly. What should I do to avoid this ping timeout exception?

livekit server : 1.6.1 agent: 0.8.3

leejiliang avatar Aug 12 '24 03:08 leejiliang

image

leejiliang avatar Aug 12 '24 03:08 leejiliang

this happens because you are running blocking operations inside of the agent process. please try using run_in_executor for synchronous actions

davidzhao avatar Aug 24 '24 00:08 davidzhao