By: Shaun Walker named 29 Jun 2020 at 4:03 a.m. CDT

5 Responses
Shaun Walker gravatar
Hi Team, Have a new install of Gluu Server 4.1.1 but unable to auth at all. Log seems to show the following: 2020-06-29 18:13:50,402 ERROR [qtp1590550415-57] [org.gluu.oxauth.client.OpenIdConfigurationClient] (OpenIdConfigurationClient.java:187) - There is an error in the JSON response. Check if there is a syntax error in the JSON response or there is a wrong key org.json.JSONException: A JSONObject text must begin with '{' at 1 [character 2 line 1] I started reading through the code and from what I can tell its pulling this data from another API. Could it be a file with some bad data, or something in openDJ itself causing the issue? Cheers, Shaun

By Mohib Zico staff 29 Jun 2020 at 4:26 a.m. CDT

Mohib Zico gravatar
Hello Shaun, You are getting it just after completing the installation?

By Shaun Walker named 29 Jun 2020 at 4:29 a.m. CDT

Shaun Walker gravatar
Hi Mohib, I only attempted to load the ui after setting up ldap replication. I am wondering if its possible a data issue? Cheers, Shaun

By Mohib Zico staff 29 Jun 2020 at 4:33 a.m. CDT

Mohib Zico gravatar
>> I only attempted to load the ui after setting up ldap replication LDAP replication? It's cluster?

By Shaun Walker named 29 Jun 2020 at 4:49 a.m. CDT

Shaun Walker gravatar
Hi Mohib, Thank you for your quick reply. It is in a cluster. I looked deeper and discovered that the admin-backend.ldif was owned by root, changing this fixed that issue. However am running in a seperate issue ==> /opt/gluu-server/opt/gluu/jetty/oxauth/logs/2020_06_29.jetty.log <== 2020-06-29 19:43:06,668 ERROR [qtp1590550415-12] [org.gluu.service.cache.NativePersistenceCacheProvider] (NativePersistenceCacheProvider.java:179) - Failed to put entry, key: ed54876e-e683-4150-b5bc-e38b71012842, hashedKey: 5a1f8778c573666be3a013bb64e198ea9970948b11625e8026c52e355abbc8a6, message: Failed to persist entry: uuid=5a1f8778c573666be3a013bb64e198ea9970948b11625e8026c52e355abbc8a6,ou=cache,o=gluu org.gluu.persist.exception.EntryPersistenceException: Failed to persist entry: uuid=5a1f8778c573666be3a013bb64e198ea9970948b11625e8026c52e355abbc8a6,ou=cache,o=gluu I believe that it might be memcached related, as it failed to install due to our corporate proxy blocking that resource

By Mohib Zico staff 29 Jun 2020 at 4:54 a.m. CDT

Mohib Zico gravatar
Great! Please open separate ticket for separate issue, so it will help community to got the problem/resolution with ticket's subject name. Also, describe your platform as much as possible whenever you create new ticket. i.e. I thought you were getting the initial problem with single instance default installation. Couple of hints how you can open ticket for your case: - Is it cluster? yes/no. - If it's cluster, how did you build that? - Is it fresh installation or upgrade? - If it's fresh installation, are you trying to import old data or not. etc. Thank you!