AnsweredAssumed Answered

SSL Cert handshake timeout and GetModelsDiff return status is 401 exceptions

Question asked by krizkai on Sep 17, 2013
I have alfresco setup on eclipse, mysql as my database and tomcat 6 for server. After configuring SOLR and SSL i can't seem to make it work. I've followed instructions from HowToSetupSolr.txt file, tried regenerating certificates using the generate_keystores.bat but I'm still getting these exceptions from the eclipse console:

Sep 17, 2013 3:35:53 PM org.apache.coyote.http11.Http11Processor action
WARNING: Exception getting SSL attributes
java.net.SocketException: SSL Cert handshake timeout
   at org.apache.tomcat.util.net.jsse.JSSESupport.handShake(JSSESupport.java:189)
   at org.apache.tomcat.util.net.jsse.JSSESupport.getPeerCertificateChain(JSSESupport.java:143)
   at org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:1120)
   at org.apache.coyote.Request.action(Request.java:350)
   at org.apache.catalina.authenticator.SSLAuthenticator.authenticate(SSLAuthenticator.java:135)
   at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:528)
   at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
   at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
   at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
   at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
   at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
   at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
   at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
   at java.lang.Thread.run(Thread.java:722)

2013-09-17 15:35:53,946  ERROR [quartz.core.JobRunShell] [SolrTrackerScheduler_Worker-2] Job Solr.CoreTracker-archive threw an unhandled Exception:
org.alfresco.error.AlfrescoRuntimeException: 08170001 GetModelsDiff return status is 401
   at org.alfresco.solr.client.SOLRAPIClient.getModelsDiff(SOLRAPIClient.java:1036)
   at org.alfresco.solr.tracker.CoreTracker.trackModels(CoreTracker.java:1787)
   at org.alfresco.solr.tracker.CoreTracker.trackRepository(CoreTracker.java:1126)
   at org.alfresco.solr.tracker.CoreTracker.updateIndex(CoreTracker.java:472)
   at org.alfresco.solr.tracker.CoreTrackerJob.execute(CoreTrackerJob.java:45)
   at org.quartz.core.JobRunShell.run(JobRunShell.java:216)
   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:563)

I can access alfresco explorer thru http://localhost:8080/alfresco but search function is not working. Thanks in advance for your help :)

Outcomes