ZCode 报错信息 报错摘要 Captcha instance timed out after 10000ms. TraceID: e4bf003a-d06e...
错误信息
ZCode 报错信息
报错摘要
Captcha instance timed out after 10000ms.
TraceID: e4bf003a-d06e-4d4a-901d-ae549d2507c3
报错详情
Turn execution failed
provider=account:zai-start-plan model=GLM-5.3-Flash request=bf77a0eb-72ac-4af5-b8f5-3558e8f6dc44 reason=unknown retryable=false
AI 解决方案
原文:Captcha instance timed out after 10000ms.
译文:验证码实例在 10000 毫秒后超时。
🎯 原因分析
account:zai-start-plan 提供的 GLM-5.3-Flash 模型时,验证码验证环节在 10 秒内未完成,触发超时中断。retryable=false 表明该异常不可重试,通常由验证码服务端异常或网络阻塞导致。💡 解决方案
# 建议在客户端提高超时阈值,并增加对验证码异常的捕获
import requests
try:
response = requests.post(
"https://api.example.com/verify",
timeout=30.0, # 将超时从 10s 升至 30s
headers={"Authorization": "Bearer <token>"}
)
response.raise_for_status()
except requests.exceptions.Timeout:
print("验证码验证超时,请稍后重试")
except requests.exceptions.RequestException as e:
print(f"请求异常: {e}")
也可联系平台方,确认
zai-start-plan 的验证码服务状态。