cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to login to share all of a sudden!

sepgs2004
Star Contributor
Star Contributor

Environment
Alfresco community edition 5.2.0

I was uninstalling some AMPs and reinstalling them, now and then. And, I was stopping/restarting the server using the Windows Services. All of a sudden, I could not access the share ui, with admin/admin.
I cleared log files from the root folder, I am not sure if I accidentally deleted anything.

While attempting to share login
Your authentication details haven't been recognized or Alfresco Content Services may not be available at this time.

Below is an exception, I see in the share.log

2020-11-29 15:17:48,683 INFO  [org.alfresco.web.site.EditionInterceptor] [http-apr-8180-exec-5] Successfully retrieved license information from Alfresco.
2020-11-29 15:17:50,026 INFO  [org.springframework.extensions.webscripts.connector.RemoteClient] [http-apr-8180-exec-5] Exception calling (POST) http://localhost:8180/alfresco/s/remoteadm/update/alfresco/site-data/module-deployments/Aikau%201.0.101.10%20Config%20Module.xml?s=sitestore
2020-11-29 15:17:50,027 INFO  [org.springframework.extensions.webscripts.connector.RemoteClient] [http-apr-8180-exec-5] Error status 500 Connection reset
java.net.SocketException: Connection reset
	at java.net.SocketInputStream.read(Unknown Source)
	at java.net.SocketInputStream.read(Unknown Source)
	at org.apache.http.impl.io.SessionInputBufferImpl.streamRead(SessionInputBufferImpl.java:137)
	at org.apache.http.impl.io.SessionInputBufferImpl.fillBuffer(SessionInputBufferImpl.java:153)
	at org.apache.http.impl.io.SessionInputBufferImpl.readLine(SessionInputBufferImpl.java:282)
	at org.apache.http.impl.io.ChunkedInputStream.getChunkSize(ChunkedInputStream.java:264)
	at org.apache.http.impl.io.ChunkedInputStream.nextChunk(ChunkedInputStream.java:225)
	at org.apache.http.impl.io.ChunkedInputStream.read(ChunkedInputStream.java:184)
	at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:137)
	at org.apache.http.conn.EofSensorInputStream.read(EofSensorInputStream.java:150)
	at org.springframework.extensions.webscripts.connector.RemoteClient.copyResponseStreamOutput(RemoteClient.java:1390)
	at org.alfresco.web.scripts.SlingshotRemoteClient.copyResponseStreamOutput(SlingshotRemoteClient.java:199)
	at org.springframework.extensions.webscripts.connector.RemoteClient.service(RemoteClient.java:1269)
	at org.springframework.extensions.webscripts.connector.RemoteClient.service(RemoteClient.java:931)
	at org.springframework.extensions.webscripts.connector.RemoteClient.call(RemoteClient.java:654)
	at org.springframework.extensions.webscripts.connector.RemoteClient.call(RemoteClient.java:624)
	at org.springframework.extensions.webscripts.connector.HttpConnector.call(HttpConnector.java:94)
	at org.springframework.extensions.webscripts.connector.AuthenticatingConnector.call(AuthenticatingConnector.java:213)
	at org.springframework.extensions.webscripts.RemoteStore.callPost(RemoteStore.java:722)
	at org.springframework.extensions.webscripts.RemoteStore.updateDocument(RemoteStore.java:402)
	at org.springframework.extensions.surf.persister.PathStoreObjectPersister.saveObject(PathStoreObjectPersister.java:199)
	at org.springframework.extensions.surf.ObjectPersistenceService.saveObject(ObjectPersistenceService.java:236)
	at org.springframework.extensions.surf.ModelObjectService.saveObject(ModelObjectService.java:518)
	at org.springframework.extensions.surf.ModuleDeploymentService.saveDeployedModuleConfigurations(ModuleDeploymentService.java:606)
	at org.springframework.extensions.surf.ModuleDeploymentService.getDeployedModules(ModuleDeploymentService.java:559)
	at org.springframework.extensions.surf.extensibility.impl.BasicExtensibilityModuleHandler.evaluateModules(BasicExtensibilityModuleHandler.java:191)
	at org.springframework.extensions.surf.support.AbstractRequestContext.getEvaluatedModules(AbstractRequestContext.java:1008)
	at org.springframework.extensions.surf.support.AbstractRequestContext.getExtendingModuleFiles(AbstractRequestContext.java:1221)
	at org.springframework.extensions.webscripts.WebTemplateProcessor.executeScriptBodyExtensions(WebTemplateProcessor.java:237)
	at org.springframework.extensions.webscripts.WebTemplateProcessor.executeBody(WebTemplateProcessor.java:348)
	at org.springframework.extensions.surf.render.AbstractProcessor.execute(AbstractProcessor.java:58)
	at org.springframework.extensions.surf.render.RenderService.processTemplate(RenderService.java:724)
	at org.springframework.extensions.surf.render.bean.TemplateInstanceRenderer.calculateComponentDependencies(TemplateInstanceRenderer.java:77)
	at org.springframework.extensions.surf.render.bean.TemplateInstanceRenderer.body(TemplateInstanceRenderer.java:136)
	at org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:78)
	at org.springframework.extensions.surf.render.bean.PageRenderer.body(PageRenderer.java:86)
	at org.springframework.extensions.surf.render.AbstractRenderer.render(AbstractRenderer.java:78)
	at org.springframework.extensions.surf.render.RenderService.renderPage(RenderService.java:770)
	at org.springframework.extensions.surf.mvc.PageView.dispatchPage(PageView.java:412)
	at org.springframework.extensions.surf.mvc.PageView.renderView(PageView.java:251)
	at org.springframework.extensions.surf.mvc.AbstractWebFrameworkView.renderMergedOutputModel(AbstractWebFrameworkView.java:321)
	at org.springframework.web.servlet.view.AbstractView.render(AbstractView.java:264)
	at org.springframework.web.servlet.DispatcherServlet.render(DispatcherServlet.java:1216)
	at org.springframework.web.servlet.DispatcherServlet.processDispatchResult(DispatcherServlet.java:1001)
	at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:945)
	at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:867)
	at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:951)
	at org.springframework.web.servlet.FrameworkServlet.doGet(FrameworkServlet.java:842)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:624)
	at org.springframework.web.servlet.FrameworkServlet.service(FrameworkServlet.java:827)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.springframework.extensions.webscripts.servlet.SecurityHeadersFilter.doFilter(SecurityHeadersFilter.java:177)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.springframework.extensions.webscripts.servlet.CSRFFilter.doFilter(CSRFFilter.java:322)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:474)
	at org.alfresco.web.site.servlet.SSOAuthenticationFilter.doFilter(SSOAuthenticationFilter.java:443)
	at org.springframework.extensions.webscripts.servlet.BeanProxyFilter.doFilter(BeanProxyFilter.java:80)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.alfresco.web.site.servlet.MTAuthenticationFilter.doFilter(MTAuthenticationFilter.java:81)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:218)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:110)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:506)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:962)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:445)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1115)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:637)
	at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.doRun(AprEndpoint.java:2549)
	at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2538)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Unknown Source)
Gnanasekaran Sakthivel
1 ACCEPTED ANSWER

abhinavmishra14
World-Class Innovator
World-Class Innovator

As the error indicates, please check whether acs and db is up and running. If you have a backup war files for alfresco and share then re-deploy again if you may have deleted something by mistake. 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

View answer in original post

2 REPLIES 2

abhinavmishra14
World-Class Innovator
World-Class Innovator

As the error indicates, please check whether acs and db is up and running. If you have a backup war files for alfresco and share then re-deploy again if you may have deleted something by mistake. 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)

Glad it worked for you. good luck @sepgs2004 

~Abhinav
(ACSCE, AWS SAA, Azure Admin)