Closed ghost closed 3 years ago
This seems to not come from captcha.lua
but waf.lua
, what is inside waf.lua
?
@bungle
The captcha
file itself only contains code (around 200 lines) to generate a captcha image.
No redis session involved in this file, it's just using gd to generate images.
The script from above is waf.lua
. I've corrected the rewrite_by_lua_file
part.
The problem seems to occur only after a few hours.
The output of print(err)
are these lines I think:
stack traceback:
coroutine 0:
Any idea how to increase debug?
@pekineseZ, so it looks like both session
and err
are nil
?
@bungle We've updated from 3.6 to 3.7, but reading the docs, there's no direct bugfix related to this issue I think. Please keep issue open for 7 days from now, we keep this under monitoring.
Debug we use now:
--debug
if session == nil then
ngx.log(ngx.STDERR, 'ERROR SECTION TRIGGERED ' .. err)
end
@pekineseZ yes, sure I will. Let me know if you have any further feedback on this. I tried to find the bug, but I didn't. Still looking for it. Any new info welcomed! Thanks for reporting so far!
Can be closed, please include a donation info, this lib is just great.👍
Running the following code:
Script is executed by:
The script itself is runnning fine at the moment, but after a few hours we see a blank
500 Internal Server Error
page, checking the logs we see:Using:
Any idea where things go wrong / how we can debug?