微信云托管官网
[图片] 如图,不懂这是什么问题。 发工单也发不了,提交就说工单提交失败。 不太明白,我这是小程序账号登录的,怎以和公众号扯上关系了,这是我其中一个小程序,其他的没有这个问题,不知道原因在哪? 是必须交认证费才能部署吗,现在是测试阶段,名字logo什么的都没有想好,也不能做认证啊,不是300块钱的事。
一提就发表失败。
[图片] 这是我的dockerfile, 一直部署不了,求高手解答 FROM maven:3.8.1-jdk-8-slim as builder # Copy local code to the container image. WORKDIR /app COPY pom.xml . COPY src ./src # Build a release artifact. RUN mvn package -DskipTests # Run the web service on container startup. CMD ["java","-jar","/app/target/user-play-backend-0.0.1-SNAPSHOT.jar","--spring.profiles.active=prod"]
可以升级云托管的MYSQL版本吗?开发的时候被提示版本落后太多 [图片] Database mysql version "5.7.18" is not supported. The minimum supported version is 8.0.19.
前端和后端都使用微信云托管,后端接口通过前端nginx反向代理调用,但返回404 nginx配置 [图片] 请求后没走代理反而走的本地路径 [图片] 前端请求失败截图 [图片]
我电脑docker死活启动不了,能不能在cloudstudio中进行开发调试啊?
[图片]
配置Java环境: jdk1.8 Mysql版本号: 5.7 Tomcat版本号:8.5.84 操作系统:windows2012 server及以上版本 小程序上线文档
https://developers.weixin.qq.com/miniprogram/dev/wxcloudrun/src/development/storage/service/cos-sdk.html 这篇文档里提及的获取临时密钥的接口http://api.weixin.qq.com/_/cos/getauth 如何在本地调试中调用呢,我在本地调用返回301,无法调用 我是在服务端java代码中调用的
纯纯门外汉,我想问一下搭建一个微信小程序困难吗?老弟需求想卖卖东西,或者多一个渠道曝光产品。
【表象】:微信小程序端 上传图片后,浏览发现 图片完全不对(图片被灰色遮罩住了 百分百必现--> https://7072-prod-5gxnj9yf4701217e-1325415685.tcb.qcloud.la/gaint/gen/2024/5/10001_202451014852711.jpg) 具体问题演示,请参看视频 [视频] 【整个上传处理过程】: 1、获取文件上传链接(调用链路:小程序callContainer方式-->云托管部署的后端api接口-->微信“获取文件上传链接”接口https://api.weixin.qq.com/tcb/uploadfile) “获取文件上传链接”接口文档:https://developers.weixin.qq.com/miniprogram/dev/wxcloudrun/src/development/storage/service/upload.html(获取文件上传链接部分) [图片] 2、上传文件(小程序端 根据1返回的结果 封装好参数 发起post请求,直接请求腾讯云,把文件上传至腾讯云) “上传文件”接口文档:https://developers.weixin.qq.com/miniprogram/dev/wxcloudrun/src/development/storage/service/upload.html [图片] 3、获取文件下载地址(调用链路:小程序callContainer方式-->云托管部署的后端api接口-->微信“获取文件下载地址”接口https://api.weixin.qq.com/tcb/batchdownloadfile) “获取文件下载地址”接口文档:https://developers.weixin.qq.com/miniprogram/dev/wxcloudrun/src/development/storage/service/download.html 【配置情况】 1、在小程序mp设置服务器域名 [图片] 2、修改隐私保护协议(已审核通过) [图片] 【其他重要信息】: 1、前端使用uniapp开发,微信小程序端(无论是体验版、正式版打开调试模式与否),一直会这个问题,但Android端上传图片一切正常。匪夷所思。。。 2、排查已久,未寻得解决办法。悬赏不低于200 恳求帮助(可提供前端代码) 3、再次恳请支持,人人为我,我为人人。
1: 例如我有这么一个场景,小程序下单,数据传到云托管到服务器上,并保存到mysql数据库里边,然后我这边打印机有个电脑的app程序,这个程序能访问到 云托管到服务器 的获取mysql的订单信息吗? 2: 云托管服务器能不能同时支持springboot 的https及websocket服务
[图片]
部署在云托管上的服务端,无论返回什么错误,都被云托管统一封装成500的internal server error了,response里有两个值,一个是errCode永远是-1; 一个是errMsg,包含了服务端的返回的错误码,但是返回的错误信息被丢弃, 被替换成固定的错误信息,无法利用。 有什么方法可以正常获取服务端返回的错误信息呢?如果没有那云托管是不是应该优化一下这个问题? [图片] [图片]
[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,
请指引一下! express-nrmm建立服务后怎么开发服务端功能?小程序端如何调用这些功能? 例如小程序端获取OPENID,用户登陆注册后如何增减数据库?
如题,其他开发者想登陆后台,但我没找到可以分配权限的接口
这审核什么节奏??
如题 我们之前的同一个域名下放了好多个项目 有静态项目也有服务端
https://developers.weixin.qq.com/miniprogram/dev/wxcloudrun/src/guide/service/online.html 数据加载失败几秒前 加载 “tcbSubmitServerRelease” 失败:Error: InvalidParameter, 代码仓库中没有找到Dockerfile,请补充后重试. [Check Dockerfile error, please ensure you have Dockerfile in your project, other wise please contact us,err = describe git file failed with cRsp=&{ErrorCode:100003 ErrorMsg:{"message":"Not Found","documentation_url":"https://docs.github.com/rest/repos/contents#get-repository-content"} RequestId:ccb9baf9-a959-42f0-b65c-8d5ec0cac679} ] (c7ad530b-2b1e-4f91-9324-9f4c11e13723)
我这是小程序,跟公众号什么关系,我另外一个小程序也没有这个提示啊。