[DRE-maint] Bug#1095736: ruby-rails: upgrade results in "502 Bad Gateway" with nginx proxy

Jörg-Volker Peetz jvpeetz at web.de
Tue Feb 11 11:15:13 GMT 2025


Package: ruby-rails
Version: 2:6.1.7.3+dfsg-7
Severity: important

Hi Lucas,

with this version I was able to upgrade my nginx - redmine - rails
installation:

# aptitude -t sid install  '~Uruby~V6\.1\.7'
The following NEW packages will be installed:
   ruby-rack-session{a}
The following packages will be upgraded:
   ruby-actioncable ruby-actionmailbox ruby-actionmailer ruby-actionpack
   ruby-actiontext ruby-actionview ruby-activejob ruby-activemodel
   ruby-activerecord ruby-activestorage ruby-activesupport ruby-rack
   ruby-rails ruby-railties

This installs ruby-rack in version 3.0.8-4 and ruby-rack-session in
version 2.0.0-3.

But when calling my redmine website, I get an "502 Bad Gateway" error
from nginx. The nginx error log says

2025/02/11 11:33:52 [error] 1367#1367: *5 upstream sent duplicate header line:
"content-length: 648", previous value: "Content-Length: 648" while reading
response header from upstream, client: 91.5.102.159, server: _, request: "GET
/redmine HTTP/2.0", upstream:
"http://unix:/run/www/unicorn-redmine-default.sock:/redmine", host:
"skuld.sytes.net"

Downgrading to version 6.1.7.3+dfsg-7 and ruby-rack back to 2.2.7-1.1,
also removing ruby-rack-session makes the redmine website work again.

Any ideas?

Regards,
Jörg.


-- System Information:
Debian Release: trixie/sid
   APT prefers testing
   APT policy: (500, 'testing'), (100, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.13.2 (SMP w/16 CPU threads)
Locale: LANG=C.utf8, LC_CTYPE=C.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages ruby-rails depends on:
ii  ruby-actioncable      2:6.1.7.3+dfsg-7
ii  ruby-actionmailbox    2:6.1.7.3+dfsg-7
ii  ruby-actionmailer     2:6.1.7.3+dfsg-7
ii  ruby-actionpack       2:6.1.7.3+dfsg-7
ii  ruby-actiontext       2:6.1.7.3+dfsg-7
ii  ruby-actionview       2:6.1.7.3+dfsg-7
ii  ruby-activejob        2:6.1.7.3+dfsg-7
ii  ruby-activemodel      2:6.1.7.3+dfsg-7
ii  ruby-activerecord     2:6.1.7.3+dfsg-7
ii  ruby-activestorage    2:6.1.7.3+dfsg-7
ii  ruby-activesupport    2:6.1.7.3+dfsg-7
ii  ruby-bundler          2.6.3-1
ii  ruby-railties         2:6.1.7.3+dfsg-7
ii  ruby-sprockets-rails  3.5.2-2

ruby-rails recommends no packages.

ruby-rails suggests no packages.

-- no debconf information



More information about the Pkg-ruby-extras-maintainers mailing list