微信云托管官网
同等规模的应用,包括app/小程序共用一套后端服务,是用云托管搭建,还是自行去腾讯云上购买更划算?
部署开始于 2024-06-28 15:50:16 AppID: wxc46331858565a277 环境名称:prod-9g7nsxtpd55ed7d6 [1/2] 创建版本 失败 228s 创建版本失败:任务失败 [2024-06-28 15:50:24] Started by user coding [2024-06-28 15:50:24] Running in Durability level: MAX_SURVIVABILITY [2024-06-28 15:50:26] [Pipeline] Start of Pipeline [2024-06-28 15:50:26] [Pipeline] node [2024-06-28 15:50:26] Running on Jenkins in /root/workspace [2024-06-28 15:50:26] [Pipeline] { [2024-06-28 15:50:26] [Pipeline] stage [2024-06-28 15:50:26] [Pipeline] { (检出 ZIP 包) [2024-06-28 15:50:26] [Pipeline] sh [2024-06-28 15:50:26] + curl -L -u ****** -o code.zip [2024-06-28 15:50:26] % Total % Received % Xferd Average Speed Time Time Time Current [2024-06-28 15:50:26] Dload Upload Total Spent Left Speed [2024-06-28 15:50:27] 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 9790 100 9790 0 0 37780 0 --:--:-- --:--:-- --:--:-- 37653 [2024-06-28 15:50:27] [Pipeline] sh [2024-06-28 15:50:27] + unzip code.zip [2024-06-28 15:50:27] Archive: code.zip [2024-06-28 15:50:27] inflating: Dockerfile [2024-06-28 15:50:27] inflating: requirements.txt [2024-06-28 15:50:27] creating: app/ [2024-06-28 15:50:27] inflating: app/config.py [2024-06-28 15:50:27] inflating: app/fpxz.py [2024-06-28 15:50:27] [Pipeline] } [2024-06-28 15:50:27] [Pipeline] // stage [2024-06-28 15:50:27] [Pipeline] stage [2024-06-28 15:50:27] [Pipeline] { (检出代码仓库) [2024-06-28 15:50:27] Stage "检出代码仓库" skipped due to when conditional [2024-06-28 15:50:27] [Pipeline] } [2024-06-28 15:50:27] [Pipeline] // stage [2024-06-28 15:50:27] [Pipeline] stage [2024-06-28 15:50:27] [Pipeline] { (构建 Docker 镜像) [2024-06-28 15:50:27] [Pipeline] sh [2024-06-28 15:50:28] + docker login -u ****** -p ****** ccr.ccs.tencentyun.com/tcb-******-hljm/ca-bugxylvt_fpxz:fpxz-006-20240628155022 [2024-06-28 15:50:28] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-06-28 15:50:28] WARNING! Your password will be stored unencrypted in /root/.docker/config.json. [2024-06-28 15:50:28] Configure a credential helper to remove this warning. See [2024-06-28 15:50:28] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2024-06-28 15:50:28] [2024-06-28 15:50:28] Login Succeeded [2024-06-28 15:50:28] [Pipeline] sh [2024-06-28 15:50:28] + docker build -f ././/Dockerfile -t ccr.ccs.tencentyun.com/tcb-******-hljm/ca-bugxylvt_fpxz:fpxz-006-20240628155022 ./ [2024-06-28 15:50:28] DEPRECATED: The legacy builder is deprecated and will be removed in a future release. [2024-06-28 15:50:28] Install the buildx component to build images with BuildKit: [2024-06-28 15:50:28] https://docs.docker.com/go/buildx/ [2024-06-28 15:50:28] [2024-06-28 15:50:28] Sending build context to Docker daemon 87.55kB [2024-06-28 15:50:28] Step 1/11 : FROM python:3.9-slim [2024-06-28 15:50:29] 3.9-slim: Pulling from library/python [2024-06-28 15:50:29] 2cc3ae149d28: Pulling fs layer [2024-06-28 15:50:29] 670483cd5170: Pulling fs layer [2024-06-28 15:50:29] 8b920a4a2006: Pulling fs layer [2024-06-28 15:50:29] 48e2a65c587f: Pulling fs layer [2024-06-28 15:50:29] d95408d27250: Pulling fs layer [2024-06-28 15:50:29] 48e2a65c587f: Download complete [2024-06-28 15:50:30] d95408d27250: Verifying Checksum [2024-06-28 15:50:30] 670483cd5170: Verifying Checksum [2024-06-28 15:50:30] 670483cd5170: Download complete [2024-06-28 15:50:30] 8b920a4a2006: Verifying Checksum [2024-06-28 15:50:30] 8b920a4a2006: Download complete [2024-06-28 15:50:32] 2cc3ae149d28: Verifying Checksum [2024-06-28 15:50:32] 2cc3ae149d28: Download complete [2024-06-28 15:50:33] 2cc3ae149d28: Pull complete [2024-06-28 15:50:33] 670483cd5170: Pull complete [2024-06-28 15:50:34] 8b920a4a2006: Pull complete [2024-06-28 15:50:34] 48e2a65c587f: Pull complete [2024-06-28 15:50:34] d95408d27250: Pull complete [2024-06-28 15:50:34] Digest: sha256:d3185e5aa645a4ff0b52416af05c8465d93791e49c5a0d0f565c119099f26cde [2024-06-28 15:50:34] Status: Downloaded newer image for python:3.9-slim [2024-06-28 15:50:34] ---> 04bf3d9a322b [2024-06-28 15:50:34] Step 2/11 : RUN python -m venv /env [2024-06-28 15:50:34] ---> Running in 3bd017616df3 [2024-06-28 15:50:41] Removing intermediate container 3bd017616df3 [2024-06-28 15:50:41] ---> a9ce996e123f [2024-06-28 15:50:41] Step 3/11 : ENV PATH="/env/bin:$PATH" [2024-06-28 15:50:41] ---> Running in be4380e940d7 [2024-06-28 15:50:41] Removing intermediate container be4380e940d7 [2024-06-28 15:50:41] ---> 3a41293b7d08 [2024-06-28 15:50:41] Step 4/11 : WORKDIR /app [2024-06-28 15:50:41] ---> Running in 72ccb80052b0 [2024-06-28 15:50:41] Removing intermediate container 72ccb80052b0 [2024-06-28 15:50:41] ---> 0a3b48ca98a4 [2024-06-28 15:50:41] Step 5/11 : COPY . /app [2024-06-28 15:50:41] ---> c65a7a2ec8a7 [2024-06-28 15:50:41] Step 6/11 : RUN pip install --no-cache-dir -r requirements.txt [2024-06-28 15:50:41] ---> Running in 80ce5ba93784 [2024-06-28 15:50:41] Collecting Flask==2.2.2 [2024-06-28 15:50:41] Downloading Flask-2.2.2-py3-none-any.whl (101 kB) [2024-06-28 15:50:41] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 101.5/101.5 kB 1.9 MB/s eta 0:00:00 [2024-06-28 15:50:41] Collecting suds [2024-06-28 15:50:41] Downloading suds-1.1.2-py3-none-any.whl (144 kB) [2024-06-28 15:50:41] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 144.8/144.8 kB 4.7 MB/s eta 0:00:00 [2024-06-28 15:50:41] Collecting pymysql==1.0.2 [2024-06-28 15:50:41] Downloading PyMySQL-1.0.2-py3-none-any.whl (43 kB) [2024-06-28 15:50:41] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 43.8/43.8 kB 164.2 MB/s eta 0:00:00 [2024-06-28 15:50:41] Collecting requests==2.28.1 [2024-06-28 15:50:41] Downloading requests-2.28.1-py3-none-any.whl (62 kB) [2024-06-28 15:50:41] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 62.8/62.8 kB 157.9 MB/s eta 0:00:00 [2024-06-28 15:50:41] Collecting xmltodict==0.12.0 [2024-06-28 15:50:41] Downloading xmltodict-0.12.0-py2.py3-none-any.whl (9.2 kB) [2024-06-28 15:50:41] Collecting click>=8.0 [2024-06-28 15:50:42] Downloading click-8.1.7-py3-none-any.whl (97 kB) [2024-06-28 15:50:42] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 97.9/97.9 kB 23.7 MB/s eta 0:00:00 [2024-06-28 15:50:42] Collecting Jinja2>=3.0 [2024-06-28 15:50:42] Downloading jinja2-3.1.4-py3-none-any.whl (133 kB) [2024-06-28 15:50:42] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 133.3/133.3 kB 27.1 MB/s eta 0:00:00 [2024-06-28 15:50:42] Collecting itsdangerous>=2.0 [2024-06-28 15:50:42] Downloading itsdangerous-2.2.0-py3-none-any.whl (16 kB) [2024-06-28 15:50:42] Collecting importlib-metadata>=3.6.0 [2024-06-28 15:50:42] Downloading importlib_metadata-8.0.0-py3-none-any.whl (24 kB) [2024-06-28 15:50:42] Collecting Werkzeug>=2.2.2 [2024-06-28 15:50:42] Downloading werkzeug-3.0.3-py3-none-any.whl (227 kB) [2024-06-28 15:50:42] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 227.3/227.3 kB 22.8 MB/s eta 0:00:00 [2024-06-28 15:50:42] Collecting charset-normalizer<3,>=2 [2024-06-28 15:50:42] Downloading charset_normalizer-2.1.1-py3-none-any.whl (39 kB) [2024-06-28 15:50:42] Collecting certifi>=2017.4.17 [2024-06-28 15:50:42] Downloading certifi-2024.6.2-py3-none-any.whl (164 kB) [2024-06-28 15:50:42] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 164.4/164.4 kB 102.8 MB/s eta 0:00:00 [2024-06-28 15:50:42] Collecting idna<4,>=2.5 [2024-06-28 15:50:43] Downloading idna-3.7-py3-none-any.whl (66 kB) [2024-06-28 15:50:43] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 66.8/66.8 kB 185.5 MB/s eta 0:00:00 [2024-06-28 15:50:43] Collecting urllib3<1.27,>=1.21.1 [2024-06-28 15:50:43] Downloading urllib3-1.26.19-py2.py3-none-any.whl (143 kB) [2024-06-28 15:50:43] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 143.9/143.9 kB 76.7 MB/s eta 0:00:00 [2024-06-28 15:50:43] Collecting zipp>=0.5 [2024-06-28 15:50:43] Downloading zipp-3.19.2-py3-none-any.whl (9.0 kB) [2024-06-28 15:50:43] Collecting MarkupSafe>=2.0 [2024-06-28 15:50:43] Downloading MarkupSafe-2.1.5-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (25 kB) [2024-06-28 15:50:43] Installing collected packages: zipp, xmltodict, urllib3, suds, pymysql, MarkupSafe, itsdangerous, idna, click, charset-normalizer, certifi, Werkzeug, requests, Jinja2, importlib-metadata, Flask [2024-06-28 15:50:44] Successfully installed Flask-2.2.2 Jinja2-3.1.4 MarkupSafe-2.1.5 Werkzeug-3.0.3 certifi-2024.6.2 charset-normalizer-2.1.1 click-8.1.7 idna-3.7 importlib-metadata-8.0.0 itsdangerous-2.2.0 pymysql-1.0.2 requests-2.28.1 suds-1.1.2 urllib3-1.26.19 xmltodict-0.12.0 zipp-3.19.2 [2024-06-28 15:50:44] [2024-06-28 15:50:44] [notice] A new release of pip is available: 23.0.1 -> 24.1.1 [2024-06-28 15:50:44] [notice] To update, run: pip install --upgrade pip [2024-06-28 15:50:45] Removing intermediate container 80ce5ba93784 [2024-06-28 15:50:45] ---> 059a1bddf3fe [2024-06-28 15:50:45] Step 7/11 : RUN pip install --upgrade pip [2024-06-28 15:50:45] ---> Running in a7b634af2659 [2024-06-28 15:50:46] Requirement already satisfied: pip in /env/lib/python3.9/site-packages (23.0.1) [2024-06-28 15:50:46] Collecting pip [2024-06-28 15:50:46] Downloading pip-24.1.1-py3-none-any.whl (1.8 MB) [2024-06-28 15:50:46] ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 1.8/1.8 MB 9.9 MB/s eta 0:00:00 [2024-06-28 15:50:46] Installing collected packages: pip [2024-06-28 15:50:46] Attempting uninstall: pip [2024-06-28 15:50:46] Found existing installation: pip 23.0.1 [2024-06-28 15:50:47] Uninstalling pip-23.0.1: [2024-06-28 15:50:47] Successfully uninstalled pip-23.0.1 [2024-06-28 15:50:48] Successfully installed pip-24.1.1 [2024-06-28 15:50:49] Removing intermediate container a7b634af2659 [2024-06-28 15:50:49] ---> fa78718e674f [2024-06-28 15:50:49] Step 8/11 : EXPOSE 4600 [2024-06-28 15:50:49] ---> Running in 40cff12d7622 [2024-06-28 15:50:49] Removing intermediate container 40cff12d7622 [2024-06-28 15:50:49] ---> 929306d6b6b4 [2024-06-28 15:50:49] Step 9/11 : ENV FLASK_APP=fpxz.py [2024-06-28 15:50:49] ---> Running in 4f7a66882cba [2024-06-28 15:50:49] Removing intermediate container 4f7a66882cba [2024-06-28 15:50:49] ---> f0b2431a2099 [2024-06-28 15:50:49] Step 10/11 : ENV FLASK_RUN_HOST=0.0.0.0 [2024-06-28 15:50:49] ---> Running in 98635fec459b [2024-06-28 15:50:49] Removing intermediate container 98635fec459b [2024-06-28 15:50:49] ---> 8a36b1f2a5c5 [2024-06-28 15:50:49] Step 11/11 : CMD ["flask", "run"] [2024-06-28 15:50:49] ---> Running in 6088d03ced3a [2024-06-28 15:50:49] Removing intermediate container 6088d03ced3a [2024-06-28 15:50:49] ---> e0c6d59b16d0 [2024-06-28 15:50:49] Successfully built e0c6d59b16d0 [2024-06-28 15:50:49] Successfully tagged ccr.ccs.tencentyun.com/tcb-******-hljm/ca-bugxylvt_fpxz:fpxz-006-20240628155022 [2024-06-28 15:50:49] [Pipeline] } [2024-06-28 15:50:49] [Pipeline] // stage [2024-06-28 15:50:49] [Pipeline] stage [2024-06-28 15:50:49] [Pipeline] { (推送 Docker 镜像到 TCR) [2024-06-28 15:50:49] [Pipeline] sh [2024-06-28 15:50:50] + docker push ccr.ccs.tencentyun.com/tcb-******-hljm/ca-bugxylvt_fpxz:fpxz-006-20240628155022 [2024-06-28 15:50:50] The push refers to repository [ccr.ccs.tencentyun.com/tcb-******-hljm/ca-bugxylvt_fpxz] [2024-06-28 15:50:50] fd55c07cd75c: Preparing [2024-06-28 15:50:50] 1cd0a14c8ec9: Preparing [2024-06-28 15:50:50] e797af9b0537: Preparing [2024-06-28 15:50:50] 6c4efffe00c5: Preparing [2024-06-28 15:50:50] 63aa8a2853d0: Preparing [2024-06-28 15:50:50] 96bc6bc13d2f: Preparing [2024-06-28 15:50:50] 8b2d7b261e2c: Preparing [2024-06-28 15:50:50] 7d4e4b165042: Preparing [2024-06-28 15:50:50] 9a9d1a3508f5: Preparing [2024-06-28 15:50:50] 1387079e86ad: Preparing [2024-06-28 15:50:50] 8b2d7b261e2c: Layer already exists [2024-06-28 15:50:50] 1387079e86ad: Layer already exists [2024-06-28 15:50:50] 7d4e4b165042: Layer already exists [2024-06-28 15:50:50] 96bc6bc13d2f: Layer already exists [2024-06-28 15:50:50] 9a9d1a3508f5: Layer already exists [2024-06-28 15:50:51] e797af9b0537: Pushed [2024-06-28 15:50:51] 6c4efffe00c5: Pushed [2024-06-28 15:50:53] 1cd0a14c8ec9: Pushed [2024-06-28 15:50:55] 63aa8a2853d0: Pushed [2024-06-28 15:50:55] fd55c07cd75c: Pushed [2024-06-28 15:50:56] fpxz-006-20240628155022: digest: sha256:2f682e3a780154004c701f7edbf0f4287c016b87b626a8aa2f9df181273f9382 size: 2418 [2024-06-28 15:50:56] [Pipeline] } [2024-06-28 15:50:56] [Pipeline] // stage [2024-06-28 15:50:56] [Pipeline] } [2024-06-28 15:50:56] [Pipeline] // node [2024-06-28 15:50:56] [Pipeline] End of Pipeline [2024-06-28 15:50:56] Finished: SUCCESS *** -----------构建fpxz-006----------- 2024-06-28 15:50:23 create_build_image : succ, 2024-06-28 15:51:01 create_eks_virtual_service : succ, 2024-06-28 15:51:01 check_build_image : succ, , -----------服务fpxz部署fpxz-006----------- 2024-06-28 15:51:02 check_eks_virtual_service : process, DescribeVersion_user_error_Back-off restarting failed container, [service]:[Failed to pull image "ccr.ccs.tencentyun.com/tcb_prd/coredns:amd64-1.10.1-cloudrun": rpc error: code = Unknown desc = failed to pull and unpack image "ccr.ccs.tencentyun.com/tcb_prd/coredns:amd64-1.10.1-cloudrun": failed to copy: httpReaderSeeker: failed open: failed to do request: Get "http://ccr-avatar-sh-1258344699.cos-internal.ap-shanghai.tencentcos.cn/avatar/data/blob/sha256/d7/d78db2b57cc6b7f8c2dadb1b27d712071d02370ec969748d6f03f10b87efe619?q-sign-algorithm=sha1&q-ak=AKIDysfRH0aYzdEs9GF4f6LOI4g6KK8pRAvb&q-sign-time=1719561095%3B1719562295&q-key-time=1719561095%3B1719562295&q-header-list=host&q-url-param-list=&q-signature=f5ec48c6157489dbaf88453adc5a1271d47b2442": dial tcp: lookup ccr-avatar-sh-1258344699.cos-internal.ap-shanghai.tencentcos.cn: no such host,Error: ErrImagePull,Exec lifecycle hook ([/bin/sh /app/cert/initenv.sh]) for Container "fpxz-006" in Pod "fpxz-006-fcff7c6cc-pnv65_rcwhxhhc(f97b335f-f8d7-4309-94aa-6f96b0488816)" failed - error: command '/bin/sh /app/cert/initenv.sh' exited with 137: + certFile=/app/cert/certificate.crt + certLog=/app/cert.log + srcIp=169.254.10.1 + srcHost=api.weixin.qq.com + checkFileCnt=0 + is_user_root + id -u + [ 0 -eq 0 ] + echo User is root, patching env and certs. + [ ! -f /app/cert/certificate.crt ] + [ ! -f /etc/os-release ] + . /etc/os-release + PRETTY_NAME=Debian GNU/Linux 12 (bookworm) + NAME=Debian GNU/Linux + VERSION_ID=12 + VERSION=12 (bookworm) + VERSION_CODENAME=bookworm + ID=debian + HOME_URL=https://www.debian.org/ + SUPPORT_URL=https://www.debian.org/support + BUG_REPORT_URL=https://bugs.debian.org/ + echo [I]: os release is debian + update-ca-certificates -h + cp /app/cert/certificate.crt /usr/local/share/ca-certificates/ + update-ca-certificates , message: "/usr/sbin/update-ca-certificates: [--verbose] [--fresh]\nUpdating certificates in /etc/ssl/certs...\n+ certFile=/app/cert/certificate.crt\n+ certLog=/app/cert.log\n+ srcIp=169.254.10.1\n+ srcHost=api.weixin.qq.com\n+ checkFileCnt=0\n+ is_user_root\n+ id -u\n+ [ 0 -eq 0 ]\n+ echo User is root, patching env and certs.\n+ [ ! -f /app/cert/certificate.crt ]\n+ [ ! -f /etc/os-release ]\n+ . /etc/os-release\n+ PRETTY_NAME=Debian GNU/Linux 12 (bookworm)\n+ NAME=Debian GNU/Linux\n+ VERSION_ID=12\n+ VERSION=12 (bookworm)\n+ VERSION_CODENAME=bookworm\n+ ID=debian\n+ HOME_URL=https://www.debian.org/\n+ SUPPORT_URL=https://www.debian.org/support\n+ BUG_REPORT_URL=https://bugs.debian.org/\n+ echo [I]: os release is debian\n+ update-ca-certificates -h\n+ cp /app/cert/certificate.crt /usr/local/share/ca-certificates/\n+ update-ca-certificates\n",Error: ImagePullBackOff,Back-off restarting failed container,]
我的主服务是8080,里面还有一个websocket端口8081,但是他只支持暴露 一个端口 我现在是要多部署一个服务吗?
云托管如何使用腾讯云上的对象存储和mysql?需要购买互联资源包吗?
背景:目前我的springboot服务部署在微信云托管中,此时我的小程序直接在微信开发者工具中访问springboot服务的公网地址是可以访问的,但是当上传为体验版就请求失败,这是怎么回事? 问题1、我现在有一个spirngboot程序部署在了微信云托管中,我的微信小程序也要再次部署在微信云托管中,才能使得小程序访问springboot服务的公网/内网地址吗? 问题2、必须使用[代码]wx.cloud.callContainer来替换wx.request才能通吗。[代码] [代码]求大佬赐教![代码] [代码]补充:1、[代码]微信云托管中的内网地址输入到小程序网页后台中的requests合法域名中时,提示要我网址备案,这种部署在云托管中的内网网址也要备案吗?还有如果输入公网地址,就提示不能使用公网地址,仅测试可用。怎么办呀,难道真去备案? 补充:2、如果使用[代码]x.cloud.callContainer[代码],那么我目前开发的微信小程序的前端js代码全部都要有修改,感觉工作量比较大,偏向于不修改代码但使其联通。
[图片] [图片] [图片] 按照文档都配了但是接口还是报48001
[图片] 配置了令牌权限,但是调用接口一直是"api unauthorized rid: 667ac2b8-7311a876-270a9902"
云托管的服务需要支持https吗,小程序中是通过callContainer的方式去调用的
[图片]
https://developers.weixin.qq.com/miniprogram/dev/wxcloudrun/src/guide/debug/https://developers.weixin.qq.com/miniprogram/dev/wxcloudrun/src/guide/debug/ 云托管 根据文档无法找到下载docker desktop的地址,打不开。有没有其他地方可以下载?
[图片]
2024-06-19 21:13:06 create_eks_virtual_service : succ, 2024-06-19 21:13:06 check_eks_virtual_service : process, DescribeVersion_user_error_Liveness probe failed: dial tcp 10.40.6.**:80: connect: connection refused, [service]:[Readiness probe failed: dial tcp 10.40.6.**:80: connect: connection refused,Liveness probe failed: dial tcp 10.40.6.**:80: connect: connection refused,] 提示10.40.6.**(最后一位隐藏了)连接不上,这个IP是谁的IP,难道是我这个微信云托管服务实例的IP?
https://developers.weixin.qq.com/miniprogram/dev/wxcloudrun/src/guide/storage/manage.html 文中提到 “配置项列表底部优先级高于顶部优先级。” 但举例时, “假设域名为 [代码]cloud.weixin.qq.com[代码] ,资源为 [代码]cloud.weixin.qq.com/test/abc.jpg[代码],其匹配方式如下: 匹配第五条,命中,此时缓存时间为200秒。匹配第四条,命中,此时缓存时间为400秒。匹配第三条,命中,此时缓存时间为300秒。匹配第二条,未命中。匹配第一条所有文件,命中,此时缓存时间为2分钟。因此最终缓存时间为2分钟,以最后一次匹配生效。” 又指出以第一条为最终结果,与配置列表底部高优的逻辑恰恰相反,让人费解
我在云托管的API中以Streaming方式获得大语言模型数据,然后以流媒体方式返回前端,想在小程序前端用callContainer方式获取流数据,但是却要等所有流媒体信息全部获得后,才能在前端获得数据,这样导致前端要等待很长时间。 该如何解决呢?
在云托管上部署的JAVA api程序接口,能提供给其他人调用吗?
我在微信开发者工具中新建项目时,申请了一个测试用AppID,然后用相同微信登录微信云托管,部署了一个API服务,在云端调试没有问题,但是小程序端调用时,提示如下错误: {"errCode":-1,"errMsg":"cloud.callContainer:fail Error: errCode: -601034 | errMsg: 没有权限,请先开通云开发或者云托管. For more information, please refer to https://developers.weixin.qq.com/miniprogram/dev/wxcloudrun/src/development/call/faq.html (callId: 1718548994576-0.023169214615586853) 看了文档,可能是AppID的主体和云托管的主体,不同,但我用相同微信登录的,怎么会不同呢? 另外,在微信开发者工具中新建项目时,一旦输入AppID,就只能选择“不使用云服务”选项,这是什么原因?
Error: Base resp abnormal, {"ret":-601009,"errmsg":"该小程序没有绑定手机号,请联系小程序管理员前往MP绑定手机号","wx_req_id":"VjhCQV0sf-ViMMna-1718451888"}
云托管使用内网地址连接自带的 Mysql 数据库报(外网地址可以正常连接访问):Can't reach database server at `x.x.x.x:3306`
微信云托管中,有出口固定ip的功能,是收费的,请问ip固定后,利用这个固定ip,能否把一些物联网的设备的上的数据,如摄像头、门禁中的数据。或第三方网站上的数据,发到云托管上来处理呢?如果可以的话,恳请各位高手提供个demo,不胜感激
[图片]
云开发的调用次数伤不起