Hi,

We just installed a new nuxeo instance (5.4, nuxeodm-tomcat, debian package).

Nuxeo is placed behind a reverse proxy (apache).

The URL is protected by basic auth. When I try to open a document for 
live-editing (button within Nuxeo web interface), I get an error when 
OpenOffice tries to open the document. A
get a stack trace that I can't copy, and the attached log in my /tmp folder. 
Using Ubuntu and Firefox.

If I deactivate the basic auth for the same URL, it works fine.

I think that the nuxeo-liveedit-openoffice plugin is not handling basic auth 
correctly, or at all.

Any hints?

A can do more tests if necessary.

Thanks,

Patrick Turcotte
Revolution Linux
2011-01-13 16:13:17,062 DEBUG (LiveEditConnector.java:183) - Action : load
2011-01-13 16:13:17,064 DEBUG (LiveEditConnector.java:264) - Load XMLFile : /home/pturcotte/tmpb2216dba-525c-4d7e-a81d-f67a3034a430-default-pturcotte-1294951220875.xml
2011-01-13 16:13:17,254 DEBUG (LiveEditConnector.java:270) - DocumentModelId : b2216dba-525c-4d7e-a81d-f67a3034a430
2011-01-13 16:13:17,254 DEBUG (LiveEditConnector.java:275) - Action selector : edit
2011-01-13 16:13:17,254 DEBUG (LiveEditConnector.java:281) - DocumentModel repo/docRef : default/b2216dba-525c-4d7e-a81d-f67a3034a430
2011-01-13 16:13:17,254 DEBUG (LiveEditClientRestletImpl.java:488) - Lock in progress : https://services.revolutionlinux.com/nuxeo
2011-01-13 16:13:17,263 DEBUG (LiveEditClientRestletImpl.java:491) - Set cookie[JSESSIONID: D87F631FE5CD3C6E9A28114DB2E3861F, __utma: 230603295.1555853584.1249931596.1263223853.1268228817.8]
2011-01-13 16:13:17,264 DEBUG (LiveEditClientRestletImpl.java:496) - Rest call : [default, b2216dba-525c-4d7e-a81d-f67a3034a430, Locking, lock]
2011-01-13 16:13:17,325 DEBUG (DefaultHttpParams.java:151) - Set parameter http.useragent = Jakarta Commons-HttpClient/3.1
2011-01-13 16:13:17,326 DEBUG (DefaultHttpParams.java:151) - Set parameter http.protocol.version = HTTP/1.1
2011-01-13 16:13:17,327 DEBUG (DefaultHttpParams.java:151) - Set parameter http.connection-manager.class = class org.apache.commons.httpclient.SimpleHttpConnectionManager
2011-01-13 16:13:17,327 DEBUG (DefaultHttpParams.java:151) - Set parameter http.protocol.cookie-policy = default
2011-01-13 16:13:17,328 DEBUG (DefaultHttpParams.java:151) - Set parameter http.protocol.element-charset = US-ASCII
2011-01-13 16:13:17,328 DEBUG (DefaultHttpParams.java:151) - Set parameter http.protocol.content-charset = ISO-8859-1
2011-01-13 16:13:17,329 DEBUG (DefaultHttpParams.java:151) - Set parameter http.method.retry-handler = org.apache.commons.httpclient.DefaultHttpMethodRetryHandler@1b8f864
2011-01-13 16:13:17,329 DEBUG (DefaultHttpParams.java:151) - Set parameter http.dateparser.patterns = [EEE, dd MMM yyyy HH:mm:ss zzz, EEEE, dd-MMM-yy HH:mm:ss zzz, EEE MMM d HH:mm:ss yyyy, EEE, dd-MMM-yyyy HH:mm:ss z, EEE, dd-MMM-yyyy HH-mm-ss z, EEE, dd MMM yy HH:mm:ss z, EEE dd-MMM-yyyy HH:mm:ss z, EEE dd MMM yyyy HH:mm:ss z, EEE dd-MMM-yyyy HH-mm-ss z, EEE dd-MMM-yy HH:mm:ss z, EEE dd MMM yy HH:mm:ss z, EEE,dd-MMM-yy HH:mm:ss z, EEE,dd-MMM-yyyy HH:mm:ss z, EEE, dd-MM-yyyy HH:mm:ss z]
2011-01-13 16:13:17,337 DEBUG (DefaultHttpParams.java:151) - Set parameter http.connection-manager.max-per-host = {HostConfiguration[]=2}
2011-01-13 16:13:17,337 DEBUG (DefaultHttpParams.java:151) - Set parameter http.connection-manager.max-total = 20
2011-01-13 16:13:17,339 DEBUG (HttpClient.java:72) - Java version: 1.6.0_22
2011-01-13 16:13:17,339 DEBUG (HttpClient.java:73) - Java vendor: Sun Microsystems Inc.
2011-01-13 16:13:17,339 DEBUG (HttpClient.java:74) - Java class path: /usr/share/java/bsh.jar:/usr/share/java/hsqldb.jar
2011-01-13 16:13:17,339 DEBUG (HttpClient.java:75) - Operating system name: Linux
2011-01-13 16:13:17,339 DEBUG (HttpClient.java:76) - Operating system architecture: i386
2011-01-13 16:13:17,339 DEBUG (HttpClient.java:77) - Operating system version: 2.6.32-27-generic-pae
2011-01-13 16:13:17,397 DEBUG (HttpClient.java:82) - SUN 1.6: SUN (DSA key/parameter generation; DSA signing; SHA-1, MD5 digests; SecureRandom; X.509 certificates; JKS keystore; PKIX CertPathValidator; PKIX CertPathBuilder; LDAP, Collection CertStores, JavaPolicy Policy; JavaLoginConfig Configuration)
2011-01-13 16:13:17,397 DEBUG (HttpClient.java:82) - SunRsaSign 1.5: Sun RSA signature provider
2011-01-13 16:13:17,397 DEBUG (HttpClient.java:82) - SunJSSE 1.6: Sun JSSE provider(PKCS12, SunX509 key/trust factories, SSLv3, TLSv1)
2011-01-13 16:13:17,397 DEBUG (HttpClient.java:82) - SunJCE 1.6: SunJCE Provider (implements RSA, DES, Triple DES, AES, Blowfish, ARCFOUR, RC2, PBE, Diffie-Hellman, HMAC)
2011-01-13 16:13:17,397 DEBUG (HttpClient.java:82) - SunJGSS 1.0: Sun (Kerberos v5, SPNEGO)
2011-01-13 16:13:17,397 DEBUG (HttpClient.java:82) - SunSASL 1.5: Sun SASL provider(implements client mechanisms for: DIGEST-MD5, GSSAPI, EXTERNAL, PLAIN, CRAM-MD5; server mechanisms for: DIGEST-MD5, GSSAPI, CRAM-MD5)
2011-01-13 16:13:17,397 DEBUG (HttpClient.java:82) - XMLDSig 1.0: XMLDSig (DOM XMLSignatureFactory; DOM KeyInfoFactory)
2011-01-13 16:13:17,397 DEBUG (HttpClient.java:82) - SunPCSC 1.6: Sun PC/SC provider
2011-01-13 16:13:17,401 DEBUG (DefaultHttpParams.java:151) - Set parameter http.authentication.preemptive = false
2011-01-13 16:13:17,402 DEBUG (DefaultHttpParams.java:151) - Set parameter http.connection-manager.timeout = 0
2011-01-13 16:13:17,402 DEBUG (DefaultHttpParams.java:151) - Set parameter http.protocol.cookie-policy = ignoreCookies
2011-01-13 16:13:17,402 DEBUG (DefaultHttpParams.java:151) - Set parameter http.socket.timeout = 0
2011-01-13 16:13:17,445 DEBUG (MultiThreadedHttpConnectionManager.java:412) - HttpConnectionManager.getConnection:  config = HostConfiguration[host=https://services.revolutionlinux.com], timeout = 0
2011-01-13 16:13:17,446 DEBUG (MultiThreadedHttpConnectionManager.java:760) - Allocating new connection, hostConfig=HostConfiguration[host=https://services.revolutionlinux.com]
2011-01-13 16:13:17,450 DEBUG (HttpConnection.java:692) - Open connection to services.revolutionlinux.com:443
2011-01-13 16:13:17,841 DEBUG (Wire.java:70) - >> "GET /nuxeo/restAPI/default/b2216dba-525c-4d7e-a81d-f67a3034a430/Locking/lock HTTP/1.1[\r][\n]"
2011-01-13 16:13:17,843 DEBUG (HttpMethodBase.java:1352) - Adding Host request header
2011-01-13 16:13:17,865 DEBUG (Wire.java:70) - >> "User-Agent: Noelios-Restlet-Engine/1.0.6[\r][\n]"
2011-01-13 16:13:17,866 DEBUG (Wire.java:70) - >> "Cookie: JSESSIONID=D87F631FE5CD3C6E9A28114DB2E3861F; __utma=230603295.1555853584.1249931596.1263223853.1268228817.8[\r][\n]"
2011-01-13 16:13:17,866 DEBUG (Wire.java:70) - >> "Accept: */*[\r][\n]"
2011-01-13 16:13:17,866 DEBUG (Wire.java:70) - >> "Host: services.revolutionlinux.com[\r][\n]"
2011-01-13 16:13:17,866 DEBUG (Wire.java:70) - >> "[\r][\n]"
2011-01-13 16:13:17,941 DEBUG (Wire.java:70) - << "HTTP/1.1 401 Authorization Required[\r][\n]"
2011-01-13 16:13:17,942 DEBUG (Wire.java:70) - << "HTTP/1.1 401 Authorization Required[\r][\n]"
2011-01-13 16:13:17,943 DEBUG (Wire.java:70) - << "Date: Thu, 13 Jan 2011 21:13:17 GMT[\r][\n]"
2011-01-13 16:13:17,943 DEBUG (Wire.java:70) - << "WWW-Authenticate: Basic realm="Internal services"[\r][\n]"
2011-01-13 16:13:17,943 DEBUG (Wire.java:70) - << "Content-Length: 479[\r][\n]"
2011-01-13 16:13:17,943 DEBUG (Wire.java:70) - << "Content-Type: text/html; charset=iso-8859-1[\r][\n]"
2011-01-13 16:13:17,943 DEBUG (Wire.java:70) - << "[\r][\n]"
2011-01-13 16:13:17,944 DEBUG (HttpMethodDirector.java:843) - Authorization required
2011-01-13 16:13:17,945 INFO  (HttpMethodDirector.java:847) - Authentication requested but doAuthentication is disabled
2011-01-13 16:13:17,956 DEBUG (Wire.java:84) - << "<"
2011-01-13 16:13:17,956 DEBUG (Wire.java:84) - << "!"
2011-01-13 16:13:17,957 DEBUG (Wire.java:84) - << "D"
2011-01-13 16:13:17,957 DEBUG (Wire.java:84) - << "O"
2011-01-13 16:13:17,957 DEBUG (Wire.java:84) - << "CTYPE HTML PUBLIC "-//IETF//"
2011-01-13 16:13:17,957 DEBUG (Wire.java:70) - << "DTD HTML 2.0//EN">[\n]"
2011-01-13 16:13:17,957 DEBUG (Wire.java:70) - << "<html><head>[\n]"
2011-01-13 16:13:17,957 DEBUG (Wire.java:70) - << "<title>401 Authorization Required</title>[\n]"
2011-01-13 16:13:17,958 DEBUG (Wire.java:70) - << "</head><body>[\n]"
2011-01-13 16:13:17,958 DEBUG (Wire.java:70) - << "<h1>Authorization Required</h1>[\n]"
2011-01-13 16:13:17,958 DEBUG (Wire.java:70) - << "<p>This server could not verify that you[\n]"
2011-01-13 16:13:17,958 DEBUG (Wire.java:70) - << "are authorized to access the document[\n]"
2011-01-13 16:13:17,958 DEBUG (Wire.java:70) - << "requested.  Either you supplied the wrong[\n]"
2011-01-13 16:13:17,958 DEBUG (Wire.java:70) - << "credentials (e.g., bad password), or your[\n]"
2011-01-13 16:13:17,958 DEBUG (Wire.java:70) - << "browser doesn't understand how to supply[\n]"
2011-01-13 16:13:17,959 DEBUG (Wire.java:70) - << "the credentials required.</p>[\n]"
2011-01-13 16:13:17,959 DEBUG (Wire.java:70) - << "<hr>[\n]"
2011-01-13 16:13:17,959 DEBUG (Wire.java:70) - << "<address>Apache Server at services.revolutionlinux.com Port 80</address>[\n]"
2011-01-13 16:13:17,959 DEBUG (Wire.java:70) - << "</body></html>[\n]"
---
Mailing list: [email protected]
Forum: http://forum.nuxeo.org/f/1/

Reply via email to