<?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 Re: Nuxeo Drive - Problem of synchronization in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-problem-of-synchronization/m-p/322049#M9050</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I finally found the solution to my question.&lt;/P&gt;
&lt;P&gt;I use the "&lt;STRONG&gt;nuxeo-platform-login-ClearTrust-5.6.0.jar&lt;/STRONG&gt;" plugin and should be added in the automation configuration of cleartrust named "cleartrust-automation-config.xml", the plugin "TOKEN_AUTH" and the specificAuthenticationChain.&lt;/P&gt;
&lt;P&gt;As the following lines:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;specificAuthenticationChain name="Automation"&amp;gt;
    &amp;lt;urlPatterns&amp;gt;
        &amp;lt;url&amp;gt;(.*)/automation.*&amp;lt;/url&amp;gt;
    &amp;lt;/urlPatterns&amp;gt;

    &amp;lt;replacementChain&amp;gt;
        &amp;lt;plugin&amp;gt;AUTOMATION_BASIC_AUTH&amp;lt;/plugin&amp;gt;
        &amp;lt;plugin&amp;gt;BASIC_AUTH&amp;lt;/plugin&amp;gt;
        &amp;lt;plugin&amp;gt;TOKEN_AUTH&amp;lt;/plugin&amp;gt;
        &amp;lt;plugin&amp;gt;ClearTrust_AUTH&amp;lt;/plugin&amp;gt;
        &amp;lt;plugin&amp;gt;ANONYMOUS_AUTH&amp;lt;/plugin&amp;gt;
    &amp;lt;/replacementChain&amp;gt;
&amp;lt;/specificAuthenticationChain&amp;gt;

&amp;lt;specificAuthenticationChain name="TokenAuth"&amp;gt;
    &amp;lt;headers&amp;gt;
      &amp;lt;header name="X-Authentication-Token"&amp;gt;.*&amp;lt;/header&amp;gt;
    &amp;lt;/headers&amp;gt;
    &amp;lt;replacementChain&amp;gt;
      &amp;lt;plugin&amp;gt;TOKEN_AUTH&amp;lt;/plugin&amp;gt;
    &amp;lt;/replacementChain&amp;gt;
  &amp;lt;/specificAuthenticationChain&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Now Nuxeo Drive works properly &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Aug 2013 16:27:08 GMT</pubDate>
    <dc:creator>Pierre_Jenicot1</dc:creator>
    <dc:date>2013-08-20T16:27:08Z</dc:date>
    <item>
      <title>Nuxeo Drive - Problem of synchronization</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-problem-of-synchronization/m-p/322046#M9047</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Here is an excerpt of network packets sent by my server when using Nuxeo Drive.&lt;/P&gt;
&lt;P&gt;For information, I use the Client Drive under the distribution Ubuntu (Linux) and the packaget Nuxeo Drive v1.0.3 on my server.&lt;/P&gt;
&lt;P&gt;Extraction of Ngrep tool :&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;  ## CLIENT TO SERVER ##
  T 172.30.0.211:39746 -&amp;gt; 172.30.120.54:8080 [AP]
  POST /nuxeo/site/automation/NuxeoDrive.GetChangeSummary HTTP/1.1..
  Accept-Encoding: identity..
  Content-Length: 80..
  X-Authentication-Token: 37d66460-0463-4ef4-a710-db15baf0468a..
  X-Nxdocumentproperties: *..
  X-Device-Id: 65764bb4cc3211e297f3001d0908c2fd..
  Host: nuxeo.in.ac-lil.fr:8080..
  User-Agent: Python-urllib/2.7..
  Connection: close..
  X-User-Id: pjenicot..
  Content-Type: application/json+nxrequest..
  X-Application-Name: Nuxeo Drive....
  {"params": {"lastSyncDate": 1370253392000, "lastSyncActiveRootDefinitions": ""}}             
                                                                                
  ## SERVER TO CLIENT ##
  T 172.30.120.54:8080 -&amp;gt; 172.30.0.211:39746 [AP]
  HTTP/1.1 200 OK..
  Server: Apache-Coyote/1.1..
  Content-Disposition: attachment; filename=null..
  Content-Type: application/json..
  Content-Length: 117..
  Date: Mon, 03 Jun 2013 09:56:40 GMT..
  Connection: close....
  {"fileSystemChanges":[],"syncDate":1370253397000,"activeSynchronizationRootDefinitions":"","hasTooManyChanges":false}                                                                                       
  ########
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;In my example, the metadata "&lt;STRONG&gt;lastSyncActiveRootDefinitions&lt;/STRONG&gt;" should have value such as "default:86cc8e6d-9cce-4346-B663-51060c8406b5" but it's null.&lt;/P&gt;
&lt;P&gt;So Nuxeo Drive isn't known for what the target repository must be updated.&lt;/P&gt;
&lt;P&gt;Thank you for your answers&lt;/P&gt;
&lt;P&gt;Pierre&lt;/P&gt;</description>
      <pubDate>Mon, 17 Jun 2013 16:27:23 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-problem-of-synchronization/m-p/322046#M9047</guid>
      <dc:creator>Pierre_Jenicot1</dc:creator>
      <dc:date>2013-06-17T16:27:23Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Drive - Problem of synchronization</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-problem-of-synchronization/m-p/322047#M9048</link>
      <description>&lt;P&gt;Can you send us client logs (through pastebin, for instance). It's in ~/.nuxeo.drive.&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2013 12:31:20 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-problem-of-synchronization/m-p/322047#M9048</guid>
      <dc:creator>Benjamin_Jalon1</dc:creator>
      <dc:date>2013-06-18T12:31:20Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Drive - Problem of synchronization</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-problem-of-synchronization/m-p/322048#M9049</link>
      <description>&lt;P&gt;You can download the zip file containing the log file and the database of my nuxeo-drive at this link&lt;/P&gt;</description>
      <pubDate>Tue, 18 Jun 2013 13:28:54 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-problem-of-synchronization/m-p/322048#M9049</guid>
      <dc:creator>Pierre_Jenicot1</dc:creator>
      <dc:date>2013-06-18T13:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Nuxeo Drive - Problem of synchronization</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-problem-of-synchronization/m-p/322049#M9050</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I finally found the solution to my question.&lt;/P&gt;
&lt;P&gt;I use the "&lt;STRONG&gt;nuxeo-platform-login-ClearTrust-5.6.0.jar&lt;/STRONG&gt;" plugin and should be added in the automation configuration of cleartrust named "cleartrust-automation-config.xml", the plugin "TOKEN_AUTH" and the specificAuthenticationChain.&lt;/P&gt;
&lt;P&gt;As the following lines:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&amp;lt;specificAuthenticationChain name="Automation"&amp;gt;
    &amp;lt;urlPatterns&amp;gt;
        &amp;lt;url&amp;gt;(.*)/automation.*&amp;lt;/url&amp;gt;
    &amp;lt;/urlPatterns&amp;gt;

    &amp;lt;replacementChain&amp;gt;
        &amp;lt;plugin&amp;gt;AUTOMATION_BASIC_AUTH&amp;lt;/plugin&amp;gt;
        &amp;lt;plugin&amp;gt;BASIC_AUTH&amp;lt;/plugin&amp;gt;
        &amp;lt;plugin&amp;gt;TOKEN_AUTH&amp;lt;/plugin&amp;gt;
        &amp;lt;plugin&amp;gt;ClearTrust_AUTH&amp;lt;/plugin&amp;gt;
        &amp;lt;plugin&amp;gt;ANONYMOUS_AUTH&amp;lt;/plugin&amp;gt;
    &amp;lt;/replacementChain&amp;gt;
&amp;lt;/specificAuthenticationChain&amp;gt;

&amp;lt;specificAuthenticationChain name="TokenAuth"&amp;gt;
    &amp;lt;headers&amp;gt;
      &amp;lt;header name="X-Authentication-Token"&amp;gt;.*&amp;lt;/header&amp;gt;
    &amp;lt;/headers&amp;gt;
    &amp;lt;replacementChain&amp;gt;
      &amp;lt;plugin&amp;gt;TOKEN_AUTH&amp;lt;/plugin&amp;gt;
    &amp;lt;/replacementChain&amp;gt;
  &amp;lt;/specificAuthenticationChain&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;Now Nuxeo Drive works properly &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Aug 2013 16:27:08 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/nuxeo-drive-problem-of-synchronization/m-p/322049#M9050</guid>
      <dc:creator>Pierre_Jenicot1</dc:creator>
      <dc:date>2013-08-20T16:27:08Z</dc:date>
    </item>
  </channel>
</rss>

