收藏
回答

云开发调用collection偶发ETIMEDOUT问题,如何解决?

具体错误如下,是否要加重试机制呢?

Error: cloud.callFunction:fail Error: errCode: -504002 functions execute fail | errMsg: Error: errCode: -501001 resource system error | errMsg: collection.add:fail ETIMEDOUT; at collection.add api; 
    at returnAsCloudSDKError (/var/user/node_modules/wx-server-sdk/index.js:6187:16)
    at Object.returnAsFinalCloudSDKError (/var/user/node_modules/wx-server-sdk/index.js:6201:15)
    at /var/user/node_modules/wx-server-sdk/index.js:1170:32
    at processTicksAndRejections (node:internal/process/task_queues:96:5) (callId: 1692606562018-0.045753136885963386) (trace: 16:29:22 start->16:29:22 system error (Error: errCode: -504002 functions execute fail | errMsg: Error: errCode: -501001 resource system error | errMsg: collection.add:fail ETIMEDOUT; at collection.add api; 
    at returnAsCloudSDKError (/var/user/node_modules/wx-server-sdk/index.js:6187:16)
    at Object.returnAsFinalCloudSDKError (/var/user/node_modules/wx-server-sdk/index.js:6201:15)
    at /var/user/node_modules/wx-server-sdk/index.js:1170:32
    at processTicksAndRejections (node:internal/process/task_queues:96:5)), abort)
回答关注问题邀请回答
收藏

2 个回答

  • 雨田
    雨田
    04-09

    一样的问题,大佬有解吗

    04-09
    有用
    回复
  • 277
    277
    03-21

    你好,请问最终解决了吗,我也遇到了类似问题

    03-21
    有用
    回复
登录 后发表内容