Developer

last person joined: 2 days ago 

Expand all | Collapse all

[Aruba-OS-Switch] Max content-length for ConfigPayload

This thread has been viewed 0 times
  • 1.  [Aruba-OS-Switch] Max content-length for ConfigPayload

    Posted Nov 05, 2019 04:16 AM

    Hi folks,

     

    I'm trying to push some config to a switch running "WC.16.09", using the API "ConfigPayload" service. The API route I'm using is "/rest/v6/system/config/payload".

     

    In general it works fine, but when the content-length of the POST request exceeds 16072 bytes, I'm getting :

    reply: 'HTTP/1.1 413 Request Entity Too Large\r
    ' header: Server: eHTTP v2.0 header: Connection: close header: Content-Type: text/html

    Is there any known workaround for this? 

     

    I was thinking in sending the json payload as chunks of data, but I'm not sure how it's supposed to be encoded or if it's even supported on the server side.

     

    Best,

    Guillermo



  • 2.  RE: [Aruba-OS-Switch] Max content-length for ConfigPayload

    Posted Nov 13, 2019 05:01 AM

    I guess nobody faced this yet. BTW, we experienced this in 2930F-8G

     

    We'll try to get some 2930Ms in the lab to test this again. Our typical stack config is way over 16072 bytes. and around 1.5k lines of config...fingers crossed. 



  • 3.  RE: [Aruba-OS-Switch] Max content-length for ConfigPayload

    MVP GURU
    Posted Nov 13, 2019 05:33 AM

    Do you have open a case to TAC ?

     

    Do you have try to split Config ?