Shaarli: Suddenly 502 Bad Request error

My YunoHost server

Hardware: VPS bought online
YunoHost version:
I have access to my server : Through SSH | through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no

Description of my issue

I have been using Shaarli actively for some weeks, but today suddely I got a 502 error when visiting my Shaarli page.

I have several such error messages:

FastCGI sent in stderr: "PHP message: PHP Notice: Undefined index: urlencoded_taglist in /var/www/shaarli/tmp/linklist.b91ef64efc3688266305ea9b42e5017e.rtpl.php on line 259

But I wonder if this one here might be the reason:

39 upstream sent too big header while reading response header from upstream, client:, server:, request: "GET /shaarli/ HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php7.3-fpm-shaarli.sock:", host: ""

When googling, I found - among others, this suggestion here and

What do you think? Thanks!

I could not help trying some solutions. This helped

I looked for the http part in nginx.conf and changed it like this:

http {
    fastcgi_buffers 16 16k; 
    fastcgi_buffer_size 32k;

Then Shaarli suddely worked again

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.