librenms / docker

LibreNMS Docker image
MIT License
691 stars 278 forks source link

Bad gateway on login process #245

Closed rkojedzinszky closed 2 years ago

rkojedzinszky commented 2 years ago

Behaviour

Login process results in a 502 Bad Gateway.

Steps to reproduce this issue

  1. Simply enter correct user/password on login page

Configuration

Official images deployed on Kubernetes.

Logs

Nginx logs show:

2021/12/11 15:49:26 [error] 657#657: *369 upstream sent too big header while reading response header from upstream, client: 10.112.9.211, server: , request: "POST /login HTTP/1.1", upstream: "fastcgi://unix:/var/run/php-fpm/php-fpm7.sock:", host: "xxxx", referrer: "xxx/login"

Adding this to nginx.conf, the login process works again:

            fastcgi_buffer_size 32k;