Luca Berruti <[email protected]> wrote: > Hello, > > Unicorn 6.1.0 raises this exception when running on Rails 7.1.2 and Devise > 4.9.3 within the production environment: > > E, [2023-12-13T13:38:12.560072 #20] ERROR -- : app error: undefined method > `=~' for > ["_app_session=KbIfGKW%2FGniK%2B7V6boKx8Gh4VYYlk45gI14J5%2F4pSmJQkl890zAknDviSCWCBY4Jx%2FIa86Et1h%2Bad1laCN8sVf%2B9IgtgvN%2BhVLrHBYb9zqmX43LyNqKTEOaEfbU0H6EMEDS6TVJqmtP%2FVzGTf08uP8wgQFMCM6t5jWahl4h9dc47jC96h8BTF8%2FQDXHWPpcj6yzCC3aXjZqm7k2LEPQfXdmXJPwXS57sEYNk518vYWg%2BVOop16o7Lwqh3enXJVd1w%2F6CRFt5cFFlzsDHB7%2FA4%2BPWNLU%3D--v8qFRntrlxCgtLDy--7bldsiyqYyL2eow3kk348A%3D%3D; > path=/; secure; httponly; SameSite=Lax"]:Array (NoMethodError)
That looks like a Rack 3 response with an array and 6.1.0 doesn't support Rack 3. This patch ought to work: https://yhbt.net/unicorn-public/[email protected]/raw (commit 9d7bab0bc2211b20806d4d0289a7ea992e49a8a1 in unicorn.git) I'll try to get a unicorn 7.x release soon but tests take forever to run on ancient HW and I need to ration releases to keep download counts low in order to stay under the MFA threshold on Rubygems.org I don't ever want users viewing me as trustworthy nor liable for anything I do, so no MFA nor sigs from me; just source + docs :>
