Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Testing connection to ldap on the settings page does not work in 25.0.1 #30821

@ihard

Description

@ihard

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

ldap

Describe the bug

Testing connection to ldap on the settings page does not work.

Version

25.0.1

Regression

  • The issue is a regression

Expected behavior

success ldap test

Actual behavior

After pressing the button "Test connection" on the ldap settings page , I get an error in the interface:
Error when trying to connect to LDAP: 'UnknownError'
in the logs:
{"timestamp":"2024-06-26T16:42:01.048130619+03:00","sequence":681143,"loggerClassName":"org.jboss.logging.Logger","loggerName":"WebApplicationException","level":"DEBUG","message":"Restarting handler chain for exception exception","threadName":"executor-thread-21","threadId":113,"mdc":{},"ndc":"","hostName":"iva-keycloak-test-1","processName":"QuarkusEntryPoint","processId":1,"exception":{"refId":1,"exceptionType":"org.keycloak.services.ErrorResponseException","message":"HTTP 500 Internal Server Error","frames":[{"class":"org.keycloak.services.ErrorResponse","method":"error","line":43},{"class":"org.keycloak.services.ErrorResponse","method":"error","line":36},{"class":"org.keycloak.services.resources.admin.TestLdapConnectionResource","method":"testLDAPConnection","line":96},{"class":"org.keycloak.services.resources.admin.TestLdapConnectionResource$quarkusrestinvoker$testLDAPConnection_d65ae9343a71f2736595679e81594225f9de5d6f","method":"invoke"},{"class":"org.jboss.resteasy.reactive.server.handlers.InvocationHandler","method":"handle","line":29},{"class":"io.quarkus.resteasy.reactive.server.runtime.QuarkusResteasyReactiveRequestContext","method":"invokeHandler","line":141},{"class":"org.jboss.resteasy.reactive.common.core.AbstractResteasyReactiveContext","method":"run","line":147},{"class":"io.quarkus.vertx.core.runtime.VertxCoreRecorder$14","method":"runWith","line":582},{"class":"org.jboss.threads.EnhancedQueueExecutor$Task","method":"run","line":2513},{"class":"org.jboss.threads.EnhancedQueueExecutor$ThreadBody","method":"run","line":1538},{"class":"org.jboss.threads.DelegatingRunnable","method":"run","line":29},{"class":"org.jboss.threads.ThreadLocalResettingRunnable","method":"run","line":29},{"class":"io.netty.util.concurrent.FastThreadLocalRunnable","method":"run","line":30},{"class":"java.lang.Thread","method":"run","line":1583}]}}
User synchronization continues to work without errors, the Sync all users button also works.

How to Reproduce?

On the page for setting up a connection to ldap, click the button "Test connection"

Anything else?

No response

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions