raise APIStatusError( livekit.agents._exceptions.A...
# ask-ai
f
raise APIStatusError( livekit.agents._exceptions.APIStatusError: upstream connect error or disconnect/reset before headers. reset reason: connection termination (status_code=503, request_id=None, body=upstream connect error or disconnect/reset before headers. reset reason: connection termination, retryable=True) {"tts": "livekit.plugins.openai.stt.STT", "attempt": 1, "streamed": false, "pid": 6172, "job_id": "AJ_Cf8nKDC5qQyU"} raise APIStatusError( livekit.agents._exceptions.APIStatusError: Error code: 503 - {'error': {'message': 'The engine is currently overloaded. Please try again later.', 'type': 'server_error', 'param': None, 'code': None}, 'usage': {'type': 'duration', 'seconds': 0}} (status_code=503, request_id=req_65fa93003360430b9b01df5903f577c4, body={'message': 'The engine is currently overloaded. Please try again later.', 'type': 'server_error', 'param': None, 'code': None}, retryable=True) {"tts": "livekit.plugins.openai.stt.STT", "attempt": 1, "streamed": false, "pid": 6071, "job_id": "AJ_gHC95FLFxUwW"} raise APITimeoutError() from None livekit.agents._exceptions.APITimeoutError: Request timed out. (body=None, retryable=True) {"tts": "livekit.plugins.openai.stt.STT", "attempt": 1, "streamed": false, "pid": 6071, "job_id": "AJ_gHC95FLFxUwW"}
t
Thanks for reaching out, Tushar. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
Could you please share a bit more about when this error popped up? For instance, were you working with a certain API endpoint, running a specific job, or doing something particular when it happened? Understanding this will really help us get to the bottom of things and find the best solution for you.