<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Timeout : small docx to pdf transformation / conversion in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/timeout-small-docx-to-pdf-transformation-conversion/m-p/80625#M24924</link>
    <description>&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;In production we had an issue last week, Alfresco was not able to generate a PDF preview of a docx document.&lt;/P&gt;&lt;P&gt;We had multiple cases that could explain this (document size, status of soffice, permissions issues) but none of them can explain this behavior today.&lt;/P&gt;&lt;P&gt;This issue is reproductible for this document only on all our environnements (running&amp;nbsp;Community - 5.2.0 (re21f2be5-b22)).&lt;/P&gt;&lt;P&gt;The document have nothing in particular that I can see, it's like all our others documents (I mean thousands of documents) and surely not the heavier.&lt;/P&gt;&lt;P&gt;Here are the only understandable output I can find in the logs :&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;11:03:20,293 DEBUG [org.alfresco.repo.jscript.RhinoScriptProcessor.calls] [http-bio-8080-exec-10] thumbnail.get.js Exception
org.mozilla.javascript.WrappedException: Wrapped org.alfresco.service.cmr.thumbnail.ThumbnailException: 10250010 10250009 Transformation failed to obey timeout limit (classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js#80)&lt;/PRE&gt;&lt;P&gt;Alfresco is configured to use libreoffice (soffice process) to generate it's previews and it works like a charm using the libreoffice command line so that's why I'm not posting this request in Libreoffice bug tracker.&lt;/P&gt;&lt;P&gt;I know it will be a bit tricky to find a solution with this small report but maybe you could have some keys to help me to debug this error.&lt;/P&gt;&lt;P&gt;Thanks in advance !&lt;/P&gt;</description>
    <pubDate>Mon, 25 Nov 2019 10:19:30 GMT</pubDate>
    <dc:creator>oshikaru</dc:creator>
    <dc:date>2019-11-25T10:19:30Z</dc:date>
    <item>
      <title>Timeout : small docx to pdf transformation / conversion</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/timeout-small-docx-to-pdf-transformation-conversion/m-p/80625#M24924</link>
      <description>&lt;P&gt;Hello !&lt;/P&gt;&lt;P&gt;In production we had an issue last week, Alfresco was not able to generate a PDF preview of a docx document.&lt;/P&gt;&lt;P&gt;We had multiple cases that could explain this (document size, status of soffice, permissions issues) but none of them can explain this behavior today.&lt;/P&gt;&lt;P&gt;This issue is reproductible for this document only on all our environnements (running&amp;nbsp;Community - 5.2.0 (re21f2be5-b22)).&lt;/P&gt;&lt;P&gt;The document have nothing in particular that I can see, it's like all our others documents (I mean thousands of documents) and surely not the heavier.&lt;/P&gt;&lt;P&gt;Here are the only understandable output I can find in the logs :&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;11:03:20,293 DEBUG [org.alfresco.repo.jscript.RhinoScriptProcessor.calls] [http-bio-8080-exec-10] thumbnail.get.js Exception
org.mozilla.javascript.WrappedException: Wrapped org.alfresco.service.cmr.thumbnail.ThumbnailException: 10250010 10250009 Transformation failed to obey timeout limit (classpath*:alfresco/templates/webscripts/org/alfresco/repository/thumbnail/thumbnail.get.js#80)&lt;/PRE&gt;&lt;P&gt;Alfresco is configured to use libreoffice (soffice process) to generate it's previews and it works like a charm using the libreoffice command line so that's why I'm not posting this request in Libreoffice bug tracker.&lt;/P&gt;&lt;P&gt;I know it will be a bit tricky to find a solution with this small report but maybe you could have some keys to help me to debug this error.&lt;/P&gt;&lt;P&gt;Thanks in advance !&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2019 10:19:30 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/timeout-small-docx-to-pdf-transformation-conversion/m-p/80625#M24924</guid>
      <dc:creator>oshikaru</dc:creator>
      <dc:date>2019-11-25T10:19:30Z</dc:date>
    </item>
    <item>
      <title>Re: Timeout : small docx to pdf transformation / conversion</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/timeout-small-docx-to-pdf-transformation-conversion/m-p/80626#M24925</link>
      <description>&lt;P&gt;After more analysis (and a tcpdump between Alfresco and LO.. Ugh), the issue is definitly a communication issue between Alfresco and LO.&lt;/P&gt;&lt;P&gt;So Alfresco is giving the document to onlyoffice, creating the target document but seems to don't send the command to generate the preview.&lt;/P&gt;&lt;P&gt;Here is an exemple :&amp;nbsp;&lt;/P&gt;&lt;P&gt;Target file when the preview works :&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;-rw-r--r--. 1 root   root   270343 Nov 29 15:59 OpenOfficeContentTransformer-target-3981768311599418742.pdf&lt;/PRE&gt;&lt;P&gt;Target file when it doesn't (0k) :&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;-rw-r--r--. 1 tomcat tomcat      0 Nov 29 15:59 OpenOfficeContentTransformer-target-8330268925119395651.pdf&lt;/PRE&gt;&lt;P&gt;Communication when it works (hard to read, you should use&amp;nbsp;&lt;A href="https://www.diffchecker.com/" target="_blank" rel="noopener nofollow noreferrer"&gt;https://www.diffchecker.com&lt;/A&gt;) :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://pastebin.com/SA9Zfqv5" target="_blank" rel="noopener nofollow noreferrer"&gt;https://pastebin.com/SA9Zfqv5&lt;/A&gt;&lt;/P&gt;&lt;P&gt;And when it doesn't :&lt;/P&gt;&lt;P&gt;&lt;A href="https://pastebin.com/zga7dvrt" target="_blank" rel="noopener nofollow noreferrer"&gt;https://pastebin.com/zga7dvrt&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The communication seems to end before all operations are completed (the highlighted part) :&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://ibb.co/QkHRC89" target="_blank" rel="nofollow noopener noreferrer"&gt;https://ibb.co/QkHRC89&lt;/A&gt;&lt;/P&gt;&lt;P&gt;I will open an issue on Jira but if you have any clue about this please let me know.&lt;/P&gt;&lt;P&gt;Thanks for your time !&lt;/P&gt;</description>
      <pubDate>Fri, 29 Nov 2019 15:19:11 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/timeout-small-docx-to-pdf-transformation-conversion/m-p/80626#M24925</guid>
      <dc:creator>oshikaru</dc:creator>
      <dc:date>2019-11-29T15:19:11Z</dc:date>
    </item>
  </channel>
</rss>

