Comments (1)
If the client/bridge cannot lookup the IPA server using SRV records, this also creates a failure which cannot be parsed by the keycloak plugin.
Traceback (most recent call last):
File "/root/ipa-tuura/ipatuura-env/lib64/python3.11/site-packages/django/core/handlers/exception.py", line 55, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "/root/ipa-tuura/ipatuura-env/lib64/python3.11/site-packages/django/core/handlers/base.py", line 197, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ipa-tuura/ipatuura-env/lib64/python3.11/site-packages/django/views/decorators/csrf.py", line 56, in wrapper_view
return view_func(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ipa-tuura/ipatuura-env/lib64/python3.11/site-packages/rest_framework/viewsets.py", line 125, in view
return self.dispatch(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ipa-tuura/ipatuura-env/lib64/python3.11/site-packages/rest_framework/views.py", line 509, in dispatch
response = self.handle_exception(exc)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ipa-tuura/ipatuura-env/lib64/python3.11/site-packages/rest_framework/views.py", line 469, in handle_exception
self.raise_uncaught_exception(exc)
File "/root/ipa-tuura/ipatuura-env/lib64/python3.11/site-packages/rest_framework/views.py", line 480, in raise_uncaught_exception
raise exc
File "/root/ipa-tuura/ipatuura-env/lib64/python3.11/site-packages/rest_framework/views.py", line 506, in dispatch
response = handler(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/root/ipa-tuura/src/ipa-tuura/domains/views.py", line 41, in create
raise e
File "/root/ipa-tuura/src/ipa-tuura/domains/views.py", line 39, in create
add_domain(serializer.validated_data)
File "/root/ipa-tuura/src/ipa-tuura/domains/utils.py", line 382, in add_domain
install_client(domain)
File "/root/ipa-tuura/src/ipa-tuura/domains/utils.py", line 101, in install_client
raise Exception("Error enrolling client:\n{}".format(proc.stderr))
Exception: Error enrolling client:
Unable to find IPA Server to join
The ipa-client-install command failed. See /var/log/ipaclient-install.log for more information
2023-07-11 09:04:18,819 ERROR [keycloak.scim_user_spi.Scim] (executor-thread-4) Failed to add integration domain: Unexpected character ('<' (code 60)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
at [Source: (StringReader); line: 1, column: 2]
2023-07-11 09:04:18,820 ERROR [org.keycloak.services.error.KeycloakErrorHandler] (executor-thread-4) Uncaught server error: java.lang.RuntimeException: com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (JSON String, Number, Array, Object or token 'null', 'true' or 'false')
at [Source: (StringReader); line: 1, column: 2]
at keycloak.scim_user_spi.Scim.domainsRequest(Scim.java:159)
at keycloak.scim_user_spi.SCIMUserStorageProviderFactory.validateConfiguration(SCIMUserStorageProviderFactory.java:172)
at org.keycloak.models.jpa.RealmAdapter.importComponentModel(RealmAdapter.java:2023)
at org.keycloak.models.jpa.RealmAdapter.addComponentModel(RealmAdapter.java:2003)
at org.keycloak.models.cache.infinispan.RealmAdapter.addComponentModel(RealmAdapter.java:1556)
at org.keycloak.services.resources.admin.ComponentResource.create(ComponentResource.java:133)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
from ipa-tuura.
Related Issues (20)
- Allow to configure encryption types during AD domain addition
- Dependency Dashboard
- keycloak errors on first get for ldap user HOT 2
- Iipa-tuura package creation (github) HOT 5
- ISSUE: IPA domain needs ldap_user_extra_attrs in sssd.conf HOT 1
- ISSUE: django-rest-swagger is unmaintained and should be replaced HOT 1
- RFE: split users_dn so that user can use different OUs for READ and WRITE
- ISSUE: naming of the django apps is confusing HOT 1
- User lookup fails in keycloak due to null familyName and null givenName HOT 3
- RFE: implement Integration Domain UnitTests with Mock
- failure adding user in ldap when domain requires custom user_object_classes HOT 7
- realm join failing to AD domain HOT 3
- AD users missing attributes
- New AD users not seen in Keycloak HOT 9
- unit tests: false failures related to changes to sssd.conf HOT 3
- Enable CSRF protection for the creds app HOT 4
- Interoperability issues between Domains and SCIM apps
- Applying image updates to a running container make the service to stop working HOT 1
- Adding IPA integration domain is broken HOT 1
- Excessive amount of layers in container
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ipa-tuura.