Coder Social home page Coder Social logo

Comments (1)

justin-stephenson avatar justin-stephenson commented on August 22, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.