- 为何基于dockerfile创建新服务时失败?
部署方式为从github拉取dockerfile,之前执行过成功部署 最近需要刷新服务时始终提示部署失败 后尝试部署全新服务,在部署过程中控制台提示 2023-03-01 14:40:57 create_version_describe_cluster : succ, CheckCloudBaseRunDBCluster Cluster is nil 2023-03-01 14:40:57 create_version_check_vpc : succ, 2023-03-01 14:40:59 create_version_create_eks : process, CreateCloudBaseRunEksCluster err:<nil>, cRsp:&CloudApp.CommonRsp{ErrorCode:100001, ErrorMsg:"CreateClusterApi error CreateCloudBaseRunVpcDownEKSCluster CreateEKSCluster failed, err=call tke CreateVirtualCluster failed, err=[InternalError.Param][err=cloudrun eks common error(PARAM_ERROR(do result check failed: non network_shift_up users are not allowed to create clusters)), reqId=69b2acd6-27d0-410b-b5d0-a44f047e5d1a]", RequestId:"64b84b67-515d-475a-8c43-f7ed4d1528d3"} 随后报告部署失败 环境id:prod-7gt4m72d9c02e820
2023-03-01 - 内容接入API能否通过云函数调用
https://developers.weixin.qq.com/miniprogram/introduction/widget/we-search/WXAPAGES.html 该方法能否在云函数中调用? wxaapi_submitpages wx-server-sdk中是否包含该方法入口? 更新 尝试用cloud.openapi.search.submitPages调用 在本地环境和测试(云)环境下均成功,但是在正式(云)环境下失败 异常信息: { "errCode": -501001, "errMsg": "search.submitPages:fail unknown response [object Object]" } REPORT RequestId:f6606925-ca25-4efb-b83a-b68c2b3de0cc Duration:124ms Memory:256MB MemUsage:27.102219MB END ERROR RequestId:f6606925-ca25-4efb-b83a-b68c2b3de0cc Result:{"errCode":1,"errMsg":"user code exception caught","stackTrace":"Error: errCode: -501001 resource system error | errMsg: search.submitPages:fail unknown response [object Object]\n at callGeneralOpenAPI (/var/user/node_modules/wx-server-sdk/index.js:444:15)\n at process._tickCallback (internal/process/next_tick.js:68:7)"}
2022-07-04 - 公众号测试沙箱的appsecret提示invalid appsecret?
公众号的沙箱测试环境 appid: wxc0388d514cca5e40 secret: 22700481d89771f2c18c1acc9b2c**** 调用api提示获取access_token失败 { "errcode": 40125, "errmsg": "invalid appsecret" } 烦请重置
2021-10-22 - 通过存储api上传的文件,无法通过api获取下载连接
https://developers.weixin.qq.com/miniprogram/dev/wxcloud/reference-http-api/storage/batchDownloadFile.html 通过开发ide上传的文件,可以通过该api获取到下载连接 但是通过rest api上传的文件,从此api始终返回STORAGE_FILE_NONEXIST (通过api上传的文件在IDE中可以正常查看,下载) 例: 文件一 cloud://jiang-demo-0621-6gjcz6wqfa496387.6a69-jiang-demo-0621-6gjcz6wqfa496387-1306302646/demo/image/781/QQ图片20210525105008.png 文件二 cloud://jiang-demo-0621-6gjcz6wqfa496387.6a69-jiang-demo-0621-6gjcz6wqfa496387-1306302646/demo/image/01/test.jpg 前者通过IDE环境上传,后者通过http api上传 两者均可在IDE下正常查看、下载 但只有前者能通过batchdownloadfile api获取下载连接 后者调用api查询下载连接始终返回异常 { "errcode": 0, "errmsg": "ok", "file_list": [ { "fileid": "cloud://jiang-demo-0621-6gjcz6wqfa496387.6a69-jiang-demo-0621-6gjcz6wqfa496387-1306302646/demo/image/01/test.jpg", "download_url": "", "status": 1, "errmsg": "STORAGE_FILE_NONEXIST" } ] } 所有操作均系在IDE、http 客户端完成 补充: 通过腾讯云cli工具操作对应云存储空间时复现了问题: 通过uploadfile api上传的文件 使用tcb storage url <cloud file> 命令无法获取下载链接 显示为undefined list,detail等操作正常 其他文件(通过ide ui上传或者通过tcb上传)均正常
2021-06-24