nginx-module-vts
nginx-module-vts copied to clipboard
Json gets cut off after 131073 bytes
Set this up on two of my nginx servers the other day, quickly noticed that after just a short bit the page stopped working on one of them, and then the other followed shortly after.
For whatever reason on both of them the json just gets cut off after 131073 bytes. Jsonp shows the same behavior.
The stats that are still included are still updating, although the html page no longer shows any stats once the json gets cut off.
Looks like this was actually caused by by a module I have for zstd compression (https://github.com/tokers/zstd-nginx-module) and turning off zstd for the status page fixes it. Seems to line up with the default zstd_buffers value which is 131072 bytes.
Nothing else is getting cut off though, so I'm not sure if the problem lies within the zstd module or vts.
@ButteredCats Thanks investigating. We will reinvestigate the concern about the zstd module. Could you tell us your using version of the zstd-module, nginx and other using modules?
Nginx mainline 1.27.4 zstd module https://github.com/tokers/zstd-nginx-module latest commit (f4ba115) brotli module https://github.com/google/ngx_brotli latest commit (a71f931) more headers module https://github.com/openresty/headers-more-nginx-module latest commit (84a65d6) and 0.2.4 of the vts module