server committed a protocol violation. Section=ResponseStatusLine using rest api


Can anyone help us on how we resolve this error (server committed a protocol violation. Section=ResponseStatusLine). We are trying to send the request in raw-xml and get the response in raw-xml also. We used consume rest api for this. Thanks

Hello Reuben. This seems like the server is returning an invalid response status line. This line is specified in the HTTP protocol, so if the server is violating that, something should be really wrong.

Aren't you by any chance trying to access an HTTPS service, but using the HTTP protocol?

I suggest you set the Full logging level of that service (see here how to do it) to intercept the HTTP traffic. Then, after you get the error, you should have the HTTP transmission in the integration log. Just check if something seems out of place - I'm guessing the error should be clear when you look at it.