Software Development Kit (SDK) and API Discussions

Cluster Mode 8.3.1 sending HTTP chunked response and broke Manageability SDK (C/C++)

LeoW
6,756 Views

 It looks like 8.3.1 is sending HTTP response in chunks for some APIs, e.g. volume-get-iter. I tried SDK 5.4P1 (C/C++ lib) and I got the following error:

 

  • Parsing error in results: Start tag expect, '<' not found

This error is probably caused by the chunk size header in the response before the XML data.

 

Is there any setting to turn off chunked response? or any workaround?

 

Thanks,

 

Leo

1 ACCEPTED SOLUTION

CristianL
6,456 Views

Posting the solution:

@LeoW tested with NMSDK 5.4P1. This issue is fixed there.

 

There is NO option to turn off chunked response for now.-

 

 

 

 

 

View solution in original post

6 REPLIES 6

LeoW
6,592 Views

BTW, I think this post also mentioned the same problem "OnTAPI lun-get-iter fails with error 13001 on 8.3.1"

CristianL
6,457 Views

Posting the solution:

@LeoW tested with NMSDK 5.4P1. This issue is fixed there.

 

There is NO option to turn off chunked response for now.-

 

 

 

 

 

andyh2468
6,219 Views

Hi, we are also seeing an issue with the HTTP chunk header being sent in the API response on OnTap 8.3.1 , please can you advise how the HTTP Chunked response option is turned off in OnTap in order to remove the Chunk size header from the responses

 

 

CristianL
6,205 Views

Please see the answer above.

andyh2468
6,180 Views

Hi Christian , thanks for your reply. The solution above states there is an option to turn off for now but does not detail how this is achieved, please can this process be explained.

 

 

Thanks

CristianL
6,164 Views

Pff you are correct. I forgot a negation in the text.

 There is NO Option provided to turn this off.

Public