你好,问题已知,会尽快修复,目前暂时的解决方法是在开发工具中,详情-本地设置关闭独立域调试,就不会有报错信息。
调用小程序API报错wx is not defined?Unhandled promise rejection ReferenceError: wx is not defined [图片] 报错行数:wx.cloud.uploadFile 我是想用户选择一张图后上传到云存储里。不明白报错原因...请各位大佬指点。
2022-02-22你好,问题已知,会尽快修复,目前暂时的解决方法是在开发工具中,详情-本地设置关闭独立域调试,就不会有报错信息。
调用wx.cloud.uploadFile,报错wx is not define是为什么呢?myuploadFile(tempFilePath,successUp,failUp,i,length){ wx.cloud.uploadFile({ cloudPath:'filebase_app/'+new Date()+'/'+tempFilePath[i].name, filePath:tempFilePath[i].path, success:(res)=>{ successUp++ console.log(res.data) }, fail:(err)=>{ failUp++ console.log(err) }, complete:()=>{ i++ if(i==length){ wx.showToast({ title: successUp+'份上传完成', }) } else{ // this.myuploadFile(tempFilePath,successUp,failUp,i) } } }) },
2022-02-22你好,这里应该是你自己删除了数据库,可以重置密码触发重装。
Db or Table not exist[图片] 进不去CMS
2022-02-21你好,请补充下环境ID,服务名称,版本名称。
微信云托管部署现有项目失败?[图片] 以下是自己参考demo编写的Dockerfile: # 使用官方 maven/Java 8 镜像作为构建环境 # https://hub.docker.com/_/maven FROM maven:3.8-jdk-8 as builder # 将代码复制到容器内 WORKDIR /app COPY pom.xml . COPY src ./src # 构建项目 RUN mvn package -DskipTests # 使用 AdoptOpenJDK 作为基础镜像 # https://hub.docker.com/r/adoptopenjdk/openjdk8 # https://docs.docker.com/develop/develop-images/multistage-build/#use-multi-stage-builds FROM adoptopenjdk/openjdk8:alpine-slim # 将 jar 放入容器内 COPY --from=builder /app/target/youths_supply_chain_netapi-1.0.0.jar /youths_supply_chain_netapi-1.0.0.jar # 启动服务 CMD ["java", "-server -Xms512m -Xmx1024m -XX:PermSize=1024M -XX:MaxNewSize=256m -XX:MaxPermSize=512m -XX:+HeapDumpOnOutOfMemoryError -Dnetworkaddress.cache.ttl=30 -Dsun.net.inetaddr.ttl=30 -Dsun.net.inetaddr.negative.ttl=30 -Djava.awt.headless=true -Djava.awt.headlesslib=true -Djava.io.tmpdir=/var/tmp", "-jar", "/youths_supply_chain_netapi-1.0.0.jar"]
2022-02-21微信云托管访问微信开发者工具的云存储这里是怎样的访问流程?
微信云托管中的对象存储?微信云托管访问微信云托管中的对象存储,会不会比微信云托管访问微信开发者工具中的云存储速度快?
2022-02-21你好,请完善问题描述,并提供环境ID,相关代码,问题表现截图。
微信云托管拿不到用户ua怎么办?只有在小程序端使用http的才有ua,用callcontainer的没有
2022-02-21你好,云托管的静态资源不支持绑定自定义域名。
请问 微信云托管中的静态资源存储如何绑定自定义域名?微信托管中有一个扩展功能, 静态资源存储,我想把 管理端的前端应用放在这里,但是如何绑定只定义的域名? [图片] 在自定义域名中 只能绑定 服务 我尝试 把域名解析到 提供的域名 但是访问报错
2022-02-18你好,提供下环境ID,相关代码,最新的报错信息,requestID也需要复制提供。
小程序服务商组件,小程序授权失败?点击授权按钮后,出现 request cloud-function AuthorizeComponent failed: 未知错误 (-1) ,请问该如何解决?谢谢 [图片]
2022-02-16你好,构建环境是本地还是云托管流水线?
在环境中安装依赖的时候报错,好像是pip的问题?[2022-02-15 19:53:23] Downloading https://mirrors.cloud.tencent.com/pypi/packages/3a/be/650f9c091ef71cb01d735775d554e068752d3ff63d7943b26316dc401749/numpy-1.21.2.zip (10.3 MB) [2022-02-15 19:53:23] 0.0/10.3 MB ? eta -:--:-- [2022-02-15 19:53:23] ERROR: Exception: [2022-02-15 19:53:23] Traceback (most recent call last): [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 438, in _error_catcher [2022-02-15 19:53:23] yield [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 519, in read [2022-02-15 19:53:23] data = self._fp.read(amt) if not fp_closed else b"" [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_vendor/cachecontrol/filewrapper.py", line 90, in read [2022-02-15 19:53:23] data = self.__fp.read(amt) [2022-02-15 19:53:23] File "/usr/lib/python3.8/http/client.py", line 455, in read [2022-02-15 19:53:23] n = self.readinto(b) [2022-02-15 19:53:23] File "/usr/lib/python3.8/http/client.py", line 499, in readinto [2022-02-15 19:53:23] n = self.fp.readinto(b) [2022-02-15 19:53:23] File "/usr/lib/python3.8/socket.py", line 669, in readinto [2022-02-15 19:53:23] return self._sock.recv_into(b) [2022-02-15 19:53:23] File "/usr/lib/python3.8/ssl.py", line 1241, in recv_into [2022-02-15 19:53:23] return self.read(nbytes, buffer) [2022-02-15 19:53:23] File "/usr/lib/python3.8/ssl.py", line 1099, in read [2022-02-15 19:53:23] return self._sslobj.read(len, buffer) [2022-02-15 19:53:23] OSError: [Errno 22] Invalid argument [2022-02-15 19:53:23] [2022-02-15 19:53:23] During handling of the above exception, another exception occurred: [2022-02-15 19:53:23] [2022-02-15 19:53:23] Traceback (most recent call last): [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 167, in exc_logging_wrapper [2022-02-15 19:53:23] status = run_func(*args) [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_internal/cli/req_command.py", line 205, in wrapper [2022-02-15 19:53:23] return func(self, options, args) [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 339, in run [2022-02-15 19:53:23] requirement_set = resolver.resolve( [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/resolver.py", line 94, in resolve [2022-02-15 19:53:23] result = self._result = resolver.resolve( [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 481, in resolve [2022-02-15 19:53:23] state = resolution.resolve(requirements, max_rounds=max_rounds) [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 348, in resolve [2022-02-15 19:53:23] self._add_to_criteria(self.state.criteria, r, parent=None) [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_vendor/resolvelib/resolvers.py", line 172, in _add_to_criteria [2022-02-15 19:53:23] if not criterion.candidates: [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_vendor/resolvelib/structs.py", line 151, in __bool__ [2022-02-15 19:53:23] return bool(self._sequence) [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 155, in __bool__ [2022-02-15 19:53:23] return any(self) [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 143, in <genexpr> [2022-02-15 19:53:23] return (c for c in iterator if id(c) not in self._incompatible_ids) [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/found_candidates.py", line 47, in _iter_built [2022-02-15 19:53:23] candidate = func() [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/factory.py", line 215, in _make_candidate_from_link [2022-02-15 19:53:23] self._link_candidate_cache[link] = LinkCandidate( [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 288, in __init__ [2022-02-15 19:53:23] super().__init__( [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 158, in __init__ [2022-02-15 19:53:23] self.dist = self._prepare() [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 227, in _prepare [2022-02-15 19:53:23] dist = self._prepare_distribution() [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_internal/resolution/resolvelib/candidates.py", line 299, in _prepare_distribution [2022-02-15 19:53:23] return preparer.prepare_linked_requirement(self._ireq, parallel_builds=True) [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 487, in prepare_linked_requirement [2022-02-15 19:53:23] return self._prepare_linked_requirement(req, parallel_builds) [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 532, in _prepare_linked_requirement [2022-02-15 19:53:23] local_file = unpack_url( [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 214, in unpack_url [2022-02-15 19:53:23] file = get_http_url( [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_internal/operations/prepare.py", line 94, in get_http_url [2022-02-15 19:53:23] from_path, content_type = download(link, temp_dir.path) [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_internal/network/download.py", line 146, in __call__ [2022-02-15 19:53:23] for chunk in chunks: [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_internal/cli/progress_bars.py", line 304, in _rich_progress_bar [2022-02-15 19:53:23] for chunk in iterable: [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_internal/network/utils.py", line 63, in response_chunks [2022-02-15 19:53:23] for chunk in response.raw.stream( [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 576, in stream [2022-02-15 19:53:23] data = self.read(amt=amt, decode_content=decode_content) [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 541, in read [2022-02-15 19:53:23] raise IncompleteRead(self._fp_bytes_read, self.length_remaining) [2022-02-15 19:53:23] File "/usr/lib/python3.8/contextlib.py", line 131, in __exit__ [2022-02-15 19:53:23] self.gen.throw(type, value, traceback) [2022-02-15 19:53:23] File "/usr/lib/python3.8/site-packages/pip/_vendor/urllib3/response.py", line 455, in _error_catcher [2022-02-15 19:53:23] raise ProtocolError("Connection broken: %r" % e, e) [2022-02-15 19:53:23] pip._vendor.urllib3.exceptions.ProtocolError: ("Connection broken: OSError(22, 'Invalid argument')", OSError(22, 'Invalid argument')) [2022-02-15 19:53:23] The command '/bin/sh -c pip config set global.index-url http://mirrors.cloud.tencent.com/pypi/simple && pip config set global.trusted-host mirrors.cloud.tencent.com && pip install --upgrade pip && pip install --user -r requirements.txt' returned a non-zero code: 2
2022-02-16你好,问题已排查到原因,会尽快解决。
云托管微信小程序的websokcetAPI是不是出问题了?[图片][图片] 这个path不管我怎么修改,访问的地址永远都是根目录,请官方人员快点修复吧
2022-02-16