云函数,请求耗时超过60秒,会自动断开,日志报错:Request was canceled by client or apigw timed out earlier than function#813
xds-7giqqf9ted88daa5
AI智能体搭建的云函数,请求耗时超过60秒,会自动断开,日志报错:Request was canceled by client or apigw timed out earlier than function。 设置执行超时为900秒也无效
你好,该 60s 限制为访问时 CDN 回源超时,暂无法修改,请先作如下调整: 通过 HTTP 访问云函数时,将域名由 xds-7giqqf9ted88daa5-1401782493.ap-shanghai.app.tcloudbase.com 替换为 xds-7giqqf9ted88daa5-1401782493.ap-shanghai.service.tcloudbase.com 试下是否正常。
生产环境建议绑定自定义域名、并指定「不使用 CDN」。
小T
云开发环境ID
xds-7giqqf9ted88daa5
问题描述
AI智能体搭建的云函数,请求耗时超过60秒,会自动断开,日志报错:Request was canceled by client or apigw timed out earlier than function。
设置执行超时为900秒也无效