nginx/njs-examples

too big subrequest response

prof-alazhary opened this issue · 1 comments

Hi @xeioex ,

I searched for this issue, and I found that there is a suggestion to increase subrequest_output_buffer_size and I already tried this way, by adding its value 64k as per the Docs,

but the issue still happens

Do you have any suggestions, please?

2022/05/20 22:07:18 [error] 7#0: *5 too big subrequest response: 4295 while sending to client, client: 10.34.123.111, 
2022/05/20 22:07:18 [error] 7#0: *5 pending events while closing request, client: 10.34.123.111, server: 0.0.0.0:8080

oh, I think it's my mistake.
obviously, I was adding subrequest_output_buffer_size 64k; in the wrong context.
I was added it in the primary/parent API, not in the proxied API itself.
after I add it in the proxied API scope location the issue is resolved.