7***@qq.com
7***@qq.com
  • 发布:2025-05-15 11:45
  • 更新:2025-05-15 11:51
  • 阅读:48

发送短信,超时报错

分类:uni-app

生产环境,发送短信,偶尔超时

[router/ac1cc31a1747277417885197487/307419ms/ERROR] Error: Connect timeout for 300000ms, POST https://api-inner.next.bspapp.com/server -2 (connected: false, keepalive socket: false, socketHandledRequests: 1, socketHandledResponses: 0)
headers: {}
at /tmp/function/@dcloudio/serverless/lib/aliyun/uni-cloud.js:1:1580
[router/ac1cc31a1747277417885197487/307419ms/ERROR] {"errorMessage":"FunctionUnhandledError: uncaughtException","errorType":"FunctionHandledError"}
请求响应状态: fail
[router/ac1cc31a1747277417885197487/307440ms/ERROR] ConnectionTimeoutError: Connect timeout for 60000ms, POST service[ucoasmsbk]/http/unisms/api/batchSendSms -2 (connected: false, keepalive socket: false, agent status: {"createSocketCount":1,"createSocketErrorCount":0,"closeSocketCount":1,"errorSocketCount":0,"timeoutSocketCount":0,"requestCount":0,"freeSockets":{},"sockets":{},"requests":{}}, socketHandledRequests: 1, socketHandledResponses: 0)
headers: {}
at (/code/index.js:33:49878)
at listOnTimeout (node:internal/timers:559:17)
at processTimers (node:internal/timers:502:7)

2025-05-15 11:45 负责人:无 分享
已邀请:
DCloud_云服务_LQ

DCloud_云服务_LQ

unisms/api/batchSendSms 批量发送一次多少条? 可以调整下数量 再试试

  • 7***@qq.com (作者)

    目前没有超过 1 条

    2025-05-15 14:17

要回复问题请先登录注册