Failed to read FastCGI header error

Failed to read FastCGI header error

by Ricardo Caiado -
Number of replies: 2
Picture of Particularly helpful Moodlers
When trying to login with a certain account I get this error message:

"Service Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.
Apache/2.4.41 (Ubuntu) Server at Ambientevirtual.nce.ufrj.br Port 443"

And the following entries appear in the log:

"[Sat Jun 12 09:16:50.704267 2021] [proxy_fcgi:error] [pid 1868364:tid 140681712494336] [client XXX.XXX.XXX.XXX:52200] AH01067: Failed to read FastCGI header, referer: https://moodle site/user/profile.php?id=145785

[Sat Jun 12 09:16:50.704333 2021] [proxy_fcgi:error] [pid 1868364:tid 140681712494336] (104)Connection reset by peer: [client XXX.XXX.XXX.XXX:52200] AH01075: Error dispatching request to : , referer: https://moodle site/user/profile.php?id=145785"

Access from other profiles is normal. Everyone can log into Moodle.

I've increased all the php-fpm "timeout" directives, but the problem persists.

Any idea?

Ricardo
Average of ratings: -
In reply to Ricardo Caiado

Re: Failed to read FastCGI header error

by Stuart Anderson -
Hi Ricardo,

Did you solve this error, and if so how? I have something very similar happening after FPM was enabled in apache.

Thanks,

Stuart
In reply to Stuart Anderson

Re: Failed to read FastCGI header error

by Howard Miller -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers
I would check the php-fpm logs. My guess would be that something is failing which prevents correct headers being returned.