• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Issue libpng warning: Interlace handling should be turned on when using png_read_image

Azurel

Silver Pleskian
I'm not sure that a problem with plesk or centos.

CentOS Linux 7.5.1804 (Core)‬
Product Plesk Onyx Version 17.5.3 Update #48

I can upload every file, but <1% of files create a strange error:

<H1>Internal Server Error</H1>
The server encountered an internal error or misconfiguration and was unable to complete your request.
<P>Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.
<P>More information about this error may be available in the server error log.<P>

and /var/log/plesk-php72-fpm/error.log:

WARNING: [pool domain.tld] child xxxx said into stderr: "libpng warning: Interlace handling should be turned on when using png_read_image"

Anyone a idea what this means and its here a solution?

# rpm -q libpng
libpng-1.5.13-7.el7_2.x86_64

EDIT:

The error is:

[:error] ModSecurity: Access denied with code 44 (phase 2). Match of "eq 0" against "MULTIPART_UNMATCHED_BOUNDARY" required. [file "/etc/httpd/conf.d/mod_security.conf"] [line "34"] [id "200003"] [msg "Multipart parser detected a possible unmatched boundary."] [hostname "www.example.com"] [uri "/myupload"] [unique_id "W...w"], referer: https://www.example.com/myupload
[http:error] AH01579: Invalid response status 44, referer: https://www.example.com/myupload
 
Last edited:
After last server update today i tested the upload again and get still 500er error code. But there was no entry in /var/log/plesk-php72-fpm/error.log so the "libpng warning" is gone or was before only a accident?

I have look in /var/log/httpd, /var/log/nginx, /var/log/plesk-php72-fpm but there was no updated error.log. Where can I still look?
 
The error is

[:error] ModSecurity: Access denied with code 44 (phase 2). Match of "eq 0" against "MULTIPART_UNMATCHED_BOUNDARY" required. [file "/etc/httpd/conf.d/mod_security.conf"] [line "34"] [id "200003"] [msg "Multipart parser detected a possible unmatched boundary."] [hostname "www.example.com"] [uri "/myupload"] [unique_id "W...w"], referer: https://www.example.com/myupload
[http:error] AH01579: Invalid response status 44, referer: https://www.example.com/myupload

So the issue comes with ModSecurity. Any idea?

EDIT: Exactly my case with "--" as issue Rule MULTIPART_UNMATCHED_BOUNDARY, id:'200003' fails on valid multipart/form-data submission · Issue #652 · SpiderLabs/ModSecurity

I have modsecurity2.9.2-1.el7

EDIT2: Tools -> Web Application Firewall is "Off", so why its catch this error?
 
Last edited:
Back
Top