hello,
i still have this problem...
what i have forgot is that each of my synapse servers are behind an
apache reverse proxy.
and i'm wondering if this proxy could not cause the problem?
regards
Asankha C. Perera a écrit :
Hi Olivier
client -> s2/p2 -> s1/p1 -> ws1
The 411 - Length required error is definitely sent by "ws1", as it
doesn't understand the default HTTP 1.1 chunked encoding used by
Synapse. The HTTP spec states the following about this error:
/http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html Section.
10.4.12 411 Length Required/
/ The server refuses to accept the request without a defined Content-
Length. The client MAY repeat the request if it adds a valid
Content-Length header field containing the length of the message-body
in the request message./
To overcome this, force use of HTTP 1.0 at s1/p1 by setting the
following property before your send (to ws1)
<syn:property name="FORCE_HTTP_1.0" value="true" scope="axis2" />
You can use default HTTP 1.1 / chunked encoding between the client ->
s2/p2 -> s1/p1
asankha
--
Olivier ZILLER
CRI Gestion
Universite NANCY2
25 rue Baron Louis
BP 454 NANCY CEDEX
tel: 03 54 50 36 60 / 06 85 74 89 77
fax : 03 83 30 05 65