Home > Mobile >  WeChat small program 502 Proxy Error
WeChat small program 502 Proxy Error

Time:02-03


As shown in figure, url if below instead of localhost can request is successful, and get the json data correctly, but with the above https://xxxxx, will be submitted to the following error
"& lt; ! PUBLIC DOCTYPE HTML "-//IETF//DTD HTML 2.0//EN" & gt;

502 Proxy Error
<body>

The proxy server received an invalid
The response from an upstream server. & lt; Br/& gt;
The proxy server could not handle The request & lt; Em> . & lt; p>
Reason: & lt; Strong> Error reading from the remote server




Apache/2.2.23 (Fedora) Server Port 80 at xxxxxxxx.com.cn & lt;/address>

"
In addition, if I type in https://xxxxxxxx.com.cn/recruitment/getRecruitment in the web pages', normally returns json data,
Shows no problem on the server?
Only in tiny WeChat program operation error,
The background configuration request legal domain name: https://xxxxxxxx.com.cn
At the front desk of the "no inspection legal domain name, web - the view, the TLS version, and Https certificate" no check,
The background with springboot + mybatis

  • Related