ali-mahdavi-mehr opened a new issue, #10926:
URL: https://github.com/apache/apisix/issues/10926

   ### Current Behavior
   
   We have encountered this error in APISIX, and we are unsure when it occurs. 
Additionally, we do not know which library calls this function, but an error 
has occurred for us occasionally, not always. Please let us know the reason for 
this error and how to prevent it. Thank you
   
   ### Expected Behavior
   
   129 =>  local milliseconds = tonumber(seconds) * 1000 (in 
[lua-resty-core](https://github.com/openresty/lua-resty-core/blob/dc3fdd91b1abc2aac6706c9117a99cd2e00e6133/lib/ngx/semaphore.lua#L129))
   
   I think that wherever this function is called, it sends a nil value as 
"seconds".
   
   ### Error Logs
   
   [error]: * lua user thread aborted: runtime error: 
/usr/local/openresty/lualib/ngx/semaphore.lua:129: attempt to perform 
arithmetic on a nil value
   
   ### Steps to Reproduce
   
   We couldn't figure out where and when in the code this function is being 
called. and we do not use this library in any of our plugins
   
   ### Environment
   
   - APISIX version (run `apisix version`):3.8.0
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to