Endless redirects

86 views
Skip to first unread message

Stefan Moebius

unread,
Jan 27, 2022, 10:17:49 AM1/27/22
to jenkins...@googlegroups.com
Hi,

One of our Jenkins deployments recently started acting up. When you
access it, you get prompted for your credentials (no surprise there), it
apparently accepts them, but then fails to load any further page.
Looking at a network trace shows, that requests to /iconSize?16x16 and
/j_spring_security_check are answered with a redirect to /

Anybody able to suggest what’s wrong?

Yes, I am aware of the various questions to similar issues, but I’m not
using OpenID, nor a proxy.

Jenkins security is configured to Active Directory, which appears to
work. The setting “Require TLS” doesn’t make a difference.

This is Jenkins 2.319.2. All installed plugins are up-to-date.

I’ve tried to play around with extended logging, but since I don’t know
what I’m looking for, I’ve had little luck.

What could I look for?

Regards,
Stefan

Ivan Fernandez Calvo

unread,
Jan 28, 2022, 4:33:47 AM1/28/22
to Jenkins Users
It looks like a reverse proxy wrong redirection rules to me (I hit it in the past), you can check with `curl` the redirections and who make them, something like

curl -Lv -u user:${PASSWORD} ${JENKINS_URL}/iconSize?16x16

Stefan Moebius

unread,
Jan 28, 2022, 6:05:32 AM1/28/22
to jenkins...@googlegroups.com
Thanks Ivan,

But no, as I said there's no proxy of any sort involved. It's just a
plain Jenkins installation on a VM that's directly connected to the
target network.

--
Stefan
> --
> You received this message because you are subscribed to the Google
> Groups "Jenkins Users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to jenkinsci-use...@googlegroups.com
> <mailto:jenkinsci-use...@googlegroups.com>.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/jenkinsci-users/a70ee3ec-01bf-4b2c-94f0-9d8c36614277n%40googlegroups.com
> <https://groups.google.com/d/msgid/jenkinsci-users/a70ee3ec-01bf-4b2c-94f0-9d8c36614277n%40googlegroups.com?utm_medium=email&utm_source=footer>.

Stefan Moebius

unread,
Feb 14, 2022, 4:59:43 AM2/14/22
to jenkins...@googlegroups.com
For what it's worth, removing the Simple Theme plugin resolved our problem.

--
Stefan
Reply all
Reply to author
Forward
0 new messages