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

angryTom
Release: 2020-03-24 13:25:18
Original
22054 people have browsed it

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
Copy after login

PHP Chinese website, a large number ofMySQL 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!

Related labels:
source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!