NSO Rest API post size limit

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-29-2018 09:14 AM - edited 08-29-2018 09:17 AM
Hello,
What is the default post size limit for NSO web server. I am trying to call the rest API (actions) using http post method with large data. The API works fine when payload size is around 4 MB but fails with "application communication failure" when it is over 4-6 MB.
Is there a size limit that I can increase?
Thanks!
- Labels:
-
DevOps

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2018 03:42 AM
There is no particular size limit. More likely that some application consuming the data is too slow to respond to NSO, so that NSO considers it failed. Do you know which application is causing this? You say this is a POST, is it an action/rpc invocation? If so, the application implementor might need to add a call back to NSO to ask for more processing time (python DPAPI: extend_timeout())

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2018 10:20 AM
We ran into the timeout issue earlier and fixed it by increasing the timeout. However, this issue is different. In this case NSO throws “application communication failure” message very quickly before even starting to process the payload. Same type of request works fine if we reduce the payload in half.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-30-2018 10:26 PM
Do you know which application is involved in this error? Did you check (after possibly enabling) the logs, e.g. the developer log?
