Error: “The reply sent by the server is broken”
-
Image: https://drive.google.com/file/d/198hp_a1Yzy46kK1Oc_LnsJtFDTXPXani/view?usp=drive_link
At 13% every time, I get this error. The UI says not to SKIP or I’ll get false positives, but Auto-Retry just results in the same error 20 mins later.
Seems to be a common issue with this plugin: https://www.ads-software.com/search/the+reply+sent+by+the+server+is+broken+intext%3A%22Plugin%3A+Media+Cleaner%3A+Clean+your+WordPress!%22/
All the other topics were marked “Resolved” (but didn’t seem to be), so I thought it best to open a new one.
I’m running on a Staging site on WP Engine. Object Caching is disabled at the site level. I’ve reduced the number of plugins running down to the bare minimum required. All are updated to their latest versions, as are the themes on the site.
In my WP Engine Access logs, I’m seeing lots of 502 errors during the time I run Media Cleaner, an example being:
{ "installName": "sclstaging3", "environment": "STAGE", "domain": "sclstaging3.wpengine.com", "ipAddress": "<REDACTED>", "date": "2024-04-16T17:54:03.000Z", "type": "nginx", "verb": "POST", "resource": "/wp-json/media-cleaner/v1/extract_references", "protocol": "HTTP/1.0", "status": 502, "referer": "https://sclstaging3.wpengine.com/wp-admin/upload.php?page=wpmc_dashboard", "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36", "uuid": "<REDACTED>" }
By the looks of it, I could be investigating the cause of the 502 for weeks(!) based on WP Engine’s documentation – https://wpengine.com/support/troubleshooting-502-error/
502 Errors at Recurring Times
Cross-check the timing of the cron jobs that are receiving the 502 errors
- There may be crons running too long and using workers that could instead be broken up into smaller chunks.
Cross-check traffic peaks times and review any custom cache exclusions added via Support
- Traffic combined with a large number of uncached pages will overwork the server and cause more 502 evictions at times of high traffic.
- Custom cache exclusions can be reviewed on the Cache page of the User Portal.
@jordy and Val – can you point me in the right direction to get Media Cleaner running without this error please? I’m hoping you’ve helped another WP Engine customer solve this previously. ??
Should I perhaps add “/wp-json/media-cleaner/” as a cache exclusion with WP Engine?
Thanks for your help in advance!
Moderator note: Please, No bumping
https://www.ads-software.com/support/guidelines/#do-not-bump-posts
The page I need help with: [log in to see the link]
- You must be logged in to reply to this topic.