微信云托管官网
公司在微信云托管中部署php项目,遇到文件上传大小限制问题,文件超过1mb就无法上传。我在nginx的server中已经配置了client_max_body_size,但是还是不生效,微信云托管需要手动重启nginx服务吗?[图片]
* 正在执行任务: docker build -f "Dockerfile" -t wxcloud_jiandan:latest . 2024/01/04 10:34:58 http2: server: error reading preface from client //./pipe/docker_engine: file has already been closed [+] Building 1.8s (13/13) FINISHED docker:default => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 1.56kB 0.0s => [internal] load metadata for docker.io/library/alpine:3.13 1.6s => [1/8] FROM docker.io/library/alpine:3.13@sha256:469b6e04ee185740477efa44ed5bdd64a07bbdd6c7e5f5d169e540889597b911 0.0s => [internal] load build context 0.1s => => transferring context: 218.69kB 0.1s => CACHED [2/8] RUN apk add ca-certificates 0.0s => CACHED [3/8] RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tencent.com/g' /etc/apk/repositories && apk add --update --no-cache nodejs npm 0.0s => CACHED [4/8] WORKDIR /app 0.0s => CACHED [5/8] COPY package*.json /app/ 0.0s => CACHED [6/8] RUN npm config set registry https://mirrors.cloud.tencent.com/npm/ 0.0s => CACHED [7/8] RUN npm install 0.0s => CACHED [8/8] COPY . /app 0.0s => exporting to image 0.0s => => exporting layers 0.0s => => writing image sha256:5cc5c23f3b4ce8b86e1de45b351c06dcd0910d4288593327b64f53fd9da0170a 0.0s => => naming to docker.io/library/wxcloud_jiandan:latest 0.0s What's Next? 1. Sign in to your Docker account → docker login 2. View a summary of image vulnerabilities and recommendations → docker scout quickview * 终端将被任务重用,按任意键关闭。 * 正在执行任务: docker run --rm -t --network wxcb0 --name wxcloud_jiandan -l role=container -l wxcloud=jiandan -l hostPort=27081 -l wxPort=27082 -p 127.0.0.1:27081:80/tcp -e 'MYSQL_USERNAME=' -e 'MYSQL_PASSWORD=' -e 'MYSQL_ADDRESS=' --cpus 1 -m 2GB --mount type=bind,source="C:\Users\Administrator\.wxcloudbase\.tencentcloudbase",target=/.tencentcloudbase,readonly wxcloud_jiandan:latest > wxcloudrun-express@1.0.0 start /app > node index.js (node:17) UnhandledPromiseRejectionWarning: SequelizeConnectionRefusedError: connect ECONNREFUSED 127.0.0.1:3306 at ConnectionManager.connect (/app/node_modules/sequelize/lib/dialects/mysql/connection-manager.js:92:17) at processTicksAndRejections (internal/process/task_queues.js:95:5) at async ConnectionManager._connect (/app/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:222:24) at async /app/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:174:32 at async ConnectionManager.getConnection (/app/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:197:7) at async /app/node_modules/sequelize/lib/sequelize.js:305:26 at async MySQLQueryInterface.tableExists (/app/node_modules/sequelize/lib/dialects/abstract/query-interface.js:102:17) at async Function.sync (/app/node_modules/sequelize/lib/model.js:939:21) at async init (/app/db.js:35:3) at async bootstrap (/app/index.js:68:3) (Use `node --trace-warnings ...` to show where the warning was created) (node:17) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:17) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. 这个是vscode的终端文本
vscode启动云托管报错start container failed: Error: container crashed when starting. please check output logs. 报错文本是这个 [图片]
之前把二维码发给别人 但是现在不需要进群的。但是踢了他还是继续扫进来 请问要怎么处理 谢谢
我之前使用微信云托管登录我的腾讯云mysql,但是云托管实例到期被销毁了,我需要找回腾讯云的mysql
自定义域名或静态资源存储,支持泛域名吗? 现在是 自定义域名 界面输入时限了 静态资源存储 域名配置 可以输了,但提交时返回Error: InvalidParameter, Domain is invalid 腾讯云的CDN也支持泛域名,微信云托管不支持?
大家现在用的云托管配置价格都是多少,和服务器比便宜吗?
云托管的ip地址是变化的,公众号如何设置在公众号ip白名单?
[图片] 系统公网域名可以访问,域名备案,提交了https证书,web-view能显示,但xhr就不行,咋解决? 补充:浏览器可以访问,小程序不行,域名为合法域名
我的小程序后端是部署在阿里云服务器上,现在想迁移到云托管,有没有详细指导或者是1对1技术服务,能够做到快速切换不至于造成服务停止。
https://developers.weixin.qq.com/miniprogram/dev/wxcloudrun/src/development/storage/service/upload.html 对象存储中,现在最多就能传100k的文件,我想上传更大一点的,有哪些参数或者配置可以实现吗?
云托管的服务,过段时间就自动关闭了,第一次访问就显示在启动中?这个是为啥?
[图片] 配置教程写到可以使用购买的固定ip。云托管服务里面我们购买了固定ip如下图 [图片] 云调用使用接口/wx无问题如下图 [图片] 但是公众号端一直提示url超时,是不是无法访问这个固定ip地址呢? [图片] [图片]
appId:wxedf470cbadb9ec15 云托管:prod-6gye4jm50d86b0d7 [图片] 日志记录,只能收到用户进入会话和退出会话的event事件消息 [图片]
FROM alpine:3.13 RUN --no-cache apk add ca-certificates && update ca-certificates RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.tencent.com/g' /etc/apk/repositories \ && apk add --update --no-cache \ php7 \ php7-json \ php7-ctype \ php7-exif \ php7-pdo \ php7-pdo_mysql \ php7-fpm \ php7-curl \ nginx \ && rm -f /var/cache/apk/* WORKDIR /var/www COPY . /var/www RUN cp /var/www/conf/nginx.conf /etc/nginx/conf.d/default.conf \ && cp /var/www/conf/fpm.conf /etc/php7/php-fpm.d/www.conf \ && cp /var/www/conf/php.ini /etc/php7/php.ini EXPOSE 80 CMD php-fpm -D && nginx -g 'daemon off;'
[图片]网络直接不能请求了啊,有人能看下吗???
根据官方教程来操作的,使用官方教程里的代码是进行测试同样出现 “redirect_uri 参数错误” https://developers.weixin.qq.com/miniprogram/dev/wxcloudrun/src/development/call/h5.html 查看官方视频教程视频教程里说建议使用测试号,但是本地开发时使用测试号无法调用云托管服务。 https://developers.weixin.qq.com/miniprogram/dev/wxcloudrun/src/development/call/ 请问本地开发时如何走完一整个云调用的流程。
小程序上线,是要使用内网域名吗?
数据加载失败: 加载 “tcbAddCustomDomain” 失败:Error: InvalidParameter, 域名未备案;如果域名已经完成备案,由于腾讯云与工信部数据需要同步,请在1小时后重试。 (def3e179-4d8f-46f6-a06a-e0cbbcdfd8a4[图片]
可以部署前端工程吗?
wxcloudrun-express@1.0.0 start /app
> node index.js
(node:17) UnhandledPromiseRejectionWarning: SequelizeConnectionRefusedError: connect ECONNREFUSED 127.0.0.1:3306
at ConnectionManager.connect (/app/node_modules/sequelize/lib/dialects/mysql/connection-manager.js:92:17)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async ConnectionManager._connect (/app/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:222:24)
at async /app/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:174:32
at async ConnectionManager.getConnection (/app/node_modules/sequelize/lib/dialects/abstract/connection-manager.js:197:7)
at async /app/node_modules/sequelize/lib/sequelize.js:305:26
at async MySQLQueryInterface.tableExists (/app/node_modules/sequelize/lib/dialects/abstract/query-interface.js:102:17)
at async Function.sync (/app/node_modules/sequelize/lib/model.js:939:21)
at async init (/app/db.js:35:3)
at async bootstrap (/app/index.js:68:3)
(Use `node --trace-warnings ...` to show where the warning was created)
(node:17) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:17) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.