操作系统是windows的情况下,需要windows服务器或者云上的windows虚拟机了
求服务器配置,小程序上线文档,小白求助有帮忙的吗?配置Java环境: jdk1.8 Mysql版本号: 5.7 Tomcat版本号:8.5.84 操作系统:windows2012 server及以上版本 小程序上线文档
05-14http://api.weixin.qq.com/_/cos/getauthz 这个接口属于开放接口服务 如果需要在本地调试中使用开放接口服务,要按如下文档进行操作,启动容器的proxy。然后在容器中运行本地代码。 https://developers.weixin.qq.com/miniprogram/dev/wxcloudrun/src/guide/weixin/open.html#%E4%B8%89%E3%80%81%E6%9C%AC%E5%9C%B0%E8%B0%83%E8%AF%95%E4%B8%AD%E5%A6%82%E4%BD%95%E4%BD%BF%E7%94%A8%E3%80%8C%E5%BC%80%E6%94%BE%E6%8E%A5%E5%8F%A3%E6%9C%8D%E5%8A%A1%E3%80%8D
微信云托管 怎么在本地调试中访问对象存储 看了一天的文档没看明白https://developers.weixin.qq.com/miniprogram/dev/wxcloudrun/src/development/storage/service/cos-sdk.html 这篇文档里提及的获取临时密钥的接口http://api.weixin.qq.com/_/cos/getauth 如何在本地调试中调用呢,我在本地调用返回301,无法调用 我是在服务端java代码中调用的
05-13应该只是监控的计算问题。 日志上可以看看是否有实例在那个时间点有重新启动的迹象
异常实例个数0.5个是什么意思?日志也没看到退出的报错[图片]
05-09修改参数后会自动进行一次重启
微信云托管里的mysql数据库如何重启?改了参数如何重启呀?微信云托管里的mysql数据库如何重启?改了参数如何重启呀?
05-07不可以,因为自定义域名实际是需要将自定义域名cname到指定域名的。一个域名不可能cname配置到不同的服务或静态资源上。可以使用多级域名进行区分。
微信云托管 服务管理自定义域名和静态资源存储能用同一个吗?如题 我们之前的同一个域名下放了好多个项目 有静态项目也有服务端
05-07[2024-05-06 17:10:40] The command '/bin/sh -c dotnet publish -c release -o /app -r linux-musl-x64 --self-contained true --no-restore /p:PublishTrimmed=true /p:PublishReadyToRun=true /p:PublishSingleFile=true' returned a non-zero code: 1 dockerfile里面的这个命令执行失败,镜像构建失败
云托管部署失败,.netcore6?[2024-05-06 17:09:19] Started by user coding [2024-05-06 17:09:19] Running in Durability level: MAX_SURVIVABILITY [2024-05-06 17:09:20] [Pipeline] Start of Pipeline [2024-05-06 17:09:20] [Pipeline] node [2024-05-06 17:09:20] Running on Jenkins in /root/workspace [2024-05-06 17:09:20] [Pipeline] { [2024-05-06 17:09:21] [Pipeline] stage [2024-05-06 17:09:21] [Pipeline] { (检出 ZIP 包) [2024-05-06 17:09:21] Stage "检出 ZIP 包" skipped due to when conditional [2024-05-06 17:09:21] [Pipeline] } [2024-05-06 17:09:21] [Pipeline] // stage [2024-05-06 17:09:21] [Pipeline] stage [2024-05-06 17:09:21] [Pipeline] { (检出代码仓库) [2024-05-06 17:09:21] [Pipeline] sh [2024-05-06 17:09:21] + git clone ****** . [2024-05-06 17:09:21] Cloning into '.'... [2024-05-06 17:09:28] [Pipeline] sh [2024-05-06 17:09:28] + git checkout master [2024-05-06 17:09:28] Already on 'master' [2024-05-06 17:09:28] Your branch is up-to-date with 'origin/master'. [2024-05-06 17:09:28] [Pipeline] } [2024-05-06 17:09:29] [Pipeline] // stage [2024-05-06 17:09:29] [Pipeline] stage [2024-05-06 17:09:29] [Pipeline] { (构建 Docker 镜像) [2024-05-06 17:09:29] [Pipeline] sh [2024-05-06 17:09:29] + docker login -u ****** -p ****** ccr.ccs.tencentyun.com/tcb-******-ckun/ca-yomkpfjm_dotnet-u7ti:dotnet-u7ti-002-20240506170913 [2024-05-06 17:09:29] WARNING! Using --password via the CLI is insecure. Use --password-stdin. [2024-05-06 17:09:29] WARNING! Your password will be stored unencrypted in /root/.docker/config.json. [2024-05-06 17:09:29] Configure a credential helper to remove this warning. See [2024-05-06 17:09:29] https://docs.docker.com/engine/reference/commandline/login/#credentials-store [2024-05-06 17:09:29] [2024-05-06 17:09:29] Login Succeeded [2024-05-06 17:09:29] [Pipeline] sh [2024-05-06 17:09:29] + docker build -f ././/Dockerfile -t ccr.ccs.tencentyun.com/tcb-******-ckun/ca-yomkpfjm_dotnet-u7ti:dotnet-u7ti-002-20240506170913 ./ [2024-05-06 17:09:29] DEPRECATED: The legacy builder is deprecated and will be removed in a future release. [2024-05-06 17:09:29] Install the buildx component to build images with BuildKit: [2024-05-06 17:09:29] https://docs.docker.com/go/buildx/ [2024-05-06 17:09:29] [2024-05-06 17:09:30] Sending build context to Docker daemon 195.4MB [2024-05-06 17:09:30] Step 1/15 : FROM mcr.microsoft.com/dotnet/sdk:6.0-alpine AS build [2024-05-06 17:09:31] 6.0-alpine: Pulling from dotnet/sdk [2024-05-06 17:09:32] 619be1103602: Pulling fs layer [2024-05-06 17:09:32] 49c78dc87bac: Pulling fs layer [2024-05-06 17:09:32] b1217d23467d: Pulling fs layer [2024-05-06 17:09:32] b27277ae2b4a: Pulling fs layer [2024-05-06 17:09:32] a00481cbf2a0: Pulling fs layer [2024-05-06 17:09:32] 69eb4d60fc6d: Pulling fs layer [2024-05-06 17:09:32] e8900b8e284d: Pulling fs layer [2024-05-06 17:09:32] 49c78dc87bac: Verifying Checksum [2024-05-06 17:09:32] 49c78dc87bac: Download complete [2024-05-06 17:09:32] 619be1103602: Verifying Checksum [2024-05-06 17:09:32] 619be1103602: Download complete [2024-05-06 17:09:32] 619be1103602: Pull complete [2024-05-06 17:09:33] b27277ae2b4a: Verifying Checksum [2024-05-06 17:09:33] b27277ae2b4a: Download complete [2024-05-06 17:09:33] 49c78dc87bac: Pull complete [2024-05-06 17:09:33] e8900b8e284d: Verifying Checksum [2024-05-06 17:09:33] e8900b8e284d: Download complete [2024-05-06 17:09:35] a00481cbf2a0: Verifying Checksum [2024-05-06 17:09:35] a00481cbf2a0: Download complete [2024-05-06 17:09:37] b1217d23467d: Verifying Checksum [2024-05-06 17:09:37] b1217d23467d: Download complete [2024-05-06 17:09:38] b1217d23467d: Pull complete [2024-05-06 17:09:38] b27277ae2b4a: Pull complete [2024-05-06 17:09:38] a00481cbf2a0: Pull complete [2024-05-06 17:10:05] 69eb4d60fc6d: Verifying Checksum [2024-05-06 17:10:05] 69eb4d60fc6d: Download complete [2024-05-06 17:10:06] 69eb4d60fc6d: Pull complete [2024-05-06 17:10:06] e8900b8e284d: Pull complete [2024-05-06 17:10:06] Digest: sha256:f09dc36e5f4ed0c31690e98ee5226737544bba6690fe1040cfea52c4f9573dcd [2024-05-06 17:10:06] Status: Downloaded newer image for mcr.microsoft.com/dotnet/sdk:6.0-alpine [2024-05-06 17:10:06] ---> f766f08db8b2 [2024-05-06 17:10:06] Step 2/15 : RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tencent.com/g' /etc/apk/repositories [2024-05-06 17:10:06] ---> Running in 89d69def2bc7 [2024-05-06 17:10:07] Removing intermediate container 89d69def2bc7 [2024-05-06 17:10:07] ---> 0f7419da8e9c [2024-05-06 17:10:07] Step 3/15 : WORKDIR /source [2024-05-06 17:10:07] ---> Running in b78f857dcb28 [2024-05-06 17:10:07] Removing intermediate container b78f857dcb28 [2024-05-06 17:10:07] ---> 5abc4da20dd8 [2024-05-06 17:10:07] Step 4/15 : COPY *.sln . [2024-05-06 17:10:07] ---> 40e7eae35641 [2024-05-06 17:10:07] Step 5/15 : COPY aspnetapp/*.csproj ./aspnetapp/ [2024-05-06 17:10:07] ---> dcf39395f51a [2024-05-06 17:10:07] Step 6/15 : RUN dotnet restore -r linux-musl-x64 /p:PublishReadyToRun=true [2024-05-06 17:10:07] ---> Running in f2d4e31000b4 [2024-05-06 17:10:08] Determining projects to restore... [2024-05-06 17:10:26] Restored /source/aspnetapp/aspnetapp.csproj (in 16.8 sec). [2024-05-06 17:10:38] Removing intermediate container f2d4e31000b4 [2024-05-06 17:10:38] ---> 534703d740cb [2024-05-06 17:10:38] Step 7/15 : COPY aspnetapp/. ./aspnetapp/ [2024-05-06 17:10:38] ---> f2cad09d770d [2024-05-06 17:10:38] Step 8/15 : WORKDIR /source/aspnetapp [2024-05-06 17:10:38] ---> Running in 0bc547805c41 [2024-05-06 17:10:39] Removing intermediate container 0bc547805c41 [2024-05-06 17:10:39] ---> d05be36cf4d3 [2024-05-06 17:10:39] Step 9/15 : RUN dotnet publish -c release -o /app -r linux-musl-x64 --self-contained true --no-restore /p:PublishTrimmed=true /p:PublishReadyToRun=true /p:PublishSingleFile=true [2024-05-06 17:10:39] ---> Running in 0dc57ddd68c6 [2024-05-06 17:10:39] MSBuild version 17.3.2+561848881 for .NET [2024-05-06 17:10:40] /usr/share/dotnet/sdk/6.0.421/Sdks/Microsoft.NET.Sdk/targets/Microsoft.PackageDependencyResolution.targets(267,5): error NETSDK1047: Assets file '/source/aspnetapp/obj/project.assets.json' doesn't have a target for 'net6.0/linux-musl-x64'. Ensure that restore has run and that you have included 'net6.0' in the TargetFrameworks for your project. You may also need to include 'linux-musl-x64' in your project's RuntimeIdentifiers. [/source/aspnetapp/aspnetapp.csproj] [2024-05-06 17:10:40] The command '/bin/sh -c dotnet publish -c release -o /app -r linux-musl-x64 --self-contained true --no-restore /p:PublishTrimmed=true /p:PublishReadyToRun=true /p:PublishSingleFile=true' returned a non-zero code: 1 [2024-05-06 17:10:40] [Pipeline] } [2024-05-06 17:10:40] [Pipeline] // stage [2024-05-06 17:10:40] [Pipeline] stage [2024-05-06 17:10:40] [Pipeline] { (推送 Docker 镜像到 TCR) [2024-05-06 17:10:40] Stage "推送 Docker 镜像到 TCR" skipped due to earlier failure(s) [2024-05-06 17:10:40] [Pipeline] } [2024-05-06 17:10:40] [Pipeline] // stage [2024-05-06 17:10:40] [Pipeline] } [2024-05-06 17:10:40] [Pipeline] // node [2024-05-06 17:10:40] [Pipeline] End of Pipeline [2024-05-06 17:10:40] ERROR: script returned exit code 1 [2024-05-06 17:10:40] Finished: FAILURE *** -----------构建dotnet-u7ti-002----------- 2024-05-06 17:09:18 create_build_image : succ,
05-07可以添加开发者
微信云托管的后台可以多用户协同工作吗,可以其他用户登陆吗?如题,其他开发者想登陆后台,但我没找到可以分配权限的接口
05-06不支持这种模式,如果需要流式响应,可以尝试websocket
wx.cloud.callContainer 是否支持 chunked流方式 方式接收响应 ?想用云托管 支持流返回 目前 调用失败 状态码 code为-1
04-28可以自行通过数据库管理工具查看数据库内的具体内容
使用模版创建的应用是否将数据库的名称给固定了?请帮我查看一下此应用的数据库名称是什么,我部署的应用数据库连接这块都过不去,应用是以SpingBoot+mysql的方式进行部署的。
04-28构建环境时一个独立隔离环境,和运行环境区分的,无法连接到运行环境下的数据库
构建时prisma无法连接云托管MySQL,构建失败?[2024-04-28 15:35:44] Step 9/11 : RUN npx prisma migrate deploy [2024-04-28 15:35:44] ---> Running in 49a6a9d2a38d [2024-04-28 15:35:45] Prisma schema loaded from prisma/schema.prisma [2024-04-28 15:35:45] Datasource "db": MySQL database "mydb" at "10.9.107.39:3306" [2024-04-28 15:35:51] [2024-04-28 15:35:51] Error: P1001: Can't reach database server at `10.9.107.39`:`3306` [2024-04-28 15:35:51] [2024-04-28 15:35:51] Please make sure your database server is running at `10.9.107.39`:`3306`. [2024-04-28 15:35:51] The command '/bin/sh -c npx prisma migrate deploy' returned a non-zero code: 1 [2024-04-28 15:35:51] [Pipeline] } ip和端口正确的: [图片]
04-28