By: Kwadwo Obeng user 01 May 2021 at 11:08 a.m. CDT

2 Responses
Kwadwo Obeng gravatar
I have two separate instances of gluu server running on two virtual machines.First is Ubuntu 20, Gluu server version 4.2.2 at 9GB RAM and 9CPU's and the second is Debian 10,Gluu Server version 4.2.3 at 6GB RAM AND 8 CPU's. So back to the problem.When I try to access OxTrust I end up at a page with this error message "Ooops Something wrong happened"I end up at this same error page when I click on Return.And this is happening with both servers at the same time.I have restarted the servers, restarted the services but still to no avail.This is not all.Once in a while all the services on the servers stop leading to Gluu's an error 503 page so I set up a cron job to restart the servers every morning and that solved the 503 error.I have done numerous tests on and these issues are preventing us from going live. I reached out sales for the prices of VIP support and I was contacted by mail but I never heard from the team again.

By Mohib Zico staff 01 May 2021 at 1:45 p.m. CDT

Mohib Zico gravatar
Hi Kwadwo, >> When I try to access OxTrust I end up at a page with this error message "Ooops Something wrong happened"I end up at this same error page when I click on Return.And this is happening with both servers at the same time Something must be wrong during installation then. Please check oxtrust.log why it's throwing this. I installed multiple 4.2.2 and 4.2.3 to test, haven't faced this issue yet. >> I reached out sales for the prices of VIP support and I was contacted by mail but I never heard from the team again. My apologies on that. I'll reach sales team personally and they will get back to you next week.

By Kwadwo Obeng user 17 May 2021 at 5:05 a.m. CDT

Kwadwo Obeng gravatar
Sorry about the late response.This is the main error that I saw in my logs that day.I cut it short it make it readable. 2021-05-01 14:43:58,956 ERROR [qtp534906248-14] [org.gluu.oxauth.client.OpenIdConfigurationClient] (OpenIdConfigurationClient.java:90) - 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] at org.json.JSONTokener.syntaxError(JSONTokener.java:507) ~[json-20200518.jar:?] at org.json.JSONObject.<init>(JSONObject.java:222) ~[json-20200518.jar:?] at org.json.JSONObject.<init>(JSONObject.java:406) ~[json-20200518.jar:?] at org.gluu.oxauth.client.OpenIdConfigurationClient.parse(OpenIdConfigurationClient.java:112) ~[oxauth-client-4.2.1.Final.jar:?] at org.gluu.oxauth.client.OpenIdConfigurationClient._execOpenIdConfiguration(OpenIdConfigurationClient.java:88) ~[oxauth-client-4.2.1.Final.jar:?] at org.gluu.oxauth.client.OpenIdConfigurationClient.execOpenIdConfiguration(OpenIdConfigurationClient.java:52) ~[oxauth-client-4.2.1.Final.jar:?] at org.gluu.oxtrust.service.OpenIdService.loadOpenIdConfiguration(OpenIdService.java:61) ~[oxtrust-service-4.2.1.Final.jar:?] at org.gluu.oxtrust.service.OpenIdService.initInternal(OpenIdService.java:46) ~[oxtrust-service-4.2.1.Final.jar:?] at org.gluu.util.init.Initializable.init(Initializable.java:26) ~[oxcore-util-4.2.1.Final.jar:?] at org.gluu.oxtrust.service.OpenIdService.getOpenIdConfiguration(OpenIdService.java:73) ~[oxtrust-service-4.2.1.Final.jar:?] at org.gluu.oxtrust.service.OpenIdService$Proxy$_$$_WeldClientProxy.getOpenIdConfiguration(Unknown Source) ~[oxtrust-service-4.2.1.Final.jar:?] at org.gluu.oxtrust.action.Authenticator.getAuthorizationUrl(Authenticator.java:431) ~[classes/:?] at org.gluu.oxtrust.action.Authenticator.oAuthLogin(Authenticator.java:208) ~[classes/:?] at org.gluu.oxtrust.action.Authenticator.preAuthenticate(Authenticator.java:111) ~[classes/:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?] at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?] at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?] at java.lang.reflect.Method.invoke(Method.java:566) ~[?:?]