By: richard abbott user 19 Dec 2018 at 7:54 a.m. CST

4 Responses
richard abbott gravatar
I have installed Gluu on a VM on an Azure Platform. Installed SSL certs with CertBot Enabled Super_Gluu Login as user - Scan Bar Code logout Login again but get not push notification to my Mobile phone I can see - Super-Gluu. Determine remote location. Exception: Anything obvious I have missed ???? additional erros logs - 'NoneType' object has no attribute 'getHttpResponse' 2018-12-19 14:05:47,420 INFO [qtp370988149-17] [org.xdi.service.PythonService$PythonLoggerOutputStream] (PythonService.java:239) - Super-Gluu. Prepare for step 2. Failed to determine remote location by remote IP '193.84.225.xxx'

By Sahil Arora user 19 Dec 2018 at 5:04 p.m. CST

Sahil Arora gravatar
Hi Richard, Please replace the existing Super Gluu script in your Gluu Server with the following updated script https://github.com/GluuFederation/oxAuth/blob/version_3.1.5/Server/integrations/super_gluu/SuperGluuExternalAuthenticator.py Also make sure your Gluu Server is accessible on the device. Please re-test and confirm.

By richard abbott user 20 Dec 2018 at 4:23 a.m. CST

richard abbott gravatar
Big thanks for a prompt reply I have added a snippet from the OXauth log. at java.lang.Thread.run(Thread.java:748) [?:1.8.0_181] 2018-12-20 10:21:50,160 INFO [qtp804611486-18] [org.xdi.oxauth.auth.Authenticator] (Authenticator.java:301) - Authentication reset to step : '2' 2018-12-20 10:21:50,286 ERROR [qtp804611486-16] [org.xdi.oxauth.service.net.HttpService] (HttpService.java:205) - Failed to execute get request java.net.UnknownHostException: ip-api.com: Temporary failure in name resolution at java.net.Inet6AddressImpl.lookupAllHostAddr(Native Method) ~[?:1.8.0_181] at java.net.InetAddress$2.lookupAllHostAddr(InetAddress.java:928) ~[?:1.8.0_181] at java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1323) ~[?:1.8.0_181] at java.net.InetAddress.getAllByName0(InetAddress.java:1276) ~[?:1.8.0_181] at java.net.InetAddress.getAllByName(InetAddress.java:1192) ~[?:1.8.0_181] at java.net.InetAddress.getAllByName(InetAddress.java:1126) ~[?:1.8.0_181] at org.apache.http.impl.conn.SystemDefaultDnsResolver.resolve(SystemDefaultDnsResolver.java:45) ~[httpclient-4.5.3.jar:4.5.3] at org.apache.http.impl.conn.DefaultClientConnectionOperator.resolveHostname(DefaultClientConnectionOperator.java:263) ~[httpclient-4.5.3.jar:4.5.3] at org.apache.http.impl.conn.DefaultClientConnectionOperator.openConnection(DefaultClientConnectionOperator.java:162) ~[httpclient-4.5.3.jar:4.5.3] at org.apache.http.impl.conn.ManagedClientConnectionImpl.open(ManagedClientConnectionImpl.java:326) ~[httpclient-4.5.3.jar:4.5.3] at org.apache.http.impl.client.DefaultRequestDirector.tryConnect(DefaultRequestDirector.java:610) ~[httpclient-4.5.3.jar:4.5.3] at org.apache.http.impl.client.DefaultRequestDirector.execute(DefaultRequestDirector.java:445) ~[httpclient-4.5.3.jar:4.5.3] at org.apache.http.impl.client.AbstractHttpClient.doExecute(AbstractHttpClient.java:835) ~[httpclient-4.5.3.jar:4.5.3] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:83) ~[httpclient-4.5.3.jar:4.5.3] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:108) ~[httpclient-4.5.3.jar:4.5.3] at org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:56) ~[httpclient-4.5.3.jar:4.5.3] at org.xdi.oxauth.service.net.HttpService.executeGet(HttpService.java:201) [classes/:?] at org.xdi.oxauth.service.net.HttpService$Proxy$_$$_WeldClientProxy.executeGet(Unknown Source) [classes/:?] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:1.8.0_181] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:1.8.0_181] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_181] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_181]

By richard abbott user 21 Dec 2018 at 3:17 a.m. CST

richard abbott gravatar
I have an update ....... I noticed that although I had what it seems a signed SSl Http cert from CertBot , I had noticed that the cert was not appearing on the Admin GUI under the certificate tab. I thought this was not correct so resintalled the certs again and re-tested. All seems ok now. Thanks.

By Sahil Arora user 21 Dec 2018 at 7:27 a.m. CST

Sahil Arora gravatar
Thanks for the update Richard. Glad to know that issue is resolved. Let us know should you need any further help. Happy Holidays!!