Am 31.08.2005 um 12:17 schrieb Jörn Nettingsmeier:

Andreas Noback wrote:
Am 31.08.2005 um 11:36 schrieb Jörn Nettingsmeier:
Andreas Noback wrote:
hi,
I try authoring via https and I am getting error messages every-time i try to publish: org.apache.commons.httpclient.HttpRecoverableException: Error in parsing the status line from the response: unable to find line starting with "HTTP"

that looks like you are sending https data (encrypted) to a port that expects plaintext html.

iiuc, the decryption is handled by tomcat (or apache in my setup), and it should be transparent to lenya.
thats what i think, too.
your error message might indicate that tomcat fails to deal with the https and forwards the data to the servlet without properly decrypting it.
do you think that it is possible for one single servlet? all the other communication seems to work and tomcat reports no errors. i have an alternate configuration in which apache deals the https-communication with exactly the same results.

hmm. just to verify my guess, can you try to telnet to your lenya port and do a "GET / HTTP 1.1"? you will need to press enter twice, since http request headers must be terminated with an empty line.

if you see something like

HTTP/1.1 200 OK
Date: Wed, 31 Aug 2005 10:00:43 GMT
Server: Apache/2.0.49 (Linux/SuSE)
Last-Modified: Mon, 19 Jul 2004 12:33:02 GMT
ETag: "d00029f-85-5eb05b80"
Accept-Ranges: bytes
Content-Length: 133
Connection: close
Content-Type: text/html; charset=ISO-8859-1

your server does plain http. if it is really a https port, it should reply with error code 400 (bad request).


tomcat just close the connection. the alternate way throu apache gives me an error code 400.

- andreas

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to