moorefu commented on issue #1826: URL: https://github.com/apache/incubator-apisix/issues/1826#issuecomment-656582432
> or you can make a try `local res = ngx_capture("/real/abc.json",{share_all_vars = true})`, you can not pass the current `ctx` directly. it is unsafe for APISIX. yes i try this way also.but the real route do not work.and got error log. `2020/07/09 23:31:44 [error] 20425#20425: *644502 [lua] init.lua:494: http_balancer_phase(): invalid api_ctx while connecting to upstream, client: 192.168.11.69, server: , request: "GET /process/abc HTTP/1.1", subrequest: "/real/abc", host: "192.168.11.13"` ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org