收藏
回答

miniprogram-ci上传小程序经常失败20003 statusCode: 50,什么原因呢?

通过miniprogram-ci 调用preview upload时,经常上传失败。周五失败频率更高。

上传请求如下:

request url: https://servicewechat.com/wxa/ci/testSourceURL?codeprotect=0&type=miniProgram&appid=wxffb7d80f8c50ac5c&version=0.0.1&desc=%E5%BC%80%E5%8F%91%E7%89%88-%E5%BC%80%E5%8F%91%E7%89%88&robot=2&path=pages%2Fhome%2Fhome%3Fa%3D1&debugLaunchInfo=%7B%22scene%22%3A1011%2C%22path%22%3A%22pages%2Fhome%2Fhome%22%2C%22query%22%3A%7B%22a%22%3A%221%22%7D%7D

错误日志如下:

Error: {"errCode":-1,"errMsg":"inner test source fail statusCode: 503"}

at innerUpload (/usr/lib/node_modules/@jd/minici/node_modules/miniprogram-ci/dist/ci/upload.js:1:3517) at processTicksAndRejections (internal/process/task_queues.js:93:5) at async preview (/usr/lib/node_modules/@jd/minici/node_modules/miniprogram-ci/dist/ci/preview.js:1:977) at async Object.preview (/usr/lib/node_modules/@jd/minici/node_modules/miniprogram-ci/dist/utils/report.js:1:1403)

回答关注问题邀请回答
收藏

1 个回答

  • 工号 9527
    工号 9527
    2022-01-07

    你的包很大么?

    试下 useCOS 异步上传

    2022-01-07
    有用
    回复 2
    • Raul
      Raul
      2022-02-16
      我的包有13M左右,加了useCOS也是报错,生成开发版异常 CodeError: Error: request failed, errCode: -1, errMsg: inner get result of the cos-upload fail with errcode: -80418, 
      应该同时上传有关系,使用miniprogram-ci 同时上传3个不同的机器人,大概率报错。
      2022-02-16
      回复
    • xbao
      xbao
      2022-11-02
      一样遇到2个及以上机器人同时上传时报错,希望官方能够解答一下,非常感谢
      2022-11-02
      回复
登录 后发表内容