Skip to Content
0
Jun 10, 2022 at 03:08 PM

Max http header size issue on Node 10 & 12

75 Views

Hi All,

We are facing issue when our UI is calling XSJS. The code we are getting is 431(Header too large). Approuter lib is creating big session objects for few users. I tried few solutions like

1) putting --max-http-header-size in UI package.json start script;

2) putting --max-http-header-size in XSJS package.json start script;

3) putting it as in httpHeader array as well and in other places of mta.yaml file. But its still not working.

https://stackoverflow.com/questions/57705290/how-to-set-nodejs-command-max-http-header-size-with-nodemon-exec-babel-n

https://nodejs.org/api/cli.html

Can anyone let me know how we can increase headerSize for my application in SAP HANA 2.

Thanks

Sachin