openresty / openresty/lua-nginx-module
nginx-quic error !
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 11.8k
- Forks
- 2.1k
- Avg merge
- 6h 1m
- Merged PRs (30d)
- 6
Description
Please help to look at this problem:
version:
luajit : 2.0.5 # https://github.com/openresty/luajit2/archive/refs/tags/v2.0.5.tar.gz
lua_nginx_module : v0.10.14 # https://github.com/openresty/lua-nginx-module/archive/refs/tags/v0.10.14.tar.gz
nginx-quic : nginx-1.21.1-RELEASE # https://hg.nginx.org/nginx-quic/rev/a68ac0677f85
Htttp3 request an error is as follows:
2022/09/23 16:43:13 [error] 3713#3713: 7398 failed to run log_by_lua: /home/work/app/nginx/lua/report_status/record.lua:9: API disabled in the current context
stack traceback:
[C]: in function '__index'
record.lua:9 The following :
local host = ngx.var.host
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 /home/work/app/nginx/lua/report_status/record.lua at line 9 and the log_by_lua execution context, using the listed LuaJIT, lua-nginx-module, and nginx-quic versions to reproduce the HTTP/3 request. Done means identifying why ngx.var.host is disabled in that context and recording a confirmed resolution or required compatibility change.
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
- 25/100