08-26-2021 05:55 AM
White trying to edit document using Google Docs and logging in i receive an error 400: redirect_uri_mismatch. Alfresco / Google Docs Share Module v. 3.0.4. How can it be fixed. Thx.
08-31-2021 02:12 PM
Sharing logs would provide better idea for people to review here, please share the logs. The error might not be related to google docs alone and may be related to your proxy setup.
09-09-2021 04:19 AM
Nothig special in server logs. Google docs auth worked well but after some period of time I have this error during auth to edit file in Google docs in all users accounts.
09-09-2021 09:47 AM
unfortunately the info is not very helpful, however can you also verify all your configurations :
https://docs.alfresco.com/google-drive/latest/install/
https://docs.alfresco.com/google-drive/latest/config/
https://github.com/Alfresco/googledrive
Check the integrations that are supported here:
https://docs.alfresco.com/content-services/5.2/support/
09-13-2021 06:35 AM
Okay. But plz let me know where can I get ready to use alfresco-googledrive-repo-enterprise-3.2.x.amp and alfresco-googledrive-share-3.2.x.amp files. Because when I try to login to support portal I am get this error.
09-13-2021 02:44 PM
You should be downloading the community versions that are supported for acs 5.2:
https://docs.alfresco.com/content-services/5.2/support/
https://artifacts.alfresco.com/nexus/#nexus-search;quick~alfresco-googledocs-*
Repo amp:
Share amp:
09-27-2021 11:17 AM
When I am trying to install next version of apm I got an error
An error was encountered during deployment of the AMP into the WAR: 08260000 The module (Alfresco / Google Docs Integration) must be installed on a war version equal to or greater than 6.0.0. This war is version: 5.2.0.
Should I update Alfresco to 6.0.0 or it can be other solution?
04-11-2022 09:13 AM
Hello @abhinavmishra14 . I have the same issue as @ab2 where trying to edit in Google Docs in Community 5.2 gives this 400 uri mismatch error. All of the latest amps for 5.2 for this integration have been applied.
It does show up in the log but I cannot intepret it. I will paste it below as there does not seem to be a file attachment option in this editor.
Any help would be appreciated as the Alfresco installation has no use without the Google Docs integration.
14:57:21,503 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 03110183 Wrapped Exception (with status template): null org.springframework.extensions.webscripts.WebScriptException: 03110183 Wrapped Exception (with status template): null at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1067) at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171) at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:429) at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:452) at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:491) at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:529) at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:341) at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378) at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209) at org.springframework.extensions.webscripts.servlet.WebScriptServlet.service(WebScriptServlet.java:132) 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.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.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220) 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:170) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950) 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$SocketProcessor.doRun(AprEndpoint.java:2441) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:2430) 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:724) Caused by: java.lang.NullPointerException at org.alfresco.integrations.google.docs.service.GoogleDocsServiceImpl.getDocsService(GoogleDocsServiceImpl.java:634) at org.alfresco.integrations.google.docs.service.GoogleDocsServiceImpl.hasConcurrentEditors(GoogleDocsServiceImpl.java:1444) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 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:309) 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:161) at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172) at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:202) at com.sun.proxy.$Proxy346.hasConcurrentEditors(Unknown Source) at org.alfresco.integrations.google.docs.webscripts.SaveContent.executeImpl(SaveContent.java:130) at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:64) ... 32 more 14:57:59,786 ERROR [org.springframework.extensions.webscripts.AbstractRuntime] Exception from executeScript - redirecting to status template error: 03110184 Wrapped Exception (with status template): null org.springframework.extensions.webscripts.WebScriptException: 03110184 Wrapped Exception (with status template): null at org.springframework.extensions.webscripts.AbstractWebScript.createStatusException(AbstractWebScript.java:1067) at org.springframework.extensions.webscripts.DeclarativeWebScript.execute(DeclarativeWebScript.java:171) at org.alfresco.repo.web.scripts.RepositoryContainer$3.execute(RepositoryContainer.java:429) at org.alfresco.repo.transaction.RetryingTransactionHelper.doInTransaction(RetryingTransactionHelper.java:452) at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecute(RepositoryContainer.java:491) at org.alfresco.repo.web.scripts.RepositoryContainer.transactionedExecuteAs(RepositoryContainer.java:529) at org.alfresco.repo.web.scripts.RepositoryContainer.executeScript(RepositoryContainer.java:341) at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:378) at org.springframework.extensions.webscripts.AbstractRuntime.executeScript(AbstractRuntime.java:209)
04-11-2022 01:11 PM
One year ago I was integrating Alfresco with Google docs and as far as I remember the older Alfresco versions did not work correctly (Google has changed the API). I advise you to compile and manually fix Alfresco Google drive
10-13-2022 05:13 AM
Sorrry can you share the amp you patched ?
i have the same problem, but i cannot make it work.
What version are you using from the github repository ?
Explore our Alfresco products with the links below. Use labels to filter content by product module.