遇到一个很奇怪的问题。request请求https的,怎么回事?

小程序 文章 2020-09-03 21:41 616 0 全屏看文

AI助手支持GPT4.0

遇到一个很奇怪的问题。request请求https的,怎么回事?Encountered a very strange problem. request request https, what's going on?

遇到一个很奇怪的问题。request请求https的,怎么回事?

小程序里配置好了自己的https后台域名。在控制台上也配置了。也在本地设置里开启了https校验。用开发者工具调试一切正常。但是一开启实机调试,请求就发不出去了。在实机调试里如果开启了https校验,请求就无响应。后台也没报错。如果关闭了校验。实机调试也是正常的。

The domain name in the background has been configured. It is also configured on the console. The local settings also enable the HTTPS verification. Debugging with developer tools works fine. But once the real machine debugging is started, the request cannot be sent out. In the actual debugging, if the HTTPS verification is enabled, the request will not respond. The backstage didn't report anything wrong. If verification is turned off. The real machine debugging is also normal.

回答:

stop eating:

缓存问题,从访问列表里面删掉,然后重新扫描二维码进行测试

陈宇明:

万能的重启

-EOF-

AI助手支持GPT4.0