CloudBees CI RememberMeAuthenticationToken error after upgrade to 2.440.3.7 on Windows Server 2016

1 minute readKnowledge base

Issue

After upgrading CloudBees CI on traditional platforms running on Windows Server 2016 to version 2.440.3.7, and the controller is configured with the setting <disableRememberMe>false</disableRememberMe>, and operations center single sign on is enabled, when loading the controller UI an oops error with unhandled exception with ID is displayed, and in the controller logs the following error is shown:

WARNING h.i.i.InstallUncaughtExceptionHandler#handleException: Caught unhandled exception with ID ... java.lang.IllegalArgumentException: Only UsernamePasswordAuthenticationToken is supported: org.springframework.security.authentication.RememberMeAuthenticationToken at org.springframework.util.Assert.instanceCheckFailed(Assert.java:702) at org.springframework.util.Assert.isInstanceOf(Assert.java:621) at org.springframework.security.authentication.dao.AbstractUserDetailsAuthenticationProvider.authenticate(AbstractUserDetailsAuthenticationProvider.java:124)

Resolution

Clearing the browser cookies for the controller URL has shown to resolve the issue, though this issue has not been reproduced in a controlled environment, and was not reproducible on other controllers running on Linux which followed the same upgrade path. If this issue is encountered, please contact CloudBees Support to help us investigate further to reproduce and isolate the issue.

Workaround

Opening an incognito window to access the controller UI would help validate that the issue is related to the browser cookies.

Tested product/plugin versions

  • CloudBees CI 2.440.3.7 running on Windows Server 2016, upgraded from version 2.426.3.3.