收藏
回答

微信云托管调用小程序云开发数据库报错?

我部署了一个服务在微信云托管上,本地跑这个服务是没有问题的。但部署到微信云托管后,在服务列表-云端调试里面去测试这个API报错了。请问这个是什么情况呢?

环境id:deepmatch-test-9g1kzfcx9c9f58c1

APPID:wx10836f2a4389b3f3

12/23 20:08:25
algo-007
During handling of the above exception, another exception occurred:
12/23 20:08:25
algo-007
12/23 20:08:25
algo-007
Traceback (most recent call last):
12/23 20:08:25
algo-007
  File "/usr/local/lib/python3.8/site-packages/requests/adapters.py", line 439, in send
12/23 20:08:25
algo-007
    resp = conn.urlopen(
12/23 20:08:25
algo-007
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 755, in urlopen
12/23 20:08:25
algo-007
    retries = retries.increment(
12/23 20:08:25
algo-007
  File "/usr/local/lib/python3.8/site-packages/urllib3/util/retry.py", line 574, in increment
12/23 20:08:25
algo-007
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
12/23 20:08:25
algo-007
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='api.weixin.qq.com', port=443): Max retries exceeded with url: /cgi-bin/token?grant_type=client_credential&appid=wx10836f2a4389b3f3&secret=xxx (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate (_ssl.c:1131)')))
最后一次编辑于  2021-12-24
回答关注问题邀请回答
收藏

1 个回答

  • Mr.Zhao
    Mr.Zhao
    2021-12-24

    猜测和这个有关系

    2021-12-24
    有用 1
    回复
登录 后发表内容
问题标签