cancel
Showing results for 
Search instead for 
Did you mean: 

Google Docs cannot save to alfresco

bopolissimus
Confirmed Champ
Confirmed Champ
Hi All,

<ul>
  <li>Linux (Ubuntu Precise, Ubuntu Quantal, Linux Mint Nadia)</li>
  <li>alfresco-community-4.2.b linux installer</li>
  <li>Tested with browser hitting port 8080 and with apache reverse proxy sitting in front of alfresco.</li>
  <li>All alfrescos are not directly accessible from the internet, only from the LAN.</li>
</ul>

I have an alfresco 4.2.b instance which previously worked perfectly with Google Docs.  Recently I tested google docs again and, while the document will open in Google Docs, when I click on "Save to Alfresco", the save fails with "Failed to save Google Doc to Alfresco."

I thought it might be a problem with just that instance (installed WAR files into distribution tomcat), so I installed 4.2.b from scratch into separate virtual machines using the bundled installer.  Even with this fresh install however, saving in Google Docs fails the same way.

I've since tried on other alfresco installations (4.2.b, 4.2.c) and I get the same error in all of them. 

My client machines are Linux (tested with chrome and firefox).  In case it was a problem with my client, I tested on various other linux clients (some pristine virtual machines) and on a Windows 7 machine too.  Same error.

In case it was possibly due to the google account I was using, I switched to another free account.  That failed similarly.

Has anyone else seen this? How would I debug this?  I have
tomcat/shared/classes/alfresco/extension/custom-log4j.properties

and have uncommented:

log4j.logger.org.alfresco.repo.googledocs=debug

but I still see nothing in the debug logs.

Thanks in advance for any pointers.

Gerald
69 REPLIES 69

liviugi
Champ in-the-making
Champ in-the-making
Hi,
I am having the same issue as bopolissimus above. I have Alfresco Community 4.2.c on Linux and Windows, and in both after I edit a new doc in Google Docs, when I try to save to Alfresco I get the "Failed to save Google Doc to Alfresco." message.

Does anybody know the cause of this issue, maybe it is a bad configuration, or a bug? Any help much appreciated.

Best regards

cyberjus
Champ in-the-making
Champ in-the-making
Mine was also working fine until about Tuesday. I tried using 4.2.c and 4.2.d latest nightly. The weird thing is Spreadsheets work fine, just Docs and Presentations are not working. I think the problem is either with Google Docs or google changed something and now alfresco needs a patch. I am sure someone on the Alfresco Googledocs team would have caught this by now, maybe they know better than we what is causing this?

For reference, I reported the bug:

https://issues.alfresco.com/jira/browse/GOOGLEDOCS-214

cyberjus
Champ in-the-making
Champ in-the-making
Looking at the code, I am guessing that it is using spring social component to access google docs that is using the google data apis. Google is deprecating this APIs, and maybe that is why they stopped working?

bhuerre
Champ in-the-making
Champ in-the-making
Noticed the issue 3 days ago on a 4.2c  Community Edition/Ubuntu 5.9. Have tried reseting the googledoc authorization credentials, using a brand new google account, restoring a 4.2b backup that was working fine all these attempts were unsuccessful. Can initialize a doc or start editing a existing doc but not save it back to Alfresco.
I am now confident it is caused by a change on the google side. Hopefully it will be handled quickly by the Alfresco team.
Regards
Bernard

florentdelannoy
Champ in-the-making
Champ in-the-making
I'm having the same issue. Please note that https://my.alfresco.com is affected in the same way.

Firefox's Web Console shows the following error, which may or may not be relevant:
[11:26:22.791] Load denied by X-Frame-Options: https://docs.google.com/e/share?id=1H3xQXKNOjaH7CVtpZp-8zKv00ISmHcAQ4z5TupFw4pA&foreignService=kix&g... does not permit cross-origin framing.

No further JS errors, but the AJAX call to saveContent subsequently fails:
[11:26:42.630] POST https://my.alfresco.com/share/catalyst.net.nz/proxy/alfresco/googledocs/saveContent [HTTP/1.1 404 Not Found 1250ms]

bornes
Champ in-the-making
Champ in-the-making
happens to me exactly the same case.
Where do I can find more information or solution to this?

bopolissimus
Confirmed Champ
Confirmed Champ
Hi bornes,

No solution yet, as far as I know.  There's a bug report (see above) but I think Peter Monks hasn't been able to replicate it yet.  Or if he has, he hasn't updated the bug yet.  But the weekend just went by in the U.S.  They might be able to replicate it today if google's rolling upgrade has come around and the google servers that peter uses have been upgraded so he can see the bug.

Gerald

wguerram
Champ in-the-making
Champ in-the-making
I hope this get solved soon.