Webinoly is just the perfect tool for NGINX experts. Give it a try!
0 votes
by Rookie

Hi all

I had the working python code which was working & still working sometimes when rest api doesn't throw error. So one thing for sure it doesn't have to do with python script as it is working when it is not throwing error.

Here is the error it is throwing.

The web server reported a bad gateway '

Please try again in a few '


           'error 502 

Here is what I have tried. 

Disabled httpauth as I found out it causes issue. Didn't work!

Enabled Developer mode on Cloudflare. didn't work. 

Enabled Respect existing header for http header setting in cloudflare. Didn't work!

Created new Application password. same situation. Didn't work.

The code sometime works perfectly & uploads 2-3 posts & then start throwing error again. The issue is really frustrating as I have tried to debug alot without any success. 

The website is working perfectly on the frontend without throwing any error. I am also able to properly access wp admin without any issue. 

I am on latest version of webinoly. 

Any help or tips to navigate the error for tackle would be really helpful. 


Please log in or register to answer this question.

Welcome to the Community site for Webinoly.

Our Optimized LEMP Web Server is a powerful set of commands for doing just about anything you could wish.

With Webinoly you can set up your NGINX web server in just one step.

* * * * * * *

To report a bug, please create a new issue on GitHub or ask a question here with the bug tag.
Webinoly Support Paypal Donations

PayPal · GitHub Sponsors · Bitcoin

It is very important that any visitor to the site read the disclaimer, terms of use and privacy and legal statement before start browsing.