Error en la API de alfresco

cancel
Showing results for 
Search instead for 
Did you mean: 
Charly-Oliveros
Member II

Error en la API de alfresco

Buen día estimada red.

Tengo una solución de Alfresco Enterprise v6.1.1 en EKS y desde hace unos dias la API me esta generando el siguiente error.

An error has occured in the API: /alfresco/s/enterprise/admin/admin-flocs.
It responded with a status of 500 - Internal Error.
Error Code Information: 500 - An error inside the HTTP server which prevented it from fulfilling the request.
Error Message: Error executing http method [org.apache.http.client.methods.RequestBuilder@36cf2e9f]. Response : null
Server: Alfresco Enterprise v6.1.1 (2 r05b86c2c-b21) schema 12.005
 
Por favor su apoyo, si alguien sabe como subsanar esta novedad.
Error Alfresco.PNG
2 Replies
angelborroy
Alfresco Employee

Re: Error en la API de alfresco

Buenos días, Charly.

Con esa información es difícil diagnosticar el problema.

Adjunta el error detallado que aparece en el log de Alfresco cuando accedes a esa página. En especial, es importante el "stack trace" del bloque "Caused by"

Hyland Developer Evangelist
Charly-Oliveros
Member II

Re: Error en la API de alfresco

Buen día.

Estos son los errores que se registran en los logs.

  • share
    • 2022-05-24 18:11:05,436 INFO [webscripts.connector.RemoteClient] [http-nio-8080-exec-8] Error status 503 The stack details have been removed for security reasons.
      org.apache.http.conn.HttpHostConnectException: Connect to dbp-deploy-alfresco-cs-repository:80 [dbp-deploy-alfresco-cs-repository/172.20.117.187] failed: Connection refused (Connection refused)
  • cs-repository
    • 2022-05-24 20:06:03,480 ERROR [rest.api.PublicApiTenantWebScriptServletRuntime] [http-nio-8080-exec-16] c19aec08-29bf-447b-81b0-b57f13042e6a : [org.keycloak.authorization.client.util.HttpMethod.execute(HttpMethod.java:106), org.keycloak.authorization.client.util.HttpMethodResponse$2.execute(HttpMethodResponse.java:50), org.keycloak.authorization.client.AuthzClient.obtainAccessToken(AuthzClient.java:210), org.alfresco.repo.security.authentication.identityservice.IdentityServiceAuthenticationComponent.authenticateImpl(IdentityServiceAuthenticationComponent.java:80), org.alfresco.repo.security.authentication.AbstractAuthenticationComponent.authenticate(AbstractAuthenticationComponent.java:169), jdk.internal.reflect.GeneratedMethodAccessor785.invoke(Unknown Source), java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.base/java.lang.reflect.Method.invoke(Method.java:566), org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343), org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198), org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163), org.alfresco.enterprise.repo.authorization.AuthorizationInterceptor.checkAuthorization(AuthorizationInterceptor.java:116), org.alfresco.enterprise.repo.authorization.AuthorizationInterceptor.invoke(AuthorizationInterceptor.java:70), org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186), org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212), com.sun.proxy.$Proxy333.authenticate(Unknown Source), org.alfresco.repo.security.authentication.AuthenticationServiceImpl.authenticate(AuthenticationServiceImpl.java:138), org.alfresco.repo.security.authentication.AbstractChainingAuthenticationService.authenticate(AbstractChainingAuthenticationService.java:208), jdk.internal.reflect.GeneratedMethodAccessor784.invoke(Unknown Source), java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.base/java.lang.reflect.Method.invoke(Method.java:566), org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:343), org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:198), org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:163), net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80), org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186), org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:53), org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186), org.alfresco.repo.audit.AuditMethodInterceptor.proceedWithAudit(AuditMethodInterceptor.java:256), org.alfresco.repo.audit.AuditMethodInterceptor.proceed(AuditMethodInterceptor.java:216), org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:171), org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186), org.springframework.transaction.interceptor.TransactionAspectSupport.invokeWithinTransaction(TransactionAspectSupport.java:295), org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:98), org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186), org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212), com.sun.proxy.$Proxy142.authenticate(Unknown Source), org.alfresco.repo.web.scripts.servlet.BasicHttpAuthenticatorFactory$BasicHttpAuthenticator.authenticate(BasicHttpAuthenticatorFactory.java:237), org.alfresco.repo.web.scripts.servlet.RemoteUserAuthenticatorFactory$RemoteUserAuthenticator.authenticate(RemoteUserAuthenticatorFactory.java:236), org.alfresco.rest.api.PublicApiAuthenticatorFactory$PublicApiAuthenticator.authenticate(PublicApiAuthenticatorFactory.java:209), org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:392), org.alfresco.repo.web.scripts.RepositoryContainer$2.execute(RepositoryContainer.java:389), org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:450), org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:431), org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:315), org.alfresco.rest.api.PublicApiRepositoryContainer.access$001(PublicApiRepositoryContainer.java:47), org.alfresco.rest.api.PublicApiRepositoryContainer$1.doWork(PublicApiRepositoryContainer.java:84), org.alfresco.repo.tenant.TenantUtil.runAsWork(TenantUtil.java:126), org.alfresco.repo.tenant.TenantUtil.runAsTenant(TenantUtil.java:95), org.alfresco.rest.api.PublicApiRepositoryContainer.executeScript(PublicApiRepositoryContainer.java:80), org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:399), org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:210), org.alfresco.repo.web.scripts.TenantWebScriptServlet.service(TenantWebScriptServlet.java:82), javax.servlet.http.HttpServlet.service(HttpServlet.java:742), jdk.internal.reflect.GeneratedMethodAccessor754.invoke(Unknown Source), java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.base/java.lang.reflect.Method.invoke(Method.java:566), org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282), org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279), java.base/java.security.AccessController.doPrivileged(Native Method), java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550), org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314), org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:170), org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:225), org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47), org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149), org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145), java.base/java.security.AccessController.doPrivileged(Native Method), org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144), org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52), jdk.internal.reflect.GeneratedMethodAccessor751.invoke(Unknown Source), java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.base/java.lang.reflect.Method.invoke(Method.java:566), org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282), org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279), java.base/java.security.AccessController.doPrivileged(Native Method), java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550), org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314), org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253), org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:191), org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47), org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149), org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145), java.base/java.security.AccessController.doPrivileged(Native Method), org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144), org.alfresco.module.aosmodule.service.ContextRootFilter.doFilter(ContextRootFilter.java:93), jdk.internal.reflect.GeneratedMethodAccessor751.invoke(Unknown Source), java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.base/java.lang.reflect.Method.invoke(Method.java:566), org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282), org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279), java.base/java.security.AccessController.doPrivileged(Native Method), java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550), org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314), org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253), org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:191), org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47), org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149), org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145), java.base/java.security.AccessController.doPrivileged(Native Method), org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144), org.alfresco.web.app.servlet.ServletMetricsFilter.doFilter(ServletMetricsFilter.java:161), org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:89), jdk.internal.reflect.GeneratedMethodAccessor751.invoke(Unknown Source), java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.base/java.lang.reflect.Method.invoke(Method.java:566), org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282), org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279), java.base/java.security.AccessController.doPrivileged(Native Method), java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550), org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314), org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253), org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:191), org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47), org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149), org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145), java.base/java.security.AccessController.doPrivileged(Native Method), org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144), org.alfresco.repo.web.filter.beans.NullFilter.doFilter(NullFilter.java:75), jdk.internal.reflect.GeneratedMethodAccessor760.invoke(Unknown Source), java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.base/java.lang.reflect.Method.invoke(Method.java:566), org.alfresco.repo.management.subsystems.ChainingSubsystemProxyFactory$1.invoke(ChainingSubsystemProxyFactory.java:132), org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:186), org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:212), com.sun.proxy.$Proxy290.doFilter(Unknown Source), org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:89), jdk.internal.reflect.GeneratedMethodAccessor751.invoke(Unknown Source), java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.base/java.lang.reflect.Method.invoke(Method.java:566), org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282), org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279), java.base/java.security.AccessController.doPrivileged(Native Method), java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550), org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314), org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253), org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:191), org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47), org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149), org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145), java.base/java.security.AccessController.doPrivileged(Native Method), org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144), org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:53), jdk.internal.reflect.GeneratedMethodAccessor751.invoke(Unknown Source), java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.base/java.lang.reflect.Method.invoke(Method.java:566), org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282), org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279), java.base/java.security.AccessController.doPrivileged(Native Method), java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550), org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314), org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253), org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:191), org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47), org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149), org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145), java.base/java.security.AccessController.doPrivileged(Native Method), org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144), org.alfresco.web.app.servlet.ClearSecurityContextFilter.doFilter(ClearSecurityContextFilter.java:53), jdk.internal.reflect.GeneratedMethodAccessor751.invoke(Unknown Source), java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.base/java.lang.reflect.Method.invoke(Method.java:566), org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:282), org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:279), java.base/java.security.AccessController.doPrivileged(Native Method), java.base/javax.security.auth.Subject.doAsPrivileged(Subject.java:550), org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:314), org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253), org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:191), org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:47), org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:149), org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:145), java.base/java.security.AccessController.doPrivileged(Native Method), org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144), org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198), org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96), org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:493), org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140), org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81), org.apache.catalina.valves.AbstractAccessLogValve.invoke(AbstractAccessLogValve.java:650), org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87), org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342), org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800), org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66), org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806), org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498), org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49), java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128), java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628), org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61), java.base/java.lang.Thread.run(Thread.java:834)]
    • 2022-05-24 20:05:16,354 ERROR [extensions.webscripts.AbstractRuntime] [http-nio-8080-exec-52] Exception from executeScript: Error executing http method [org.apache.http.client.methods.RequestBuilder@587833e5]. Response : null
      java.lang.RuntimeException: Error executing http method [org.apache.http.client.methods.RequestBuilder@587833e5]. Response : null

Gracias, quedo atento.