Hello,
We have an application with an Api, and today when I try to update my profile information, sending a post to the server, the api returns an error.
The error is below:
2024/08/13 13:14:39 [error] 20110#0: *94319730 lua entry thread aborted: runtime error: /www/server/btwaf/init.lua:1328: attempt to compare number with nil
stack traceback:
coroutine 0:
/www/server/btwaf/init.lua: in function 'post'
/www/server/btwaf/init.lua:3751: in function 'run_btwaf'
/www/server/btwaf/waf.lua:14: in function </www/server/btwaf/waf.lua:1>, client: 179.130.78.18, server: genesisapi.diskingressos.com.br, request: "PUT /client/update HTTP/2.0", host: "genesisapi.diskingressos.com.br", referrer: "https://www.diskingressos.com.br/"
I whitelisted the URL in waf and the request works normally.
What can I do to resolve this error?
System: CentOS 7.9.2009 x86_64(Py3.7.9)
aaPanel Version: 6.8.33
Nginx WAF Version: 8.8.4