微信云托管官网
部署web应用超时时间如何修改?云托管最长超时时间不能满足业务需求
部署的时候报错:[2024-08-19 21:42:20] [Pipeline] } [2024-08-19 21:42:20] [Pipeline] // stage [2024-08-19 21:42:20] [Pipeline] } [2024-08-19 21:42:20] [Pipeline] // node [2024-08-19 21:42:20] [Pipeline] End of Pipeline [2024-08-19 21:42:20] Finished: SUCCESS *** -----------构建blood-sugar-dev-001----------- 2024-08-19 21:40:24 create_build_image : succ, 2024-08-19 21:42:26 check_build_image : succ, , -----------服务blood-sugar-dev部署blood-sugar-dev-001----------- 2024-08-19 21:42:27 create_eks_virtual_service : succ, 2024-08-19 21:42:27 check_eks_virtual_service : process, DescribeVersion_user_error_Exec lifecycle hook ([/bin/sh /app/cert/initenv.sh]) for Container "blood-sugar-dev-001" in Pod "blood-sugar-dev-001-7cc77f6d48-bcqhl_sjhkfurb(8b1e578d-22d0-4950-9294-6b8b06a084ab)" failed - error: rpc error: code = Unknown desc = failed to exec in container: failed to create exec "471ee5a50f14bee62311714cfda81925bfdacd9d1ba54c406345ca53fcbe6a15": cannot exec in a stopped state: unknown, message: "", 然后在日志里看到:(dockerfile是照着模板写的,除了javaversion不太一样其他基本一致 [图片]
[图片]
小程序代码如下,现在的问题是,不管上传几张图片,页面显示的每一张都是第一张的图片。下面的代码有问题吗? wx.cloud.uploadFile({ const name = utils.getUUID(); cloudPath: 'up/' + name + '.png', filePath: e.urls[e.param], config: { env: 'xxxx' }, success: res => { this.formData.pic.push(res.fileID); }, fail: err => { console.error('上传失败:', err); } });
[图片]
我们有一个项目不能停机,但是尝试了发布,感觉发布时间很长。这段时间后端不可用。
对象存储的文件列表能加个排序功能吗?现在文件夹多了,每次新建文件时都自动排在最下边,还得手动滚动到页面底部才能找到新创建的文件夹
今天主账号收到了《腾讯云小程序平台中国站下线》通知(图一),请问对云托管有影响吗,因为数据库、服务全部都是在云托管里面进行管理的,cloud.weixin.qq.com;如果有影响也好提前采取措施;另外附上主账号 腾讯云小程序 控制台截图(图二) [图片] (图一) [图片] 图(二)
小程序使用云托管后,别人还能抓包吗?
[图片] 我是springboot项目 用外网地址能访问 这里的服务名是什么啊
[service]:[Back-off restarting failed container,Readiness probe failed: dial tcp 10.17.21.237:80: connect: connection refused,Liveness probe failed: dial tcp 10.17.21.237:80: connect: connection refused,]
想開通云托管 為什麼開不到 Error: Base resp abnormal, {"ret":-601051,"erError: Base resp abnormal, {"ret":-601051,"errmsg":"海外主体无法开通云开发/云托管","wx_req_id":"YkdDLv0sf-LjfzUa-1723038649"}Error: Base resp abnormal, {"ret":-601051,"errmsg":"海外主体无法开通云开发/云托管","wx_req_id":"YkdDLv0sf-LjfzUa-1723038649"}rmsg":"海外主体无法开通云开发/云托管","wx_req_id":"YkdDLv0sf-LjfzUa-1723038649"}
docker build -f ./xxx/Dockerfile -t ccr.ccs.tencentyun.com/tcb-******-nfcn/ca-jkddnhgi_t1:t1-004-20240807194743 xxx 构建时没有增加环境变量,dockfile不能获取配置的环境变量,要怎么弄? 看了之前的相关回答,没搞明白,请说的详细点
当运营的小程序较多,同时不是服务商的情况。需要来回扫码切换不同的小程序进行提交审核的操作,希望CLI能支持提交审核的操作。目前上传这些功能都是通过CI/CD触发,期待提交审核也能实现,现在提交太麻烦了。
微信云托管的对象存储如何使用腾讯云的cosbrowser客户端进行管理?
我部署了个模板的flask环境,然后我想安装一个flask- admin,但是修改run。py的时候总是报错,/app # command terminated with exit code 137,然后写好的文件就被删除了。
部署ThinkPHP (Nginx) 是时候他给我这个提示Error: Base resp abnormal, {"ret":-601009,"errmsg":"该小程序没有绑定手机号,请联系小程序管理员前往MP绑定手机号","wx_req_id":"2aADjqZsf-Zog_RA-1722534907"} 请问这个怎么解决 有绑定手机号[图片]
[图片] 都是这种错误,使用的是lombok注解定义在类上
下面是控制台的输出,请帮忙看看,是什么原因: [2024-07-30 09:36:21] Started by user coding [2024-07-30 09:36:21] Running in Durability level: MAX_SURVIVABILITY [2024-07-30 09:36:22] [Pipeline] Start of Pipeline [2024-07-30 09:36:22] [Pipeline] node [2024-07-30 09:36:22] Running on Jenkins in /root/workspace [2024-07-30 09:36:22] [Pipeline] { [2024-07-30 09:36:22] [Pipeline] stage [2024-07-30 09:36:22] [Pipeline] { (检出 ZIP 包) [2024-07-30 09:36:22] Stage "检出 ZIP 包" skipped due to when conditional [2024-07-30 09:36:22] [Pipeline] } [2024-07-30 09:36:22] [Pipeline] // stage [2024-07-30 09:36:23] [Pipeline] stage [2024-07-30 09:36:23] [Pipeline] { (检出代码仓库) [2024-07-30 09:36:23] [Pipeline] sh [2024-07-30 09:36:23] + git clone ****** . [2024-07-30 09:36:23] Cloning into '.'... [2024-07-30 09:36:25] [Pipeline] sh [2024-07-30 09:36:25] + git checkout master [2024-07-30 09:36:25] Already on 'master' [2024-07-30 09:36:25] Your branch is up-to-date with 'origin/master'. [2024-07-30 09:36:25] [Pipeline] } [2024-07-30 09:36:25] [Pipeline] // stage [2024-07-30 09:36:25] [Pipeline] stage [2024-07-30 09:36:25] [Pipeline] { (构建 Docker 镜像) [2024-07-30 09:36:25] [Pipeline] sh [2024-07-30 09:36:25] + docker login -u ****** -p ****** ccr.ccs.tencentyun.com/tcb-******-tpkg/ca-pbnuehaw_express-9bgg:express-9bgg-027-20240730093618 [2024-07-30 09:36:25] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-07-30 09:36:25] WARNING! Your password will be stored unencrypted in /root/.docker/config.json. [2024-07-30 09:36:25] Configure a credential helper to remove this warning. See [2024-07-30 09:36:25] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2024-07-30 09:36:25] [2024-07-30 09:36:25] Login Succeeded [2024-07-30 09:36:25] [Pipeline] sh [2024-07-30 09:36:26] + docker build -f ././/Dockerfile -t ccr.ccs.tencentyun.com/tcb-******-tpkg/ca-pbnuehaw_express-9bgg:express-9bgg-027-20240730093618 ./ [2024-07-30 09:36:26] DEPRECATED: The legacy builder is deprecated and will be removed in a future release. [2024-07-30 09:36:26] Install the buildx component to build images with BuildKit: [2024-07-30 09:36:26] https://docs.docker.com/go/buildx/ [2024-07-30 09:36:26] [2024-07-30 09:36:26] Sending build context to Docker daemon 16.68MB [2024-07-30 09:36:26] Step 1/7 : FROM node:20.16.0 [2024-07-30 09:36:27] 20.16.0: Pulling from library/node [2024-07-30 09:36:27] ca4e5d672725: Pulling fs layer [2024-07-30 09:36:27] 30b93c12a9c9: Pulling fs layer [2024-07-30 09:36:27] 10d643a5fa82: Pulling fs layer [2024-07-30 09:36:27] d6dc1019d793: Pulling fs layer [2024-07-30 09:36:27] ea8e6f2ca326: Pulling fs layer [2024-07-30 09:36:27] 19951d6e9461: Pulling fs layer [2024-07-30 09:36:27] 247e8d31d16f: Pulling fs layer [2024-07-30 09:36:27] 282ebe8f0e48: Pulling fs layer [2024-07-30 09:36:27] 282ebe8f0e48: Verifying Checksum [2024-07-30 09:36:27] 282ebe8f0e48: Download complete [2024-07-30 09:36:27] ea8e6f2ca326: Download complete [2024-07-30 09:36:27] 247e8d31d16f: Download complete [2024-07-30 09:36:27] 30b93c12a9c9: Verifying Checksum [2024-07-30 09:36:27] 30b93c12a9c9: Download complete [2024-07-30 09:36:28] 19951d6e9461: Verifying Checksum [2024-07-30 09:36:28] 19951d6e9461: Download complete [2024-07-30 09:36:28] ca4e5d672725: Verifying Checksum [2024-07-30 09:36:28] ca4e5d672725: Download complete [2024-07-30 09:36:28] 10d643a5fa82: Verifying Checksum [2024-07-30 09:36:28] 10d643a5fa82: Download complete [2024-07-30 09:36:29] ca4e5d672725: Pull complete [2024-07-30 09:36:29] 30b93c12a9c9: Pull complete [2024-07-30 09:36:31] 10d643a5fa82: Pull complete [2024-07-30 09:36:43] d6dc1019d793: Verifying Checksum [2024-07-30 09:36:43] d6dc1019d793: Download complete [2024-07-30 09:36:47] d6dc1019d793: Pull complete [2024-07-30 09:36:47] ea8e6f2ca326: Pull complete [2024-07-30 09:36:48] 19951d6e9461: Pull complete [2024-07-30 09:36:48] 247e8d31d16f: Pull complete [2024-07-30 09:36:48] 282ebe8f0e48: Pull complete [2024-07-30 09:36:48] Digest: sha256:1ae9ba874435551280e95c8a8e74adf8a48d72b564bf9dfe4718231f2144c88f [2024-07-30 09:36:48] Status: Downloaded newer image for node:20.16.0 [2024-07-30 09:36:48] ---> 1a8e51cfa7a5 [2024-07-30 09:36:48] Step 2/7 : WORKDIR /usr/src/app [2024-07-30 09:36:48] ---> Running in c2afaa1b6a45 [2024-07-30 09:36:48] Removing intermediate container c2afaa1b6a45 [2024-07-30 09:36:48] ---> 9f4a601b61a6 [2024-07-30 09:36:48] Step 3/7 : COPY package*.json ./ [2024-07-30 09:36:48] ---> a7777461df94 [2024-07-30 09:36:48] Step 4/7 : RUN npm config set registry https://mirrors.tencent.com/npm/ [2024-07-30 09:36:48] ---> Running in 997ca628dc85 [2024-07-30 09:36:49] Removing intermediate container 997ca628dc85 [2024-07-30 09:36:49] ---> 57b46a5b40e1 [2024-07-30 09:36:49] Step 5/7 : RUN npm install [2024-07-30 09:36:49] ---> Running in 35f2c2597552 [2024-07-30 09:46:22] Sending interrupt signal to process [2024-07-30 09:46:22] Aborted by coding [2024-07-30 09:46:23] Sending interrupt signal to process [2024-07-30 09:46:23] Aborted by coding [2024-07-30 09:46:24] Sending interrupt signal to process [2024-07-30 09:46:24] Aborted by coding [2024-07-30 09:46:25] Sending interrupt signal to process [2024-07-30 09:46:25] Aborted by coding [2024-07-30 09:46:26] Terminated [2024-07-30 09:46:26] script returned exit code 143 [2024-07-30 09:46:26] [Pipeline] } [2024-07-30 09:46:26] [Pipeline] // stage [2024-07-30 09:46:26] [Pipeline] stage [2024-07-30 09:46:26] [Pipeline] { (推送 Docker 镜像到 TCR) [2024-07-30 09:46:26] Stage "推送 Docker 镜像到 TCR" skipped due to earlier failure(s) [2024-07-30 09:46:26] [Pipeline] } [2024-07-30 09:46:26] [Pipeline] // stage [2024-07-30 09:46:26] [Pipeline] } [2024-07-30 09:46:26] [Pipeline] // node [2024-07-30 09:46:26] [Pipeline] End of Pipeline [2024-07-30 09:46:26] Finished: ABORTED *** -----------构建express-9bgg-027----------- 2024-07-30 09:36:20 create_build_image : succ,
在容器中调用封装好的SDK包,出现域名访问不了的问题,要怎么替换? cn.binarywang.wx.miniapp.api.WxMaService; /** * 获取access_token. */ String GET_ACCESS_TOKEN_URL = "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=%s&secret=%s"; /** * The constant JSCODE_TO_SESSION_URL. */ String JSCODE_TO_SESSION_URL = "https://api.weixin.qq.com/sns/jscode2session"; /** * getPaidUnionId */ String GET_PAID_UNION_ID_URL = "https://api.weixin.qq.com/wxa/getpaidunionid"; /** * 导入抽样数据 */ String SET_DYNAMIC_DATA_URL = "https://api.weixin.qq.com/wxa/setdynamicdata"; 出现Caused by: java.net.UnknownHostException: api.weixin.qq.com: Name or service not known报错信息,在不改动容器网络配置的情况下怎么成功访问调用相关接口?
一样