微信云托管官网
环境ID : prod-6g6lqwb8ff9b9978 错误日志 [2024-01-30 09:15:57] File "/app/venv/lib/python3.9/site-packages/pymysql/connections.py", line 358, in __init__ [2024-01-30 09:15:57] self.connect() [2024-01-30 09:15:57] File "/app/venv/lib/python3.9/site-packages/pymysql/connections.py", line 711, in connect [2024-01-30 09:15:57] raise exc [2024-01-30 09:15:57] pymysql.err.OperationalError: (2003, "Can't connect to MySQL server on '10.25.111.252' (timed out)") [2024-01-30 09:15:57] The command '/bin/sh -c bash /app/init.sh' returned a non-zero code: 1 麻烦帮忙排查一下
plugin.openComment success {errCode: 0, errMsg: ""}
在按照dockerfile配置的过程中,dockerfile的步骤都很顺利完成了,但是在推送docker镜像到tcr的时候,一直在push阶段等待,最后一个layer不能推送,最终导致构建超时,系统触发终止事件,导致构建失败。 模板使用的是官方的flask模板,基于模板开发,在推送时触发构建。以下是构建时进入push阶段的日志。部分日志内容去除。 [2024-01-29 19:01:54] Successfully built 7... [2024-01-29 19:01:54] Successfully tagged ccr.ccs.tencentyun.com/tcb-******-repl/...:flask-...-20240129185753 [2024-01-29 19:01:54] [Pipeline] } [2024-01-29 19:01:54] [Pipeline] // stage [2024-01-29 19:01:54] [Pipeline] stage [2024-01-29 19:01:54] [Pipeline] { (推送 Docker 镜像到 TCR) [2024-01-29 19:01:54] [Pipeline] sh [2024-01-29 19:01:54] + docker push ccr.ccs.tencentyun.com/tcb-******-repl/...:flask-...-20240129185753 [2024-01-29 19:01:54] The push refers to repository [ccr.ccs.tencentyun.com/tcb-******-repl/...] [2024-01-29 19:01:54] bc...: Preparing [2024-01-29 19:01:54] be...: Preparing [2024-01-29 19:01:54] e7...: Preparing [2024-01-29 19:01:54] 30...: Preparing [2024-01-29 19:01:54] ac...: Preparing [2024-01-29 19:01:54] bd...: Preparing [2024-01-29 19:01:54] 83...: Preparing [2024-01-29 19:01:54] 3b...: Preparing [2024-01-29 19:01:54] dc...: Preparing [2024-01-29 19:01:54] 3b...: Layer already exists [2024-01-29 19:01:54] 83...: Layer already exists [2024-01-29 19:01:54] ac...: Layer already exists [2024-01-29 19:01:55] be...: Pushed [2024-01-29 19:01:55] e7...: Pushed [2024-01-29 19:01:56] 30...: Pushed [2024-01-29 19:02:11] dc...: Pushed [2024-01-29 19:03:47] bc...: Pushed [2024-01-29 19:07:56] Sending interrupt signal to process [2024-01-29 19:07:56] Aborted by coding
使用api.weixin.qq.com/cgi-bin/token获取access_token的时候,报错urllib3 .exceptions.SSLError: [SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signedcertificatessl.c:1131,在本地请求不会报错,在云托管部署后请求就会SSL证书出错,是为什么呢?
如图,有的小程序没问题有的小程序(wx6f576bd6566233c9)有问题[图片]
https://developers.weixin.qq.com/miniprogram/dev/wxcloudrun/src/guide/service/faq.html error: command 'gcc' failed: No such file
部署流水线已经选了“无dockerfile”选项,部署失败,日志显示跑docker build 失败,搞不懂。[图片] 以下是部署日志: 部署开始于 2024-01-26 16:14:55 AppID: wxee23718be609d61a 环境名称:prod-4goh0ug6a9dffaa6 [1/2] 执行流水线 进行中 预计需要 2 分钟... - [2024-01-26 16:15:02] Started by user coding [2024-01-26 16:15:02] Running in Durability level: MAX_SURVIVABILITY [2024-01-26 16:15:06] [Pipeline] Start of Pipeline [2024-01-26 16:15:11] [Pipeline] node [2024-01-26 16:15:11] Running on Jenkins in /root/workspace [2024-01-26 16:15:11] [Pipeline] { [2024-01-26 16:15:11] [Pipeline] stage [2024-01-26 16:15:11] [Pipeline] { (检出 ZIP 包) [2024-01-26 16:15:12] Stage "检出 ZIP 包" skipped due to when conditional [2024-01-26 16:15:12] [Pipeline] } [2024-01-26 16:15:12] [Pipeline] // stage [2024-01-26 16:15:12] [Pipeline] stage [2024-01-26 16:15:12] [Pipeline] { (检出代码仓库) [2024-01-26 16:15:12] [Pipeline] sh [2024-01-26 16:15:12] + git clone ****** . [2024-01-26 16:15:12] Cloning into '.'... [2024-01-26 16:15:14] [Pipeline] sh [2024-01-26 16:15:14] + git checkout main [2024-01-26 16:15:14] Already on 'main' [2024-01-26 16:15:14] Your branch is up-to-date with 'origin/main'. [2024-01-26 16:15:14] [Pipeline] } [2024-01-26 16:15:14] [Pipeline] // stage [2024-01-26 16:15:14] [Pipeline] stage [2024-01-26 16:15:14] [Pipeline] { (构建 Docker 镜像) [2024-01-26 16:15:14] [Pipeline] sh [2024-01-26 16:15:14] + docker login -u ****** -p ****** ccr.ccs.tencentyun.com/tcb-******-hkhj/ca-dtczhjvv_backend-web1:backend-web1-002-20240126161500 [2024-01-26 16:15:14] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-01-26 16:15:14] WARNING! Your password will be stored unencrypted in /root/.docker/config.json. [2024-01-26 16:15:14] Configure a credential helper to remove this warning. See [2024-01-26 16:15:14] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2024-01-26 16:15:14] [2024-01-26 16:15:14] Login Succeeded [2024-01-26 16:15:14] [Pipeline] sh [2024-01-26 16:15:15] + docker build -f ././/Dockerfile -t ccr.ccs.tencentyun.com/tcb-******-hkhj/ca-dtczhjvv_backend-web1:backend-web1-002-20240126161500 ./ [2024-01-26 16:15:15] DEPRECATED: The legacy builder is deprecated and will be removed in a future release. [2024-01-26 16:15:15] Install the buildx component to build images with BuildKit: [2024-01-26 16:15:15] https://docs.docker.com/go/buildx/ [2024-01-26 16:15:15] [2024-01-26 16:15:15] unable to prepare context: unable to evaluate symlinks in Dockerfile path: lstat /root/workspace/Dockerfile: no such file or directory [2024-01-26 16:15:15] [Pipeline] } [2024-01-26 16:15:15] [Pipeline] // stage [2024-01-26 16:15:15] [Pipeline] stage [2024-01-26 16:15:15] [Pipeline] { (推送 Docker 镜像到 TCR) [2024-01-26 16:15:15] Stage "推送 Docker 镜像到 TCR" skipped due to earlier failure(s) [2024-01-26 16:15:15] [Pipeline] } [2024-01-26 16:15:15] [Pipeline] // stage [2024-01-26 16:15:15] [Pipeline] } [2024-01-26 16:15:15] [Pipeline] // node [2024-01-26 16:15:15] [Pipeline] End of Pipeline [2024-01-26 16:15:15] ERROR: script returned exit code 1 [2024-01-26 16:15:15] Finished: FAILURE *** -----------构建backend-web1-002----------- 2024-01-26 16:15:02 create_build_image : succ,
需求:小程序推送模板消息给公众号 问题:通过云托管获取公众号的token, 因为之前获取token需要固定ip,我的是小程序共享环境给公众号,然后小程序开通云托管,但是通过webshell获取不到token[图片][图片]
2024-01-25 11:27:19 create_eks_virtual_service : succ, 2024-01-25 11:27:20 check_eks_virtual_service : process, DescribeVersion_user_error_Liveness probe failed: dial tcp 10.13.17.157:8080: connect: connection refused, [service]:[Readiness probe failed: dial tcp 10.13.17.157:8080: connect: connection refused,Liveness probe failed: dial tcp 10.13.17.157:8080: connect: connection refused,] wx1b4c7ec63242ad25 prod-2gbyy3cm7b35aa9a tid=507412 rid=multi_tenant_1rSqNcUlfBI9Ev jntx-server bid=2147572311 jntx-server-021
项目是使用vue打包的,现在打算使用这个一键部署,但是想用反向代理对接口请求进行代理,这要如何做? [图片]
[图片] 用公网地址请求正常返回 [图片] 用小程序公众号访问 返回如上图所示 请问这个是什么原因
[图片]
是需要设置什么,咋样才能调用
现在每次发布新版本都需要填一下服务端口号,如果不是默认的80,每次都需要填写,不太方便。或者已经有方法了还请大佬们指点一下。
公众号获取用户消息 然后主动回复 报错了。以下是我代码和云托管的日志部分[图片][图片]
Error: Base resp abnormal, 268500896
是这三种我就只能选择一种吗,不能三种同时使用? 如果已有正在使用中的开发者服务器,后续在开通微信云托管的,那么之前开发者服务器的会自动停用吗? [图片]
[图片] 。[图片]
也没有提示,授权就这样
{ "body": "XXXXX", "callback_type": 2, "container": { "path": "/wechat/pay/callback", "service": "springboot-jlby" }, "env_id": "prod-9gz1d5lf7a533xxxx", "openid": "oFoyi620zmbwMRNw_Dxxxxxxxxxx", "out_trade_no": "yn2024011715500417698337043485", "spbill_create_ip": "10.8.18.xxx", "sub_mch_id": "166088xxxx", "time_start": "20240117155041", "total_fee": 0.01 }
检查链接配置中的ip、port、用户名、密码