bzp2010 commented on issue #2404: URL: https://github.com/apache/apisix-ingress-controller/issues/2404#issuecomment-3240320615
Hi @MarcCain-Scott I tested your configuration and did not reproduce the issue. Although I did not use the exact same APISIX/Ingress Controller versions and deployment as yours. > /usr/local/apisix//deps/share/lua/5.1/jsonschema.lua:46: attempt to call field 'find' (a nil value) <img width="400" height="100" alt="Image" src="https://github.com/user-attachments/assets/77151155-326e-4dab-bcd5-03741dffbcaa" /> However, I analyzed your error from a code perspective. The `find` function is a built-in standard library provided by OpenResty, accessed via `ngx.re.find`. Logically, `ngx.re` should never be `nil`. Technically, even though this table is provided by the standard library, it can still be overwritten or modified. Therefore, it's highly likely that faulty code accidentally corrupted it. Consequently, I strongly suspect there's an incorrect implementation within your serverless plugin that improperly modified the `ngx.re` table, rendering ngx.re.find inaccessible. Based on your description, this issue occurs randomly, not at startup. If your serverless is mounted on a route and that code snippet executes due to a route request, it could indeed accidentally corrupt the runtime at some point during execution, causing subsequent calls to fail. You haven't provided the code snippet from serverless, so I can't inspect it. You'll need to look into it yourself or reply here with a snippet. -- 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: notifications-unsubscr...@apisix.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org