WeChat Mini Programs's wx.request request failed

after Mini Program went online, some mobile phones failed to make wx.request requests. Through the mobile browser test interface, the pictures can be used normally, but the request on Mini Program always failed, and the delay request I set was 90 seconds. By clicking the button to test the interface, the feedback timed out as soon as I clicked the interface, and it would not go on. What is the reason

Sep.16,2021

Provisional headers are shown
see your comments this question is too broad for many reasons, but you mentioned timeout timeout, I guess it may be because the request between you is a complex request (cross-domain) guess that the option request of your complex request is not handled accordingly (one of the reasons may be)

  1. it is also possible that you judge the transmission parameters as error messages on the server
  2. .
  3. some of the extension tools that come with it are blocked by resources, and then the server thinks that the false information carried by your header
  4. .

there are many reasons why you need to go to Google and then check to find out what the problem is.


guess that the server domain name is not configured

clipboard.png


clipboard.png
Thank you for your answers. I won't thank you one by one. The problem is the tls version of the server.
https://developers.weixin.qq.

Menu