<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D50Z00008G7VU9SANOkta Classic EngineAdministrationAnswered2024-04-30T09:18:25.000Z2017-04-13T12:04:02.000Z2020-09-08T21:11:55.000Z
Integration of Okta with LDAP
I'm trying to integrate Forgerock OpenDJ directory with Okta. The OpenDJ has been installed on a RHEL 4 VM. I have downloaded the RPM package for the OktaLDAPAgent from the setup page . The installation of the rpm package succeeds . When I try to execute configure_agent.sh script, the LDAP details are configured and the bind is successful . Post which , I see an error as shown below :

 

[ 2017-04-13 11:30:36.941 ] [ main ][ ERROR] [LdapAgentRuntime:71] [] - Agent encountered runtime error: Failed to fetch OAuth Codes from Okta

java.io.EOFException: No content to map to Object due to end of input

        at org.codehaus.jackson.map.ObjectMapper._initForReading(ObjectMapper.java:2775)

        at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2718)

        at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1935)

        at com.okta.agent.api.http.RestClient.getOAuthCodes(RestClient.java:227)

        at com.okta.ldap_agent.config.LdapAgentConfigLoader.getToken(LdapAgentConfigLoader.java:258)

        at com.okta.ldap_agent.config.LdapAgentConfigLoader.register(LdapAgentConfigLoader.java:213)

        at com.okta.ldap_agent.config.LdapAgentConfigLoader.buildConfig(LdapAgentConfigLoader.java:162)

        at com.okta.ldap_agent.LdapAgentRuntime.main(LdapAgentRuntime.java:55)

 

I'm not able to find resources to lead me towards the solution for the issue . Please help !

  • RanjiniS.10251 (Customer)

    A response on this question would be highly appreciated 🙂
  • j5v7c (j5v7c)

    this case may have to be consulted to the Developer Team of Okta
  • ChristianS.74185 (Customer)

    @Ranjini Shastry @Alana Cotten

    I've exactly the same issue:

     

    [ 2017-04-21 15:44:00.341 ] [ main ][  INFO] [UnboundIDLdapClient:132] [] - Connected bind successful

    [ 2017-04-21 15:44:01.403 ] [ main ][ ERROR] [LdapAgentRuntime:71] [] - Agent encountered runtime error: Failed to fetch OAuth Codes from Okta

    java.io.EOFException: No content to map to Object due to end of input

            at org.codehaus.jackson.map.ObjectMapper._initForReading(ObjectMapper.java:2775)

            at org.codehaus.jackson.map.ObjectMapper._readMapAndClose(ObjectMapper.java:2718)

            at org.codehaus.jackson.map.ObjectMapper.readValue(ObjectMapper.java:1935)

            at com.okta.agent.api.http.RestClient.getOAuthCodes(RestClient.java:227)

            at com.okta.ldap_agent.config.LdapAgentConfigLoader.getToken(LdapAgentConfigLoader.java:258)

            at com.okta.ldap_agent.config.LdapAgentConfigLoader.register(LdapAgentConfigLoader.java:213)

            at com.okta.ldap_agent.config.LdapAgentConfigLoader.buildConfig(LdapAgentConfigLoader.java:162)

            at com.okta.ldap_agent.LdapAgentRuntime.main(LdapAgentRuntime.java:55)

     

    I've no idea to fix it. Who can help me?
    Expand Post
  • JamesC.99903 (Customer)

    In case anyone else lands here from Google: Make sure you aren't passing the URL to your Admin console ie it has -admin in the URL.

This question is closed.
Loading
Integration of Okta with LDAP