By: Maxime Tardif user 20 Oct 2020 at 10:21 a.m. CDT

4 Responses
Maxime Tardif gravatar
Our gluu-serverd crashes frequently for no apparent reason. It crashed yesterday at 10:25 AM and the only thing we can find in the logs is the following: ``` 2020-10-19 10:21:01,456 ERROR [qtp353842779-2261740] [org.gluu.oxauth.service.external.ExternalAuthenticationService] (ExternalAuthenticationService.java:254) - WELD-000229: Contextual reference of Managed Bean [class org.gluu.oxauth.security.Identity] with qualifiers [@Default @Any @Named] is not valid after container STATIC_INSTANCE shutdown org.jboss.weld.exceptions.IllegalStateException: WELD-000229: Contextual reference of Managed Bean [class org.gluu.oxauth.security.Identity] with qualifiers [@Default @Any @Named] is not valid after container STATIC_INSTANCE shutdown at org.jboss.weld.bean.proxy.ContextBeanInstance.getInstance(ContextBeanInstance.java:85) ~[weld-core-impl-3.1.2.Final.jar:3.1.2.Final] at org.jboss.weld.bean.proxy.ProxyMethodHandler.getInstance(ProxyMethodHandler.java:131) ~[weld-core-impl-3.1.2.Final.jar:3.1.2.Final] at org.gluu.oxauth.security.Identity$Proxy$_$$_WeldClientProxy.setWorkingParameter(Unknown Source) ~[classes/:?] at sun.reflect.GeneratedMethodAccessor850.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222] at java.lang.reflect.Method.invoke(Method.java:498) ~[?:1.8.0_222] at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:188) ~[jython-standalone-2.7.1.jar:?] at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:206) ~[jython-standalone-2.7.1.jar:?] at org.python.core.PyObject.__call__(PyObject.java:515) ~[jython-standalone-2.7.1.jar:?] at org.python.core.PyObject.__call__(PyObject.java:519) ~[jython-standalone-2.7.1.jar:?] at org.python.core.PyMethod.__call__(PyMethod.java:156) ~[jython-standalone-2.7.1.jar:?] at org.python.pycode._pyx3.prepareForStep$9(passport_social.py:193) ~[?:?] at org.python.pycode._pyx3.call_function(passport_social.py) ~[?:?] at org.python.core.PyTableCode.call(PyTableCode.java:171) ~[jython-standalone-2.7.1.jar:?] at org.python.core.PyBaseCode.call(PyBaseCode.java:308) ~[jython-standalone-2.7.1.jar:?] at org.python.core.PyBaseCode.call(PyBaseCode.java:199) ~[jython-standalone-2.7.1.jar:?] at org.python.core.PyFunction.__call__(PyFunction.java:482) ~[jython-standalone-2.7.1.jar:?] at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:237) ~[jython-standalone-2.7.1.jar:?] at org.python.core.PyMethod.__call__(PyMethod.java:228) ~[jython-standalone-2.7.1.jar:?] at org.python.core.PyMethod.__call__(PyMethod.java:218) ~[jython-standalone-2.7.1.jar:?] at org.python.core.PyMethod.__call__(PyMethod.java:213) ~[jython-standalone-2.7.1.jar:?] at org.python.core.PyObject._jcallexc(PyObject.java:3644) ~[jython-standalone-2.7.1.jar:?] at org.python.core.PyObject._jcall(PyObject.java:3676) ~[jython-standalone-2.7.1.jar:?] at org.python.proxies.__builtin__$PersonAuthentication$3.prepareForStep(Unknown Source) ~[?:?] at org.gluu.oxauth.service.external.ExternalAuthenticationService.executeExternalPrepareForStep(ExternalAuthenticationService.java:252) ~[classes/:?] at org.gluu.oxauth.service.external.ExternalAuthenticationService$Proxy$_$$_WeldClientProxy.executeExternalPrepareForStep(Unknown Source) ~[classes/:?] at org.gluu.oxauth.auth.Authenticator.prepareAuthenticationForStepImpl(Authenticator.java:722) ~[classes/:?] at org.gluu.oxauth.auth.Authenticator.prepareAuthenticationForStep(Authenticator.java:614) ~[classes/:?] at sun.reflect.GeneratedMethodAccessor331.invoke(Unknown Source) ~[?:?] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:1.8.0_222] ``` There are no other indications of any causes, no LDAP logs indicating lost connections, other services failing due to oxauth failing first at 10:21. Let me know if you need anything Thank you

By Aliaksandr Samuseu staff 20 Oct 2020 at 10:28 a.m. CDT

Aliaksandr Samuseu gravatar
Hi, Maxime. We would need more data to troubleshoot this. Ideally, you should switch oxAuth's logging level to TRACE level, wait until next outage, and share the complete log with us (not fragment).

By Maxime Tardif user 23 Oct 2020 at 2:06 p.m. CDT

Maxime Tardif gravatar
Hi, We had an outage yesterday (2020-10-22) at 10:21PM. See the following trace log: https://fichiers.saguenay.ca/link/oTAFxYT8JE1vBxItDHYG3m Let me know if you need any other log Thank you

By Mohib Zico Account Admin 30 Nov 2020 at 2:32 a.m. CST

Mohib Zico gravatar
>> See the following trace log: https://fichiers.saguenay.ca/link/oTAFxYT8JE1vBxItDHYG3m Sorry, nothing in link. May be it's removed.

By Maxime Tardif user 30 Nov 2020 at 9:23 a.m. CST

Maxime Tardif gravatar
It expired, here it is again: https://fichiers.saguenay.ca/link/mA7gzta1qkPeQ8CsXaxqLM