06-17-2013 12:27 PM
Hi,
Here is an excerpt of network packets sent by my server when using Nuxeo Drive.
For information, I use the Client Drive under the distribution Ubuntu (Linux) and the packaget Nuxeo Drive v1.0.3 on my server.
Extraction of Ngrep tool :
## CLIENT TO SERVER ##
T 172.30.0.211:39746 -> 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 -> 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}
########
In my example, the metadata "lastSyncActiveRootDefinitions" should have value such as "default:86cc8e6d-9cce-4346-B663-51060c8406b5" but it's null.
So Nuxeo Drive isn't known for what the target repository must be updated.
Thank you for your answers
Pierre
06-18-2013 08:31 AM
Can you send us client logs (through pastebin, for instance). It's in ~/.nuxeo.drive.
06-18-2013 09:28 AM
You can download the zip file containing the log file and the database of my nuxeo-drive at this link
08-20-2013 12:27 PM
Hi,
I finally found the solution to my question.
I use the "nuxeo-platform-login-ClearTrust-5.6.0.jar" plugin and should be added in the automation configuration of cleartrust named "cleartrust-automation-config.xml", the plugin "TOKEN_AUTH" and the specificAuthenticationChain.
As the following lines:
<specificAuthenticationChain name="Automation">
<urlPatterns>
<url>(.*)/automation.*</url>
</urlPatterns>
<replacementChain>
<plugin>AUTOMATION_BASIC_AUTH</plugin>
<plugin>BASIC_AUTH</plugin>
<plugin>TOKEN_AUTH</plugin>
<plugin>ClearTrust_AUTH</plugin>
<plugin>ANONYMOUS_AUTH</plugin>
</replacementChain>
</specificAuthenticationChain>
<specificAuthenticationChain name="TokenAuth">
<headers>
<header name="X-Authentication-Token">.*</header>
</headers>
<replacementChain>
<plugin>TOKEN_AUTH</plugin>
</replacementChain>
</specificAuthenticationChain>
Now Nuxeo Drive works properly 🙂
Attention: Blogs & Forums are in READ-ONLY mode from Oct 9-19 as we transition to our new platform. Learn more.
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.