Closed nynymike closed 7 years ago
Fixed
Still getting this error...
2017-01-31 19:58:43,531 ERROR [pool-2-thread-1] [org.xdi.service.custom.script.CustomScriptManager] (CustomScriptManager.java:364) - Failed to initialize custom script: 'u2f'
org.jboss.resteasy.client.exception.ResteasyIOException: IOException
at org.jboss.resteasy.client.exception.mapper.ApacheHttpClient4ExceptionMapper.mapIOException(ApacheHttpClient4ExceptionMapper.java:110) ~[resteasy-jaxrs-2.3.7.Final.jar:?]
at ...
Caused by: java.net.ConnectException: Connection refused (Connection refused)
refused (Connection refused)
But weridly, I think it worked the first time I enabled the script... it was after a restart that it failed.
After enabling it it works fine:
2017-02-01 17:37:39,995 TRACE [qtp1100439041-17] [oxauth.ws.rs.fido.u2f.U2fConfigurationWS] (U2fConfigurationWS.java:67) - FIDO U2F configuration: {
"version" : "2.0",
"issuer" : "https://u144.gluu.info",
"registration_endpoint" : "https://u144.gluu.info/oxauth/seam/resource/restv1/fido/u2f/registration",
"authentication_endpoint" : "https://u144.gluu.info/oxauth/seam/resource/restv1/fido/u2f/authentication"
}
Cheeking how it works after restart
Updated script to re-try OpenId configuration load at restart