By: Sergio Cambra user 17 May 2019 at 7:28 a.m. CDT

4 Responses
Sergio Cambra gravatar
## Expected behaviour When super gluu custom script initializes, it setup push notification services. So supergluu app in phone gets push notification to approve login. ## Actual behaviour Supergluu initialization fails to setup push notification services, so I have to scan QR code to authorize login. It was working before, but it stopped working few days ago, I don't know why it stopped working. Custom script code or settings haven't been changed. ## Log 2019-05-17 12:14:25,035 INFO [Thread-23] [org.xdi.service.PythonService$PythonLoggerOutputStream] (PythonService.java:239) - Super-Gluu. Initialize Native/SNS/Gluu notification services 2019-05-17 12:14:25,035 INFO [Thread-23] [org.xdi.service.PythonService$PythonLoggerOutputStream] (PythonService.java:239) - Super-Gluu. Initialize Gluu notification services 2019-05-17 12:14:25,036 INFO [Thread-23] [org.xdi.service.PythonService$PythonLoggerOutputStream] (PythonService.java:239) - Super-Gluu. Initialize notification services 2019-05-17 12:14:25,738 INFO [Thread-23] [org.xdi.service.PythonService$PythonLoggerOutputStream] (PythonService.java:239) - Super-Gluu. Initialize Gluu notification services. Failed to load metadata. Exception: 2019-05-17 12:14:25,739 INFO [Thread-23] [org.xdi.service.PythonService$PythonLoggerOutputStream] (PythonService.java:239) - javax.ws.rs.client.ResponseProcessingException: javax.ws.rs.ProcessingException: org.codehaus.jackson.map.exc.UnrecognizedPropertyException: Unrecognized field "notify_endpoint" (Class org.gluu.oxnotify.model.NotifyMetadata), not marked as ignorable 2019-05-17 12:14:25,739 INFO [Thread-23] [org.xdi.service.PythonService$PythonLoggerOutputStream] (PythonService.java:239) - at [Source: org.apache.http.conn.EofSensorInputStream@3af1583f; line: 1, column: 69] (through reference chain: org.gluu.oxnotify.model.NotifyMetadata["notify_endpoint"])

By Sergio Cambra user 17 May 2019 at 7:36 a.m. CDT

Sergio Cambra gravatar
Some more info, I can get metadata from https://api.gluu.org: \# curl https://api.gluu.org/.well-known/notify-configuration {"version":"1.0","issuer":"https://api.gluu.org","notify_endpoint":"https://api.gluu.org/oxnotify/restv1"}

By Sahil Arora user 21 May 2019 at 9:05 a.m. CDT

Sahil Arora gravatar
We restored from backup notification server. Now it should wok well. You may need to restart oxAuth for the updates to take effect.

By Sergio Cambra user 22 May 2019 at 3:21 a.m. CDT

Sergio Cambra gravatar
I restarted oxauth and I can see notifications are sent in the log, but I had to remove my device from gluu and proceed with enrollment again to get notifications in my phone.

By Sergio Cambra user 04 Jun 2019 at 4:24 a.m. CDT

Sergio Cambra gravatar
I have issue again, supergluu was returning proxy error to browser, once I restarted gluu, supergluu failed to initialize gluu notification service: 2019-06-04 08:32:45,610 INFO [Thread-23] [org.xdi.service.PythonService$PythonLoggerOutputStream] (PythonService.java:239) - Super-Gluu. Initialize Gluu notification services. Failed to load metadata. Exception: 2019-06-04 08:32:45,610 INFO [Thread-23] [org.xdi.service.PythonService$PythonLoggerOutputStream] (PythonService.java:239) - javax.ws.rs.ProcessingException: RESTEASY004655: Unable to invoke request I can't connect to api.gluu.org, so I guess it's down: $ curl https://api.gluu.org/.well-known/notify-configuration curl: (7) Failed to connect to api.gluu.org port 443: Connection timed out