Closed Albert-Coding closed 10 years ago
Confirmed. The server returns an HTML page with a 411 status. It's not a bug in the client as the client attempts to send a chunked post request because of the size of the CSDL. The server, NGinx does not support chunked post requests. I've raised an internal ticket to get that sorted. I'll close this for now and update it when there is a server side resolution.
Netty, the underlying HTTP library automatically makes a chunked request if the size of the request is more than 8096 bytes. A work around for now is to keep CSDL below that size. Will update with progress when I know more.
The nginx upgrades are now in production. Just re-running the same query will now work, nothing changes in the client.
Hi,
I noticed a problem where DataSiftClient.compile(String) doesn't seem to work on long Strings. Could someone confirm/deny this? A mock CSDL is provided below along with the exception thrown.
Albert