Response code: 502. Response message: Bad Gateway
Hello,
I have tried to install a pre-built site but always get the message "Response code: 502. Response message: Bad Gateway".
The pre-built web is Ipartially charged but never is complete (for example, footer or stories in snapshot pre-built). I have spoken with my hosting and they tell me that all is ok on his side, firewall is open, test communication is ok :
curl -A "Firefox" -I http://www. xxxxx.com/wp- content/themes/betheme/ functions/importer/demo/be/ snapshot/widget_data.json
HTTP/1.1 200 OK
Server: nginx
Date: Mon, 24 Apr 2017 11:35:16 GMT
Content-Type: application/json
Content-Length: 1113
Connection: keep-alive
Vary: Accept-Encoding
Last-Modified: Mon, 24 Apr 2017 10:36:56 GMT
Accept-Ranges: bytes
HTTP/1.1 200 OK
Server: nginx
Date: Mon, 24 Apr 2017 11:35:16 GMT
Content-Type: application/json
Content-Length: 1113
Connection: keep-alive
Vary: Accept-Encoding
Last-Modified: Mon, 24 Apr 2017 10:36:56 GMT
Accept-Ranges: bytes
Any idea?. I have tested several pre-built with the same result.
Regards,
Israel
Comments
please go to your FTP, create php file with phpinfo() function inside and send us link to that file so we can have a look on your server settings. The problem is probably related to limits but to be sure which one is the reason, we need that link. For more details about file creation, please visit https://mediatemple.net/community/products/dv/204643880/how-can-i-create-a-phpinfo.php-page
Thanks!
Please inscrease the memory_limit and max_input_vars values. You may need to contact your hosting provider to do that.
thanks