#10788 Koschei login broken after migration to OCP4
Closed: Fixed with Explanation by kevin. Opened by mizdebsk.

Koschei login in web interface is broken since migration to OCP4 cluster.
Reproducer: Browse to Koschei frontend, either production or staging, and click login.
This results in "500 Internal Server Error".
Nothing shows in Koschei logs.
This needs further investigation and fixing.


This is more fallout from our change to haproxy.router.openshift.io/set-forwarded-headers

Since our cluster is behind proxies already, and ocp4's default is 'append' it's sending 'koschei.fedoraproject.org.koschei.fedoraproject.org' to ipsilon for auth.

I assume you adjusted for this in the application, but we changed it on the cluster to 'none' so that breaks your adjustment. ;)

I will for now add a 'append' annotation to koschei. IMHO it would be nice to fix this in the application to use the cluster default 'none' setting. :)

I can now login fine in both stg and prod. :)

Metadata Update from @kevin:
- Issue close_status updated to: Fixed with Explanation
- Issue status updated to: Closed (was: Open)

Thanks a lot Kevin!

Metadata