• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Resolved upstream sent invalid "Content-Length" header

Java2107

New Pleskian
Server operating system version
Debian 11.7
Plesk version and microupdate number
Plesk Obsidian Version 18.0.55 Update #1
Hello,

Last night it appears my Plesk installation has updated, and at the same time rendered a PHP script on one of my sites useless. Before images would load through the image proxy, however this is not the case anymore and I am presented with a bad gateway message along with "upstream sent invalid "Content-Length" header" contained within the logs for that specific website.

I've tried working around this to no avail and my site remains unusable. Any help is appreciated.

Regards.
 
I've managed to fix the issue which was caused by an improper header sent by the script, it looks like NGINX didn't take issue with this until recently hence the issues, but all is good now. This post can be locked.
 
Back
Top