504 Gateway Time-out and targetPendingRequests #330
Replies: 6 comments 3 replies
-
Hi @mikaelasanchez thanks for reporting this! For the For the 504 problem, are you routing traffic through a cloud load balancer of some kind? The first request can take some time to spin up the pod (as you saw) and while the interceptor waits, other systems that sit in the network path upstream from it might not. |
Beta Was this translation helpful? Give feedback.
-
Hi, @arschles here is the result, I dont see targetPendingRequests `
|
Beta Was this translation helpful? Give feedback.
-
It is the latest stable release version which is 0.2.0, helm install http-add-on kedacore/keda-add-ons-http --namespace ${NAMESPACE} |
Beta Was this translation helpful? Give feedback.
-
@avinash31d can you try this:
Also, can you change your kind: HTTPScaledObject
apiVersion: http.keda.sh/v1alpha1
metadata:
name: hello
spec:
host: hello.127.0.0.1.nip.io
targetPendingRequests: 10 # here
scaleTargetRef:
deployment: hello
service: hello
port: 80
# targetPendingRequests: 10 # not here (there was a bug in the reference documentation for this |
Beta Was this translation helpful? Give feedback.
-
@arschles but i dont see targetPendingRequests |
Beta Was this translation helpful? Give feedback.
-
@arschles I am having same 504 error problem. Scaling up and down part works perfectly but once it scales up (0 to 1) and pod is ready (containers are all running), I am receiving 504 error and it happens no matter how many times I refresh the http request. Once I change the ingress from interceptor service to deployment service then it starts to work. I am using 0.3.0 version of http-add-on app |
Beta Was this translation helpful? Give feedback.
-
Hello! I hope I'm posting this in the right place.
Gateway Timeout
I'm trying to get a simple Hello World app working with KEDA and followed the instructions in the walkthrough page
Firstly, when I edit the ingress to point to
keda-add-ons-http-interceptor-proxy
, the pod starts up (good)But then I receive a 504 Gateway Time-out error, instead of it showing "Hello World"
After a while, it does scale back to 0 (good)
Not sure what's going on here?
targetPendingRequests
In addition, I'm getting this error:
My YAML file:
Thanks in advance :)
Beta Was this translation helpful? Give feedback.
All reactions