Unable to login to new Canvas instance (stable/2026-05-06)

73 views
Skip to first unread message

Anand Srinivasan

unread,
Jun 20, 2026, 2:00:30 AMJun 20
to Canvas LMS Users
Hi guys,

I just setup a new canvas instance to see this error upon logging in.

Production log says that the login is a success at first, followed by a redirect to https://<url>/login?needs_cookies=1; The final status is 401 unauthorized. The credentials are correct.

Please help identify what might be wrong.. 
cookies_required.png

Thanks,
Anand

Andrey Gangan

unread,
Jun 24, 2026, 1:46:01 PMJun 24
to Canvas LMS Users
I think this branch was not ready for prod.
try to clean redis cache 
or try another browser

суббота, 20 июня 2026 г. в 09:00:30 UTC+3, Anand Srinivasan:

Anand Srinivasan

unread,
Jun 25, 2026, 2:07:26 AMJun 25
to Canvas LMS Users
Have tried both and a lot more.. nothing has worked so far. Is there a reliable way to check which branch is ready for prod?

Thanks,
Anand

Andrey Gangan

unread,
Jun 25, 2026, 2:12:41 AMJun 25
to Canvas LMS Users
just use prod.
if still nothing, double check everything.
but remember about the missing dependency in the prod branch https://github.com/instructure/canvas-lms/issues/2626

четверг, 25 июня 2026 г. в 09:07:26 UTC+3, Anand Srinivasan:

Andrey Gangan

unread,
Jun 25, 2026, 2:13:44 AMJun 25
to Canvas LMS Users
by the way, I would check production.log in projects log folder

четверг, 25 июня 2026 г. в 09:12:41 UTC+3, Andrey Gangan:

Anand Srinivasan

unread,
Jul 13, 2026, 1:43:59 AM (yesterday) Jul 13
to Canvas LMS Users
[RESOLVED]

Needed an upgrade to the passenger version.

The POST's Set-Cookie came back as ["cookie1", "cookie2", "cookie3"] — a Ruby array printed as literal text into a single header instead of three separate Set-Cookie: lines. That's the Rack 3 convention (multiple cookies handed to the app server as an array) being mishandled by an app server that predates Rack 3 support. Browsers salvaged the first fragment and silently discarded the rest — including the session cookie, leading to this error, which appeared in older branches too.

Thanks to everyone who reached out and helped.

Reply all
Reply to author
Forward
0 new messages