微信开放社区
服务商入驻
文档
登录
正在加载...

微信云托管官网

关注
公告
招募进行时:微信云开发「KOL技术实践官」,等你来解锁新技能!2024-04-15
全部公告
发帖

最新提问
  • 全部
  • 文章
  • 问答

全部
运营
审核
API和组件
框架
管理后台
开发者工具
客户端
插件
云开发
教程反馈
其它
最新提问最热问题
  • 置顶微信小程序开通云开发开通失败,怎么人工解决下?

    [图片] 刚接手项目,怎么申请不了云开发?管理大大看下怎么解决下

    2022-04-18
    11204
  • 置顶云托管部署eggjs服务,运行npm run start不停重复启动?最后部署失败

    走到这一步了之后,不停的重复启动,请问大神知道是什么原因吗? -----------服务lefan-node-service部署lefan-node-service-004----------- 2022-04-17 00:00:54 create_eks_virtual_service : succ, 2022-04-17 00:00:54 check_eks_virtual_service : succ, Readiness probe failed: dial tcp 10.0.192.4:80: connect: connection refused, [pod]:[Successfully assigned default/lefan-node-service-004-7697c69558-pd5bp to eklet-subnet-jws7nh7j; Starting pod sandbox eks-bju1u7x7; Sync endpoints; Pulling image "ccr.ccs.tencentyun.com/tcb_prd/initsidecar:2.0.0"; Successfully pulled image "ccr.ccs.tencentyun.com/tcb_prd/initsidecar:2.0.0" in 2.781056161s; Created container init; Started container init; Pulling image "ccr.ccs.tencentyun.com/tcb-100024839466-osvm/prod-3gen1fswbe8d5098_lefan-node-service:lefan-node-service-004-20220416235904"; Successfully pulled image "ccr.ccs.tencentyun.com/tcb-100024839466-osvm/prod-3gen1fswbe8d5098_lefan-node-service:lefan-node-service-004-20220416235904" in 13.85145302s; Created container lefan-node-service-004; Started container lefan-node-service-004; Pulling image "ccr.ccs.tencentyun.com/tcb_prd/openapi-agent:2.1.0"; Successfully pulled image "ccr.ccs.tencentyun.com/tcb_prd/openapi-agent:2.1.0" in 2.932170925s; Created container side; Started container side; Readiness probe failed: dial tcp 10.0.192.4:80: connect: connection refused; Container image "ccr.ccs.tencentyun.com/tcb-100024839466-osvm/prod-3gen1fswbe8d5098_lefan-node-service:lefan-node-service-004-20220416235904" already present on machine; ] *** [egg-scripts] Starting egg application at /usr/src/app [egg-scripts] Run node --no-deprecation --trace-warnings /usr/src/app/node_modules/egg-scripts/lib/start-cluster {"title":"egg-server-lefan-node-server","baseDir":"/usr/src/app","framework":"/usr/src/app/node_modules/egg"} --title=egg-server-lefan-node-server [egg-scripts] Save log file to /root/logs [egg-scripts] Wait Start: 1... [egg-scripts] Wait Start: 2... [egg-scripts] Wait Start: 3... [egg-scripts] Wait Start: 4... [egg-scripts] Wait Start: 5... [egg-scripts] Wait Start: 6... [egg-scripts] Wait Start: 7... [egg-scripts] Wait Start: 8... [egg-scripts] Wait Start: 9... [egg-scripts] Wait Start: 10... [egg-scripts] egg started on http://127.0.0.1:7001 [egg-scripts] Wait Start: 11... > lefan-node-server@1.0.0 start /usr/src/app > egg-scripts start --daemon --title=egg-server-lefan-node-server [egg-scripts] Starting egg application at /usr/src/app [egg-scripts] Run node --no-deprecation --trace-warnings /usr/src/app/node_modules/egg-scripts/lib/start-cluster {"title":"egg-server-lefan-node-server","baseDir":"/usr/src/app","framework":"/usr/src/app/node_modules/egg"} --title=egg-server-lefan-node-server [egg-scripts] Save log file to /root/logs [egg-scripts] Wait Start: 1... [egg-scripts] Wait Start: 2... [egg-scripts] Wait Start: 3... [egg-scripts] Wait Start: 4... [egg-scripts] Wait Start: 5... [egg-scripts] Wait Start: 6... [egg-scripts] Wait Start: 7... [egg-scripts] Wait Start: 8... [egg-scripts] Wait Start: 9... [egg-scripts] Wait Start: 10... [egg-scripts] Wait Start: 11... [egg-scripts] Wait Start: 12... [egg-scripts] Wait Start: 13... [egg-scripts] Wait Start: 14... [egg-scripts] Wait Start: 15... [egg-scripts] Wait Start: 16... [egg-scripts] Wait Start: 17... [egg-scripts] Wait Start: 18... [egg-scripts] egg started on http://127.0.0.1:7001 > lefan-node-server@1.0.0 start /usr/src/app > egg-scripts start --daemon --title=egg-server-lefan-node-server [egg-scripts] Starting egg application at /usr/src/app [egg-scripts] Run node --no-deprecation --trace-warnings /usr/src/app/node_modules/egg-scripts/lib/start-cluster {"title":"egg-server-lefan-node-server","baseDir":"/usr/src/app","framework":"/usr/src/app/node_modules/egg"} --title=egg-server-lefan-node-server [egg-scripts] Save log file to /root/logs [egg-scripts] Wait Start: 1... [egg-scripts] Wait Start: 2... [egg-scripts] Wait Start: 3... [egg-scripts] Wait Start: 4... [egg-scripts] Wait Start: 5... [egg-scripts] Wait Start: 6... [egg-scripts] Wait Start: 7... [egg-scripts] Wait Start: 8... [egg-scripts] Wait Start: 9... [egg-scripts] Wait Start: 10... [egg-scripts] Wait Start: 11... [egg-scripts] egg started on http://127.0.0.1:7001 > lefan-node-server@1.0.0 start /usr/src/app > egg-scripts start --daemon --title=egg-server-lefan-node-server [egg-scripts] Starting egg application at /usr/src/app [egg-scripts] Run node --no-deprecation --trace-warnings /usr/src/app/node_modules/egg-scripts/lib/start-cluster {"title":"egg-server-lefan-node-server","baseDir":"/usr/src/app","framework":"/usr/src/app/node_modules/egg"} --title=egg-server-lefan-node-server [egg-scripts] Save log file to /root/logs [egg-scripts] Wait Start: 1... [egg-scripts] Wait Start: 2... [egg-scripts] Wait Start: 3... [egg-scripts] Wait Start: 4... [egg-scripts] Wait Start: 5... [egg-scripts] Wait Start: 6... [egg-scripts] Wait Start: 7... [egg-scripts] Wait Start: 8... [egg-scripts] Wait Start: 9... [egg-scripts] Wait Start: 10... [egg-scripts] Wait Start: 11... [egg-scripts] Wait Start: 12... [egg-scripts] egg started on http://127.0.0.1:7001 > lefan-node-server@1.0.0 start /usr/src/app > egg-scripts start --daemon --title=egg-server-lefan-node-server [egg-scripts] Starting egg application at /usr/src/app [egg-scripts] Run node --no-deprecation --trace-warnings /usr/src/app/node_modules/egg-scripts/lib/start-cluster {"title":"egg-server-lefan-node-server","baseDir":"/usr/src/app","framework":"/usr/src/app/node_modules/egg"} --title=egg-server-lefan-node-server [egg-scripts] Save log file to /root/logs [egg-scripts] Wait Start: 1... [egg-scripts] Wait Start: 2... [egg-scripts] Wait Start: 3... [egg-scripts] Wait Start: 4... [egg-scripts] Wait Start: 5... [egg-scripts] Wait Start: 6... [egg-scripts] Wait Start: 7... [egg-scripts] Wait Start: 8... [egg-scripts] Wait Start: 9... [egg-scripts] Wait Start: 10... [egg-scripts] Wait Start: 14... [egg-scripts] egg started on http://127.0.0.1:7001

    2022-04-17
    33759
  • 置顶发布失败了 还不停地重试 这个太傻X了 能不能失败后就停下?

    发布失败了 还不停地重试 这个太傻X了 能不能失败后就停下?

    2022-04-16
    01031
  • 置顶云托管,我用的是laravel框架。但是为什么我找了好久也没看见laravel的api文档啊?

    比如我后端调用之前的验证文字图片接口,登录接口需要变动什么呢?我看到是不需要验证code之类的。node实例但是原谅我才疏学浅,也没想想到怎么在laravel里实现,求大佬解答,后续要有好多项目迁移到云托管。都是laravel,现在我一脸懵逼

    2022-04-16
    22203
  • 置顶云托管是一个小程序创建一个git仓库,但是我几个小程序想用同一套代码的话可以吗?

    可以把之前写好的接口代码,还有前端代码复用么?直接把后台代码pull下来再放到另外一个小程序的git仓库么?求大神解答,对项目运营很重要

    2022-04-15
    1580
  • 置顶请问云托管如果多端的话,比如app,支付宝小程序是不是就不能用这套代码了呢?

    如题

    2022-04-15
    21084
  • 置顶调用云托管API删除文件无效?

    wx.cloud.deleteFile({ fileList: ['xxx'], success: console.log, fail: console.error }) 返回删除成功,但是云托管里文件并没有被删除是怎么回事

    2022-04-14
    14262
  • 置顶微信云托管账号绑定成公众号了,需要换绑小程序账号吗?

    您好,想问一下。如果一开始注册微信云托管的时候,用的是这个主体的公众号。那我还需要在注册完这个主体的小程序以后,再重新用小程序账号来注册微信云托管嘛?我的小程序账号是通过公众号后台免认证快速注册的。

    2022-04-13
    11006
  • 置顶微信第三方云托管发送服务通知?

    微信第三方云托管发送服务通知是否只需要获取acctoken,在调用普通订阅消息接口就行?

    2022-04-12
    0155
  • 置顶怎么查询云数据库的访问记录呢?

     怎么查询云数据库的访问记录呢,看一下详细的log

    2022-04-11
    0322
  • 置顶如何鉴定云托管获取的openid怎样判断不会是伪造的?

    新人刚接触云托管,通过callContainer 访问,加入人为的在header中加入伪造的openid这种能够发现吗

    2022-04-10
    11393
  • 置顶云托管现在是否有网关层面的配置项?比如配置跨域访问?

    [图片]

    2022-04-10
    0363
  • 置顶phantomjs运行不起来,能否帮解决一下?

    在dockerfile中加了依赖 && wget https://mirrors.huaweicloud.com/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2 \ && tar -xvf phantomjs-2.1.1-linux-x86_64.tar.bz2 \ && mv phantomjs-2.1.1-linux-x86_64 /usr/local/src/phantomjs \ && ln -sf /usr/local/src/phantomjs/bin/phantomjs /usr/local/bin/phantomjs \ && phantomjs --v 执行phantomjs --v,提示 not found,是还需要安装什么依赖或者设置什么吗?

    2022-04-09
    0481
  • 置顶如果在云托管的dockerfile中进行腾讯云对象存储 cosfs 的挂载?

    工具官方文档介绍,我们可以通过COSFS工具,将腾讯云的对象存储挂载为本地目录,就像操作本地文件一下访问他。 但是我根据文档编写好dockerfile以后,发现他会一直提示我 fuse: device not found, try 'modprobe fuse' first [图片] 但是当我加上这个命令以后:[图片] 它就会部署失败并报错: [图片] 经过google查询,在GitHub上找到本地可行的解决方案:https://github.com/s3fs-fuse/s3fs-fuse/issues/647 [图片] 但问题在于,我本地docker run 可以加上privileged然后启动运行,可是我使用微信云托管部署时,我没法加上这个选项,导致我无法部署成功。 请问我有什么办法可以使用privileged进行部署,或者是通过另外的办法挂载COS吗,亦或者有什么办法可以达到COSFS的效果? 附:环境id:prod-6gzbw3px21701d01;服务名称:hm;版本:hm-003;状态:部署失败

    2022-04-09
    12905
  • 置顶可以弄一个id生成服务给云托管用户使用吗?

    云开发里面的数据库有系统生成的id,觉得这个id很短,挺好的,可以集成一个id生成服务给云托管用户使用吗?

    2022-04-08
    2911
  • 置顶云托管上的绝对路径是什么?

    用的thinkphp模板,需要执行 @exec($command)命令,这里的$command需要绝对路径,不知道怎么获取 @exec("/app/public/phantomjs/bin/phantomjs.exe /app/public/phantomjs/bin/snap.js... ,这个执行不成功 "/app/public/phantomjs/bin/phantomjs.exe /app/public/phantomjs/bin/snap.js https://3yelun.cn/yunedu/api_wenda/daochuyipic1 2222.png""/app/public/phantomjs/bin/phantomjs.exe /app/public/phantomjs/bin/snap.js https://3yelun.cn/yunedu/api_wenda/daochuyipic1 2222.png"

    2022-04-08
    12715
  • 置顶云托管不支持view视图渲染吗?

    用的thinkphp, return View::fetch()执行失败,云托管没安装视图渲染插件

    2022-04-08
    13129
  • 置顶微信云托管公众号h5页面登录授权反复重定向?

    使用的官方提供的示例,https://developers.weixin.qq.com/miniprogram/dev/wxcloudrun/src/development/call/h5.html 实测发现,有一定概率会反复重定向,页面一直在不停的跳转,最后页面会停留在一个带有access_token和refresh_token参数的url上,此时其实授权是失败的[图片] 请问有没有解决的办法

    2022-04-08
    14941
  • 置顶云托管本地调试的文档貌似有错误

    https://developers.weixin.qq.com/miniprogram/dev/wxcloudrun/src/guide/debug/ 内容如下: 假设插件中显示的服务访问端口号分别为 27081 和 27082,则测试访问链接分别为: # 不带微信信息的端口,直接访问即可,适合在浏览器调试 http://127.0.1.1:27082 # 微信端口,请求时会模拟微信链路的登录态 Header,如 x-wx-openid,适合微信开发者工具中使用 http://127.0.0.1:27081 上面的文字中: 127.0.1.1:27082 地址应该是:127.0.0.1:27082,反正我用 127.0.1.1:27082 是无法访问 127.0.1.1:27081 和 127.0.1.1:27082 反了,我在本地按照教程测试,127.0.1.1:27081是没有登录状态 header 的,127.0.1.1:27082 才有。 “登录态”是不是有笔误?描述成:“登录状态”是否合适点?

    2022-04-08
    13363
  • 置顶公众号授权,如何用开发接口直接获取授权用户的openid?

    之前的H5项目是用OpenID通过对比数据库来识别用户的,现在想迁移到云托管服务上,那么之前用户公众号授权后获取到的code去兑换access token 和 openid,但看文档关于开放接口部分,是可以使用免鉴权方案的,但这有点不通,我不用code换access token 和opneid,如何获取用户OpenID?请解惑一下,IP白名单是否需要设置?如果需要设置成什么? 另外一个问题,假设我不使用任何“免鉴权”服务,那么公众号的开发信息中的IP白名单应该填写什么?

    2022-04-07
    15631
16465666768...74跳转
正在加载...
我的头像

暂无个人介绍

发布文章

0

回答

0

关注者

0

我关注的问答我的收藏
作品展示
关闭

选择发帖类型

  • 提出问题

    接入使用过程中遇到的疑问

  • 发表文章

    微信云托管相关实战经验及案例分享

  • 关于腾讯
  • 运营规范
  • 文档中心
  • 辟谣中心
  • 客服中心
  • Copyright © 2012-2025 Tencent. All Rights Reserved.