Open ghost opened 1 year ago
/opt/www/iredadmin/rc_scripts/uwsgi/*.ini should have bigger value for "buffer-size =" parameter. For example: https://github.com/iredmail/iRedAdmin/blob/master/rc_scripts/uwsgi/debian.ini#L7
/opt/www/iredadmin/rc_scripts/uwsgi/*.ini should have bigger value for "buffer-size =" parameter. For example: https://github.com/iredmail/iRedAdmin/blob/master/rc_scripts/uwsgi/debian.ini#L7
What would be the best way of changing this?
As a temporary solution, you can add a shell command in /opt/iredmail/custom/iredadmin/custom.sh to modify this file.
I'm not sure if this project is still alive judging by the list of (inactive?) issues but I wanted to try it out for a personal email and found out about this. When using the Cloudflare proxy (and combined with Cloudflare Access), trying to login into iRedAdmin returns a
502 Bad Gateway
page and throws the following error in logs:As far as I investigated, this seems to be because of Cloudflare adding extra data to the
Cookie
header. A workaround such as clearing cookies before logging in can be used, but it is nowhere near ideal. I also put the endpoint behind Cloudflare Access as well, so that might also be adding even more data to the header. The webmail service in the other end works flawlessly.I'm running the container like this:
I also tried to run it with the
iredmail/mariadb:nightly
image to see if that would work, however, it threw some MySQLPermission denied
errors and then exited.Note: You will NOT be able to reproduce this issue instantly. You will probably need to login (into both iRedAdmin and the Roundcube webmail), do some things and logout before being able to reproduce it. You could also try to create a large cookie manually. Some of the cookies I had were:
iRedAdmin-MYSQL
CF_AppSession
CF_Authorization
(by far the largest one)roundcube_sessid
roundcube_sessauth