Hi, I have drone installed in a kubernetes cluster and I am using an ambassador ingress to expose it to the internet. I noticed the drone ui doesn’t refresh when a job is running and found the following error in the console and the network requests that fail.
net::ERR_INCOMPLETE_CHUNKED_ENCODING 200 (OK)
This is what I see in drone logs:
{“level”:“debug”,“msg”:“events: stream opened”,“request-id”:“646922f3-dc21-459f-be95-0244b33ac077”,“time”:“2021-08-03T21:42:08Z”,“user.admin”:true,“user.login”:“xxx”}
{“level”:“debug”,“msg”:“events: stream cancelled”,“request-id”:“646922f3-dc21-459f-be95-0244b33ac077”,“time”:“2021-08-03T21:42:11Z”,“user.admin”:true,“user.login”:“xxx”}
{“level”:“debug”,“msg”:“events: stream closed”,“request-id”:“646922f3-dc21-459f-be95-0244b33ac077”,“time”:“2021-08-03T21:42:11Z”,“user.admin”:true,“user.login”:“xxx”}
And my ingress logs:
ACCESS [2021-08-03T21:48:21.296Z] “GET /api/stream HTTP/1.1” 200 - 0 8 3002 15 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.115 Safari/537.36” “77b78429-991d-4792-b544-9ab7f7d6e1af” “drone.xxxx.com” “10.100.86.238:80”
ACCESS [2021-08-03T21:48:28.853Z] “GET /api/stream HTTP/1.1” 200 - 0 8 3005 15 “-” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.115 Safari/537.36” “8626d122-bd96-42e2-ac42-dcfb5c4a6388” “drone.xxxx.com” “10.100.86.238:80”
I exposed the service with an AWS LoadBalancer instead of the Ambassador Ingress and it works fine. That makes me think there is something missing in the ingress config but I am not sure where to look. Can you point me in the right direction? Why would this request fail?