Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export fails at user export with e.g. incomplete LDAP config #63

Closed
MarcScheib opened this issue May 23, 2024 · 0 comments · Fixed by #66
Closed

Export fails at user export with e.g. incomplete LDAP config #63

MarcScheib opened this issue May 23, 2024 · 0 comments · Fixed by #66
Labels
bug Something isn't working
Milestone

Comments

@MarcScheib
Copy link
Contributor

Describe the bug
If entities are exported and the realm has e.g. an incomplete ldap configuration, the export of users times out and stops the whole export process.

To Reproduce
Steps to reproduce the behavior:

  1. Add LDAP component
  2. Run export command

Expected behavior
Export does not fail completely

@MarcScheib MarcScheib added the bug Something isn't working label May 23, 2024
@MarcScheib MarcScheib added this to the 1.4.0 milestone May 23, 2024
MarcScheib added a commit that referenced this issue May 27, 2024
The user export fails if a component like LDAP provider is
registered. In that case, Keycloak tries to connect to LDAP
to request user info. However, if this connection can't
be established, the user export fails and the complete export
process itself stops.

This fixes the user export by catching potential errors. It logs
the error and continues with the remaining process.
@MarcScheib MarcScheib linked a pull request May 27, 2024 that will close this issue
MarcScheib added a commit that referenced this issue May 27, 2024
The user export fails if a component like LDAP provider is
registered. In that case, Keycloak tries to connect to LDAP
to request user info. However, if this connection can't
be established, the user export fails and the complete export
process itself stops.

This fixes the user export by catching potential errors. It logs
the error and continues with the remaining process.

Closes #63
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant