Mailing List Archive

AH01067: Failed to read FastCGI header with PHP-FPM
Dear community,

I used to have a davical PHP-FPM working configuration, but it suddenly
broke. I suppose it happens while upgrading Debian Buster Packages.

It's a really strange behavior as this error is not fired all the time.
Clients are Thunderbird and iOS. It looks to work for iOS but for
Thunderbird it's down.

This error is really hard to analyze as there is almost no debug log. On
the server, we just get messages like:

davical-error.log.9.gz:[Sat Aug 21 23:38:30.787156 2021]
[proxy_fcgi:error] [pid 26447:tid 139869317666560] [client
90.41.154.146:55657] AH01067: Failed to read FastCGI header
davical-error.log.9.gz:[Sat Aug 21 23:38:30.787298 2021]
[proxy_fcgi:error] [pid 26447:tid 139869317666560] (104)Connection reset
by peer: [client 90.41.154.146:55657] AH01075: Error dispatching request to

And on the client : 503 Service unavailable.

I moved to the last version of davical (1.1.10) & awl (0.62), but it
didn't change anything.

I suppose it's linked with authentication. My configuration is classical
Buster PHP-FPM, so in /etc/apache2/conf-available/php7.3-fpm.conf, I have:

    <IfModule setenvif_module>
    SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1
    </IfModule>

Not sure but it should do the job.

Wiki and configuration on those subjects look pretty old despite still
true for most of it when using old OS versions.

When I change my configuration back to mod_php, it works again, but I
need to run some other website in PHP-FPM on this same Apache server.

If anyone could bring me to tests to realize or ideas, I will take them.

Best regards, Edouard



_______________________________________________
Davical-general mailing list
Davical-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/davical-general