Nginx FastCGI error SAML related "Can't call method "data" on an undefined value"
Concerned version
Version: %2.0.15.1-1
Platform: (Nginx)
Summary
I encountered the following error in nginx LLNG portal logs and I couldn't figured out where that came from.
Logs
In portal-nginx.log:
2022/11/17 11:18:43 [error] 3283#3283: *576932 FastCGI sent in stderr: "Can't call method "data" on an undefined value at /usr/share/perl5/Lemonldap/NG/Portal/Lib/SAML.pm line 3240" while reading response header from upstream, client: <IP>, server: auth.mydomain.com, request: "POST /saml/proxySingleLogoutSOAP HTTP/1.1", upstream "fastcgi://unix:/var/run/llng-fastcgi.sock:", host: "auth.mydomain.com"
Backends used
Apache::File