You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Script anti_ddos_challenge.lua fails health check leading to crashing nginx-ingress-controller pods
Issue Description
I mounted the script to the nginx-ingress-controller pod and added the external lua script based on the installation steps mentioned in the doc. But unfortunately, pods are crashing leaving below error:
/tmp/anti_ddos_challenge.lua:2525: in main chunk, client: unix:, server: , request: "GET /is-dynamic-lb-initialized HTTP/1.1", host: "nginx-status"
2021/05/27 10:56:33 [warn] 599#599: *410 [lua] _G write guard:12: __newindex(): writing a global lua variable ('set_cookies') which may lead to race conditions between concurrent requests, so prefer the use of 'local' variables
stack traceback:
/tmp/anti_ddos_challenge.lua:3292: in main chunk, client: unix:, server: , request: "GET /is-dynamic-lb-initialized HTTP/1.1", host: "nginx-status"
E0527 10:56:33.857930 6 checker.go:57] healthcheck error: 503
---g82GBbwu---A--
Script anti_ddos_challenge.lua fails health check leading to crashing nginx-ingress-controller pods
Issue Description
I mounted the script to the nginx-ingress-controller pod and added the external lua script based on the installation steps mentioned in the doc. But unfortunately, pods are crashing leaving below error:
Versions:
The text was updated successfully, but these errors were encountered: