502 Bad Gateway
502 Bad Gateway
Hello all,
I have two Flatpress webpages each behind an nginx reverse proxy with completely identical settings.
One webpage started giving me "502 Bad Gateway" if I try to edit or create a blog entry. After I empty the theme and template cahce, it works one time, then again the 502 appears. Did someone have an idea what moght be wrong and where I can look for failure?
Best regards and many thanks in advance,
Johannes
I have two Flatpress webpages each behind an nginx reverse proxy with completely identical settings.
One webpage started giving me "502 Bad Gateway" if I try to edit or create a blog entry. After I empty the theme and template cahce, it works one time, then again the 502 appears. Did someone have an idea what moght be wrong and where I can look for failure?
Best regards and many thanks in advance,
Johannes
Re: 502 Bad Gateway
Johannes,
this is odd indeed. Do you have the PrettyURLs plugin enabled? Maybe it creates an .htaccess related glitch - does it help to deactivate it?
All the best,
Arvid
this is odd indeed. Do you have the PrettyURLs plugin enabled? Maybe it creates an .htaccess related glitch - does it help to deactivate it?
All the best,
Arvid
Helpful FlatPress links: Project blog
- FlatPress wiki
- FlatPress@Twitter
- FlatPress@Mastodon 
Stay up to date with our feeds: Forum RSS feed
- Project blog RSS feed 
Feel free to say Thank you: Donate
How to rework your themes and plugins for FlatPress 1.3 / Smarty 4 
Stay up to date with our feeds: Forum RSS feed
Feel free to say Thank you: Donate
Re: 502 Bad Gateway
Hi Arvid,
I disabled the plugin, but the behaviour stayed the same.
BR, Johannes
I disabled the plugin, but the behaviour stayed the same.

BR, Johannes
Re: 502 Bad Gateway
This is what irritates me completely

Can you reproduce this behaviour with a fresh FlatPress install on that server?
Helpful FlatPress links: Project blog
- FlatPress wiki
- FlatPress@Twitter
- FlatPress@Mastodon 
Stay up to date with our feeds: Forum RSS feed
- Project blog RSS feed 
Feel free to say Thank you: Donate
How to rework your themes and plugins for FlatPress 1.3 / Smarty 4 
Stay up to date with our feeds: Forum RSS feed
Feel free to say Thank you: Donate
Re: 502 Bad Gateway
Hi Arvid,
sorry for my late response. I setup a fresh install and it works like a charm. After I copied the fp-content folder into it (I finished the first setup with the same user and password as the old one), the same error occured again. Now I have to delete the cache folder in fp-content every time I want to go to the maintanance, plugin or uploader page.
BR, Johannes
sorry for my late response. I setup a fresh install and it works like a charm. After I copied the fp-content folder into it (I finished the first setup with the same user and password as the old one), the same error occured again. Now I have to delete the cache folder in fp-content every time I want to go to the maintanance, plugin or uploader page.
BR, Johannes
Re: 502 Bad Gateway
So something inside the fp-content folder causes the error. Might be data of a plugin, e.g. the Comment Center plugin stores its data there (fp-content/plugin_commentcenter/).
Please have a look for plugin related folders in there, maybe deactivating such a plugin or deleting/resetting its data solves the problem permanently.
Alternative idea: What about the themes? Maybe your theme has some kind of template error that causes broken cache data. Does the problem occur with the default theme Leggero?
Let us know
All the best
Arvid
Please have a look for plugin related folders in there, maybe deactivating such a plugin or deleting/resetting its data solves the problem permanently.
Alternative idea: What about the themes? Maybe your theme has some kind of template error that causes broken cache data. Does the problem occur with the default theme Leggero?
Let us know

All the best
Arvid
Helpful FlatPress links: Project blog
- FlatPress wiki
- FlatPress@Twitter
- FlatPress@Mastodon 
Stay up to date with our feeds: Forum RSS feed
- Project blog RSS feed 
Feel free to say Thank you: Donate
How to rework your themes and plugins for FlatPress 1.3 / Smarty 4 
Stay up to date with our feeds: Forum RSS feed
Feel free to say Thank you: Donate
Re: 502 Bad Gateway
Hey Arvid,
I wish you a happy new year!
I don't know why and I don't know how, but the problem solved itself. No change made from my side and now it's working again.
BR, Johannes
I wish you a happy new year!
I don't know why and I don't know how, but the problem solved itself. No change made from my side and now it's working again.
BR, Johannes
Re: 502 Bad Gateway
Well then ... \_(o_O)_/
Glad it works now
Thanks for letting us know!
All the best,
Arvid
Glad it works now

Thanks for letting us know!
All the best,
Arvid
Helpful FlatPress links: Project blog
- FlatPress wiki
- FlatPress@Twitter
- FlatPress@Mastodon 
Stay up to date with our feeds: Forum RSS feed
- Project blog RSS feed 
Feel free to say Thank you: Donate
How to rework your themes and plugins for FlatPress 1.3 / Smarty 4 
Stay up to date with our feeds: Forum RSS feed
Feel free to say Thank you: Donate
Who is online
Users browsing this forum: No registered users and 0 guests