Details

    • Type: Feature Bug
    • Status: Closed (View Workflow)
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: Cloud 38
    • Fix Version/s: 5.0
    • Labels:
    • Environment:
      Alfresco Enterprise HEAD build 115
      Alfresco Cloud v5.0.0 (Cloud r85412-b702) schema 8006 DP layer7 (rel39rc1)

      Description

      Steps:

      1.on-prem: create new non-admin user
      2. cloud: create new premium user
      3, create site for Alfresco Enterprise and for Cloud
      4. on-prem: login to Alfresco Enterprise and specify credentials for sync
      5. on prem: open document library and upload any doc.
      5. on-prem: try to sync document to Cloud.

      Expected document should be synced.
      Actual document is not synced. Status "pending is displayed a lot of time"
      Alfresco log file contains the following error:

      10:05:00,486 ERROR [org.alfresco.enterprise.repo.sync.SyncTrackerComponent] [DefaultScheduler_Worker-2] SyncTrackerPush: 1 error(s) detected. Last error from entry "56eb5c22-f6bb-4495-8c93-1b6a5e8eba6d"
      org.alfresco.service.cmr.remoteticket.RemoteSystemUnavailableException: 08240266 Error syncing with cloud
              at org.alfresco.enterprise.repo.sync.transport.impl.CloudSyncMemberNodeTransportImpl.handleRemoteConnectorClientException(CloudSyncMemberNodeTransportImpl.java:495)
              at org.alfresco.enterprise.repo.sync.transport.impl.CloudSyncMemberNodeTransportImpl.doPostAction(CloudSyncMemberNodeTransportImpl.java:394)
              at org.alfresco.enterprise.repo.sync.transport.impl.CloudSyncMemberNodeTransportImpl.doPostJSONAction(CloudSyncMemberNodeTransportImpl.java:309)
              at org.alfresco.enterprise.repo.sync.transport.impl.CloudSyncMemberNodeTransportImpl.doPushSync(CloudSyncMemberNodeTransportImpl.java:270)
              at org.alfresco.enterprise.repo.sync.transport.impl.CloudSyncMemberNodeTransportImpl.pushSyncInitial(CloudSyncMemberNodeTransportImpl.java:169)
              at org.alfresco.enterprise.repo.sync.SyncTrackerComponent$8.execute(SyncTrackerComponent.java:883)
              at org.alfresco.enterprise.repo.sync.SyncTrackerComponent$8.execute(SyncTrackerComponent.java:844)
              at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
              at org.alfresco.enterprise.repo.sync.SyncTrackerComponent.pushNode(SyncTrackerComponent.java:843)
              at org.alfresco.enterprise.repo.sync.SyncTrackerComponent.pushSyncSet(SyncTrackerComponent.java:749)
              at org.alfresco.enterprise.repo.sync.SyncTrackerComponent.access$600(SyncTrackerComponent.java:84)
              at org.alfresco.enterprise.repo.sync.SyncTrackerComponent$3.doWork(SyncTrackerComponent.java:436)
              at org.alfresco.enterprise.repo.sync.SyncTrackerComponent$RunAsWorker$1$1.doWork(SyncTrackerComponent.java:324)
              at org.alfresco.enterprise.repo.sync.SyncTrackerComponent$RunAsWorker$1$1.doWork(SyncTrackerComponent.java:321)
              at org.alfresco.repo.tenant.TenantUtil.runAsWork(TenantUtil.java:119)
              at org.alfresco.repo.tenant.TenantUtil.runAsTenant(TenantUtil.java:88)
              at org.alfresco.enterprise.repo.sync.SyncTrackerComponent$RunAsWorker$1.doWork(SyncTrackerComponent.java:320)
              at org.alfresco.repo.security.authentication.AuthenticationUtil.runAs(AuthenticationUtil.java:548)
              at org.alfresco.enterprise.repo.sync.SyncTrackerComponent$RunAsWorker.process(SyncTrackerComponent.java:315)
              at org.alfresco.enterprise.repo.sync.SyncTrackerComponent$RunAsWorker.process(SyncTrackerComponent.java:299)
              at org.alfresco.repo.batch.BatchProcessor$TxnCallback.execute(BatchProcessor.java:712)
              at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
              at org.alfresco.repo.batch.BatchProcessor$TxnCallback.run(BatchProcessor.java:756)
      at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at java.lang.Thread.run(Thread.java:745)
      Caused by: org.alfresco.service.cmr.remoteconnector.RemoteConnectorClientException: 08240265 Bad Request
              at org.alfresco.repo.remoteconnector.RemoteConnectorServiceImpl.executeRequest(RemoteConnectorServiceImpl.java:315)
              at org.alfresco.enterprise.repo.sync.connector.impl.CloudConnectorServiceImpl.executeCloudRequest(CloudConnectorServiceImpl.java:295)
              at sun.reflect.GeneratedMethodAccessor824.invoke(Unknown Source)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:606)
              at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)
              at net.sf.acegisecurity.intercept.method.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:80)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
              at org.alfresco.repo.security.permissions.impl.ExceptionTranslatorMethodInterceptor.invoke(ExceptionTranslatorMethodInterceptor.java:46)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
              at org.alfresco.repo.audit.AuditMethodInterceptor.invoke(AuditMethodInterceptor.java:159)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
              at org.alfresco.repo.transaction.RetryingTransactionAdvice$1.execute(RetryingTransactionAdvice.java:64)
              at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:454)
              at org.alfresco.repo.transaction.RetryingTransactionAdvice.invoke(RetryingTransactionAdvice.java:67)
              at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)
              at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
              at com.sun.proxy.$Proxy148.executeCloudRequest(Unknown Source)
              at org.alfresco.enterprise.repo.sync.transport.impl.CloudSyncMemberNodeTransportImpl.doPostAction(CloudSyncMemberNodeTransportImpl.java:390)
              ... 24 more
      
      

      Cloud instance contains the following error:

      2014-09-24 10:16:01,347 INFO  [org.alfresco.enterprise.repo.sync.SyncAdminServiceImpl] createTargetSyncSet: SSD[id=1a92c049-34a4-4e20-9580-81b51e3f4ae7, srcRepoId=9e932407-2dfb-489d-aacc-d446bb8c2edd, nodeRef=workspace://SpacesStore/c884dbcb-e93f-4293-aac7-e574869fd6a3, syncCreator=null, targetUserName=null, targetTenantDomain=null, targetFolderNodeRef=workspace://SpacesStore/6e88acd5-5245-4312-8776-60b64ac1825d, includeSubFolders=true, isDeleteOnCloud=true, isDeleteOnPrem=false, lockSourceCopy=false] [in 23 ms]
      2014-09-24 10:16:08,911 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 08246778 Corrupt sync details, no parts found
      org.springframework.extensions.webscripts.WebScriptException: 08246778 Corrupt sync details, no parts found
              at org.alfresco.enterprise.repo.web.scripts.sync.transport.AbstractCloudSyncPostWebScript.executeSyncImpl(AbstractCloudSyncPostWebScript.java:135)
              at org.alfresco.enterprise.repo.web.scripts.sync.AbstractCloudSyncDeclarativeWebScript.executeImpl(AbstractCloudSyncDeclarativeWebScript.java:56)
              at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:64)
              at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:418)
              at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:600)
              at org.alfresco.repo.web.scripts.RepositoryContainer.executeScriptInternal(RepositoryContainer.java:380)
              at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:261)
              at org.alfresco.module.org_alfresco_module_cloud.webscripts.TenantSwitchingRepositoryContainer.access$201(TenantSwitchingRepositoryContainer.java:52)
              at org.alfresco.module.org_alfresco_module_cloud.webscripts.TenantSwitchingRepositoryContainer$2.doWork(TenantSwitchingRepositoryContainer.java:190)
              at org.alfresco.repo.tenant.TenantUtil.runAsWork(TenantUtil.java:119)
              at org.alfresco.repo.tenant.TenantUtil.runAsTenant(TenantUtil.java:88)
              at org.alfresco.module.org_alfresco_module_cloud.webscripts.TenantSwitchingRepositoryContainer.executeScript(TenantSwitchingRepositoryContainer.java:186)
              at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378)
              at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
              at org.alfresco.repo.web.scripts.TenantWebScriptServlet.service(TenantWebScriptServlet.java:74)
              at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
              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.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:748)
              at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:486)
              at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:411)
              at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:338)
              at org.tuckey.web.filters.urlrewrite.NormalRewrittenUrl.doRewrite(NormalRewrittenUrl.java:213)
              at org.tuckey.web.filters.urlrewrite.RuleChain.handleRewrite(RuleChain.java:171)
              at org.tuckey.web.filters.urlrewrite.RuleChain.doRules(RuleChain.java:145)
              at org.tuckey.web.filters.urlrewrite.UrlRewriter.processRequest(UrlRewriter.java:92)
              at org.tuckey.web.filters.urlrewrite.UrlRewriteFilter.doFilter(UrlRewriteFilter.java:389)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.alfresco.rest.authentication.GatewayAuthenticationFilter.doFilter(GatewayAuthenticationFilter.java:305)
              at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:82)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at com.thetransactioncompany.cors.CORSFilter.doFilter(CORSFilter.java:180)
              at com.thetransactioncompany.cors.CORSFilter.doFilter(CORSFilter.java:242)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.alfresco.web.app.servlet.GlobalLocalizationFilter.doFilter(GlobalLocalizationFilter.java:61)
              at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
              at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
              at org.alfresco.module.org_alfresco_module_cloud.webscripts.TenantLeakLogger.doFilter(TenantLeakLogger.java:56)
              at org.alfresco.repo.web.filter.beans.BeanProxyFilter.doFilter(BeanProxyFilter.java:82)
              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:203)
              at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
              at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
              at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171)
              at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
              at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
              at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
              at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
              at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
              at org.apache.tomcat.util.net.AprEndpoint$SocketWithOptionsProcessor.run(AprEndpoint.java:2379)
              at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
              at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
              at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
              at java.lang.Thread.run(Thread.java:745)
      

      it's ok for Alfresco admin user.

        Attachments

          Structure

            Activity

              People

              • Assignee:
                closedissues Closed Issues
                Reporter:
                dyukhnovets Dmitry Yukhnovets [X] (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 5 hours
                  5h

                    Structure Helper Panel