SSEChannel访问云函数流式响应,频繁的报超时,好像是个推的问题。不能超过5秒,有没有人遇到并解决的?
result.js? [sm]:104 Error in client code: Error: [qwen-ai-max]: ResponseTimeoutError: Response timeout for 5000ms, POST https://restapi.getui.com/v2/korfB5XFKg8hetY2XC2Oi1/push/single/cid -1 (connected: true, keepalive socket: true, agent status: {"createSocketCount":3,"createSocketErrorCount":0,"closeSocketCount":1,"errorSocketCount":0,"timeoutSocketCount":1,"requestCount":18,"freeSockets":{},"sockets":{"restapi.getui.com:443:::::::::::::::::::::":1},"requests":{}}, socketHandledRequests: 17, socketHandledResponses: 16)

s***@oceanthrong.com
- 发布:2025-03-30 11:32
- 更新:2025-03-31 11:21
- 阅读:106
1 个回复
DCloud_uniCloud_VK
可以看下这个文档,云函数超时时间设置 https://doc.dcloud.net.cn/uniCloud/cf-functions.html#packagejson