openresty / openresty/lua-nginx-module
openresty 1.15.8.1 get_request nil value, 1.13.6.2 working good
Open
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 11.8k
- Forks
- 2.1k
- Avg merge
- 6h 1m
- Merged PRs (30d)
- 6
Description
2019/08/19 09:54:04 [error] 48#48: *17299 lua entry thread aborted: runtime error: /usr/local/openresty/lualib/resty/core/ctx.lua:34: attempt to call upvalue 'get_request' (a nil value)
stack traceback:
coroutine 0:
/usr/local/openresty/lualib/resty/core/ctx.lua: in function '__index'
openresty 1.15.8.1 get_request nil value, 1.13.6.2 working good
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the reported runtime error at /usr/local/openresty/lualib/resty/core/ctx.lua:34 and reproduce it on OpenResty 1.15.8.1. Compare the failing behavior with OpenResty 1.13.6.2, then trace why get_request is nil; done means the regression is explained and the request context access works without the reported error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, nginx
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100