Graphql endpoint slow

Howdy!

I have Kong (API Gateway w/o Ingress Controller) setup and I’m noticing that if I run a POST to the graphql endpoint, the request takes 20 seconds. This is weird, when we run Kong in ECS (and not EKS) we don’t have this problem. There is no significant difference in the configuration between the two instances of Kong.

2022-02-23T04:43:03.940182418Z proxy 2022/02/23 04:43:03 [info] 1097#0: *128 [lua] ipmatcher.lua:311: match(): ipv4 mask: 16 valid inet: 44048, client: 172.16.184.97, server: kong, request: "POST /graphql HTTP/1.1", host: "sub.example.com"
2022-02-23T04:43:23.995087498Z proxy 172.16.184.97 - - [23/Feb/2022:04:43:23 +0000] "POST /graphql HTTP/1.1" 200 498 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) AltairGraphQLClient/4.4.0 Chrome/93.0.4577.63 Electron/14.0.1 Safari/537.36"

You can see from the above log snippet that 43:03 to 43:23 to complete the request. What’s odd is that in the backend, I can see the request complete almost immediately but for some reason Kong is hanging before returning the payload.

What am I missing here?

Version: Kong Open Source, 2.7

arg. nevermind. it was me earth all along (it wasn’t kong)