Skip to content

bug: runtime error: /usr/local/openresty/lualib/resty/core/request.lua:116: bad argument #1 to 'lower' (string expected, got nil) #7276

Description

@hongbinhsu

Current Behavior

When use docker apache/apisix:2.13.1-alpine or apache/apisix:2.14.1-alpine

"GET /test/api/data/page/layout?name=home_v1&platform=app"

请求时报

[error] 46#46: *8041 lua entry thread aborted: runtime error: /usr/local/openresty/lualib/resty/core/request.lua:116: bad argument #1 to 'lower' (string expected, got nil)

use docker apache/apisix:2.12.1-alpine 版本正常

Expected Behavior

No response

Error Logs

No response

Steps to Reproduce

  1. Run docker apache/apisix:2.13.1-alpine or apache/apisix:2.14.1-alpine
  2. GET 正则转发后并且带有get参数的接口时,报500错误
    [error] 46#46: *8041 lua entry thread aborted: runtime error: /usr/local/openresty/lualib/resty/core/request.lua:116: bad argument change: added doc of how to load plugin. #1 to 'lower' (string expected, got nil)

Environment

  • APISIX version (run apisix version): apache/apisix:2.13.1-alpine or apache/apisix:2.14.1-alpine
  • Operating system (run uname -a): centos 7
  • OpenResty / Nginx version (run openresty -V or nginx -V): /
  • etcd version, if relevant (run curl http://127.0.0.1:9090/v1/server_info): bitnami/etcd:latest
  • APISIX Dashboard version, if relevant: /
  • Plugin runner version, for issues related to plugin runners: /
  • LuaRocks version, for installation issues (run luarocks --version): /

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions