hanqingwu commented on issue #10945:
URL: https://github.com/apache/apisix/issues/10945#issuecomment-1977792458
```
2024/03/05 01:42:47 [info] 71#71: *112480 [lua] radixtree.lua:355:
pre_insert_route(): path: /ip operator: =, client: 100.168.34.1, server: _,
request: "GET /ip HTTP/1.1", host: "127.0.0.2:9080"
2024/03/05 01:42:47 [info] 71#71: *112480 [lua] radixtree.lua:355:
pre_insert_route(): path: /apisix/plugin/jwt/sign operator: =, client:
100.168.34.1, server: _, request: "GET /ip HTTP/1.1", host: "127.0.0.2:9080"
2024/03/05 01:42:47 [info] 71#71: *112480 [lua] radixtree_host_uri.lua:161:
match(): route match mode: radixtree_host_uri, client: 100.168.34.1, server: _,
request: "GET /ip HTTP/1.1", host: "127.0.0.2:9080"
2024/03/05 01:42:47 [info] 71#71: *112480 [lua] init.lua:632:
http_access_phase(): matched route:
{"clean_handlers":{},"key":"/apisix/routes/1","createdIndex":21,"modifiedIndex":68,"value":{"create_time":1709178376,"id":"1","plugins":{"serverless-post-function":{"phase":"access","functions":["return
function(conf, ctx) \n ngx.log(ngx.ERR,router) \n
ngx.say(ngx.req.get_headers().xtest); \n
end"]},"key-auth":{"query":"apikey","header":"apikey","hide_credentials":false},"proxy-rewrite":{"headers":{"add":{"xtest":"123"}},"use_real_request_uri_unsafe":false}},"uri":"/ip","name":"abcd","priority":0,"upstream":{"type":"roundrobin","parent":{"clean_handlers":"table:
0x7fb3253bb308","key":"/apisix/routes/1","createdIndex":21,"modifiedIndex":68,"value":"table:
0x7fb325412b18","orig_modifiedIndex":68,"has_domain":true},"nodes":[{"host":"httpbin.org","priority":0,"port":80,"weight":1}],"pass_host":"pass","scheme":"http","hash_on":"vars"},"status":1,"update_time":1709602849},"orig_modifiedInde
x":68,"has_domain":true}, client: 100.168.34.1, server: _, request: "GET /ip
HTTP/1.1", host: "127.0.0.2:9080"
2024/03/05 01:42:47 [info] 71#71: *112480 [lua] consumer.lua:64:
create_obj_fun():
consumer:{"modifiedIndex":67,"auth_conf":{"key":"auth-one"},"create_time":1709178297,"consumer_name":"jack","id":"jack","plugins":{"key-auth":{"key":"auth-one"}},"username":"jack","update_time":1709602843},
client: 100.168.34.1, server: _, request: "GET /ip HTTP/1.1", host:
"127.0.0.2:9080"
2024/03/05 01:42:47 [info] 71#71: *112480 [lua] consumer.lua:105:
create_obj_fun(): consumer node:
{"modifiedIndex":67,"auth_conf":{"key":"auth-one"},"create_time":1709178297,"consumer_name":"jack","id":"jack","plugins":{"key-auth":{"key":"auth-one"}},"username":"jack","update_time":1709602843},
client: 100.168.34.1, server: _, request: "GET /ip HTTP/1.1", host:
"127.0.0.2:9080"
2024/03/05 01:42:47 [info] 71#71: *112480 [lua] secret.lua:233:
fetch_secrets(): retrieve secrets refs, client: 100.168.34.1, server: _,
request: "GET /ip HTTP/1.1", host: "127.0.0.2:9080"
2024/03/05 01:42:47 [info] 71#71: *112480 [lua] key-auth.lua:93:
phase_func(): consumer:
{"modifiedIndex":67,"auth_conf":{"key":"auth-one"},"create_time":1709178297,"consumer_name":"jack","id":"jack","plugins":{"key-auth":{"key":"auth-one"}},"username":"jack","update_time":1709602843},
client: 100.168.34.1, server: _, request: "GET /ip HTTP/1.1", host:
"127.0.0.2:9080"
2024/03/05 01:42:47 [info] 71#71: *112480 [lua] key-auth.lua:106:
phase_func(): hit key-auth rewrite, client: 100.168.34.1, server: _, request:
"GET /ip HTTP/1.1", host: "127.0.0.2:9080"
2024/03/05 01:42:47 [warn] 71#71: *112480 [lua] json.lua:95: failed to
encode: Cannot serialise, excessive nesting (1001) force: nil, client:
100.168.34.1, server: _, request: "GET /ip HTTP/1.1", host: "127.0.0.2:9080"
2024/03/05 01:42:47 [warn] 71#71: *112480 [lua] json.lua:95: failed to
encode: Cannot serialise, excessive nesting (1001) force: nil, client:
100.168.34.1, server: _, request: "GET /ip HTTP/1.1", host: "127.0.0.2:9080"
2024/03/05 01:42:47 [info] 71#71: *112480 [lua] plugin.lua:726:
merge_consumer_route(): route conf: , client: 100.168.34.1, server: _, request:
"GET /ip HTTP/1.1", host: "127.0.0.2:9080"
2024/03/05 01:42:47 [info] 71#71: *112480 [lua] plugin.lua:727:
merge_consumer_route(): consumer conf:
{"modifiedIndex":67,"auth_conf":{"key":"auth-one"},"create_time":1709178297,"consumer_name":"jack","id":"jack","plugins":{"key-auth":{"key":"auth-one"}},"username":"jack","update_time":1709602843},
client: 100.168.34.1, server: _, request: "GET /ip HTTP/1.1", host:
"127.0.0.2:9080"
2024/03/05 01:42:47 [info] 71#71: *112480 [lua] plugin.lua:728:
merge_consumer_route(): consumer group conf: null, client: 100.168.34.1,
server: _, request: "GET /ip HTTP/1.1", host: "127.0.0.2:9080"
2024/03/05 01:42:47 [warn] 71#71: *112480 [lua] json.lua:95: failed to
encode: Cannot serialise, excessive nesting (1001) force: nil, client:
100.168.34.1, server: _, request: "GET /ip HTTP/1.1", host: "127.0.0.2:9080"
2024/03/05 01:42:47 [warn] 71#71: *112480 [lua] json.lua:95: failed to
encode: Cannot serialise, excessive nesting (1001) force: nil, client:
100.168.34.1, server: _, request: "GET /ip HTTP/1.1", host: "127.0.0.2:9080"
2024/03/05 01:42:47 [info] 71#71: *112480 [lua] plugin.lua:720:
create_obj_fun(): merged conf : , client: 100.168.34.1, server: _, request:
"GET /ip HTTP/1.1", host: "127.0.0.2:9080"
2024/03/05 01:42:47 [info] 71#71: *112480 [lua] init.lua:709:
http_access_phase(): find consumer jack, config changed: true, client:
100.168.34.1, server: _, request: "GET /ip HTTP/1.1", host: "127.0.0.2:9080"
2024/03/05 01:42:47 [error] 71#71: *112480 [lua] [string "return
function(conf, ctx) ..."]:2: func(): nil, client: 100.168.34.1, server: _,
request: "GET /ip HTTP/1.1", host: "127.0.0.2:9080"
2024/03/05 01:42:47 [info] 71#71: *112480 [lua] client.lua:123: dns_parse():
dns resolve httpbin.org, result:
{"type":1,"class":1,"ttl":30,"section":1,"name":"httpbin.org","address":"174.129.27.151"},
client: 100.168.34.1, server: _, request: "GET /ip HTTP/1.1", host:
"127.0.0.2:9080"
2024/03/05 01:42:47 [info] 71#71: *112480 [lua] resolver.lua:84:
parse_domain(): parse addr:
{"type":1,"class":1,"ttl":30,"section":1,"name":"httpbin.org","address":"174.129.27.151"},
client: 100.168.34.1, server: _, request: "GET /ip HTTP/1.1", host:
"127.0.0.2:9080"
```
--
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: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]