• 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 Error upstream sent too big header

BNO

Basic Pleskian
Hi,

i hate a Site with WordPress installed and can't install plugins. i get following error

*5158052 upstream sent too big header while reading response header from upstream, client: x.x.x.x, server: domain.com, request: "POST /wp-admin/admin-ajax.php?_fs_blog_admin=true HTTP/2.0", upstream: "fastcgi://unix:/var/www/vhosts/system/domain.com/php-fpm.sock:", host: "domain.com", referrer: "https://domain.com/wp-admin/plugin-install.php?s=contact&tab=search&type=term"

i have following settings:

PHP-Settings:


1648568117652.png

1648568143516.png

1648568162972.png

Host Settings:

1648568194744.png

1648568221153.png

1648568261744.png
1648568295174.png
any idea what i can do to fix the error?
 
Try ONLY with,

proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;

In "Additional nginx directives"
 
I'm not able to edit my previous post. (timed out)

Please remove the content from Additional directives under PHP section.

Add this to Additional nginx directives,

proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
 
@BNO: Your PHP settings are contradictive. You have told PHP to run through Nginx, but in your webhosting settings you have told the webservers to forward all dynamic requests to Apache. So you either need to change the PHP settings to PHP-FPM via Apache or you need to disable Proxy Mode in the webserver settings, so that all requests are handled by Nginx.
 
I'm not able to edit my previous post. (timed out)

Please remove the content from Additional directives under PHP section.

Add this to Additional nginx directives,

proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;
i try under additional nginx directivesbut same error:
1648903397117.png
 
@BNO: Your PHP settings are contradictive. You have told PHP to run through Nginx, but in your webhosting settings you have told the webservers to forward all dynamic requests to Apache. So you either need to change the PHP settings to PHP-FPM via Apache or you need to disable Proxy Mode in the webserver settings, so that all requests are handled by Nginx.
ok i set to nginx only, disable proxy mode.
 
when i use apache and nginx in proxy mode no error appear, if i use just nginx i get that error. i think its a config issue?
 
Back
Top