Tagged: W3 Total Cache Troubleshooting
- AuthorPosts
- November 30, 2021 at 6:52 am #45593Martin KejzlarGuest
Good day.
My WP application returns a 502 error. It’s not regular and I can’t keep track of when this happens. My server provider didn’t help. Server capacity is oversized. But I suspect that it is only when the W3 Total cache is enabled. Do you have any experience with this error, and possibly advice on how to better diagnose what it is and why it occurs?
Thank youNovember 30, 2021 at 6:57 am #45600Marko VasiljevicKeymasterHello Matrin,
I am sorry about the issue you are experiencing and I am happy to assist you with this.
The HyperText Transfer Protocol (HTTP) 502 Bad Gateway server error response code indicates that the server while acting as a gateway or proxy, received an invalid response from the upstream server.
YOu’ve mentioned that the server capacity is reached, so you may want to check the /cache/ folder and delete the content (don’t worry, the files will be cached again) if W3 Total Cache is active
Make sure that if you are caching to disk to disable Object Caching and Databased Caching as it’s not recommended to use those options if caching to disk.
Every 500 error should be logged so I would advise enabling wp_debug and checking the error log once, and if the error occurs again. - AuthorPosts
- The topic ‘Error 502’ is closed to new replies.