Home  >  Article  >  WeChat Applet  >  How to solve the problem of network request failure in WeChat applet

How to solve the problem of network request failure in WeChat applet

angryTom
angryTomOriginal
2020-03-24 13:25:1822125browse

How to solve the problem of network request failure in WeChat applet

How to solve the problem of network request failure of WeChat mini program

The network request failure of mini program is due to https certificate configuration problem. Mini program must use HTTPS/ WSS initiates a network request. When requesting, the system will verify the HTTPS certificate used by the server domain name. If the verification fails, the request cannot be successfully initiated.

Recommended learning: Small program development

The solution is as follows:

Due to system limitations, different platforms have different certificate requirements The level of strictness varies. In order to ensure the compatibility of mini programs, it is recommended that developers configure certificates according to the highest standards and use relevant tools to check whether existing certificates meet the requirements.

How to solve the problem of network request failure in WeChat applet

The following provide several websites that can check https certificates

// 检查中间证书
https://www.myssl.cn/tools/check-server-cert.html
// https深度检查
https://www.ssllabs.com/ssltest/analyze.html
https://myssl.com/ssl.html

PHP Chinese website, a large number of MySQL video tutorials, welcome to learn !

The above is the detailed content of How to solve the problem of network request failure in WeChat applet. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn