uni-app uniCloud 腾讯云本地云函数存在bug
uni-app uniCloud 腾讯云本地云函数存在bug
一段时间不调用后台接口后再次调用,会出现以下异常信息:
{
"code": "SIGN_PARAM_INVALID",
"message": "errCode: SIGN_PARAM_INVALID | errMsg: tmp secret key expire",
"stack": "Error: errCode: SIGN_PARAM_INVALID | errMsg: tmp secret key expire
at e.then.catch.e (D:\code\HBuilderX.3.1.2.20210206.full\HBuilderX\plugins\unicloud\tcb\@dcloudio\serverless\lib\tcb\uni-cloud.js:1:996)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7)"
}
每次都要重新运行才可以
更多关于uni-app uniCloud 腾讯云本地云函数存在bug的实战教程也可以访问 https://www.itying.com/category-93-b0.html
5 回复
云函数本地运行爬虫,执行一会儿也会报这个错误
Error: errCode: SIGN_PARAM_INVALID | errMsg: tmp secret key expire 00:13:32.867 [本地运行] at D:\HBuilderX\plugins\unicloud\tcb@dcloudio\serverless\lib\tcb\uni-cloud.js:1:1417 00:13:32.876 [本地运行] at processTicksAndRejections (internal/process/task_queues.js:97:5) uniCloud-tcb/cloudfunctions/api/controller/timer.js:74:12
版本号:3.2.9.20210927
回复 佬马识途: 暂不支持本地长时间运行一个云函数,可以通过前端代码重复调用本地云函数