# A Pod Is Ready. Why Is the Request Timing Out? *How I’d look at one Kubernetes request with Cilium and Hubble.* By Thomas Hein Thura When someone tells me a Kubernetes service is timing out, the first thing I ask is where they’re calling it from. I can make a request from my laptop and get a different answer from the application Pod. The two calls may go through different routes and policies. Say an integration service has just moved to Kubernetes. Its Pods are Ready, but it cannot reach a backend in another namespace. So, I would send one test request from the original caller in the lab and write down the time, source, destination and port. After that, I follow that one request and nothing else. ![Request path from a client Pod through DNS, a Cilium network policy and Hubble, to the backend Service and its logs](assets/cilium-request-path.gif) *Follow the request from left to right. Hubble sits next to the policy, so it is where you see whether the request was dropped or forwarded.* ## Did the name resolve? Start with the address the service name resolves to from that caller. If the lookup failed, look at DNS traffic first. If it worked, check that the destination Service has the endpoints you expect. It’s worth checking the namespace and port here. An old configuration value can still point you to a live service in the wrong place. [Kubernetes Service documentation](https://kubernetes.io/docs/concepts/services-networking/service/) ## What did Hubble see? With Hubble collecting flows for the relevant Cilium-managed endpoints, filter around that request’s timestamp and the Pods involved. A drop with a policy-denied reason gives you a place to investigate. However, check the identities and ports against the intended ingress and egress rules before you change anything. For a test of the final policy, you want one permitted caller and one that should be denied, and the results of both. [Cilium troubleshooting documentation](https://docs.cilium.io/en/stable/operations/troubleshooting/) If you see a forwarded connection, the question moves to the application. Did it receive the request, and what did it do with it? An application can reject the call or time out talking to its own dependency. If Hubble shows no matching flow, make sure you are looking at the right endpoints and time window before you conclude anything about the policy. ## What would I show the team? I would line up one caller log entry, the matching flow if it’s visible, and an application log or trace for the destination. If the fix was a policy change, repeat the allowed and denied cases. If the fix was in the application, check that the response and downstream record match what you expected. In my integration migration article I followed an attendance event through the gateway. This is the part I would use when that same event gets as far as Kubernetes and then disappears. I want to be able to say where I last saw it and what I checked after that. If you want the earlier step first, it is in “What I’d Test Before Moving an Integration to Kubernetes”. Here is one thing to try this week. Pick a service in your lab, send a single request from the real caller Pod, and write down the time, source, destination and port. Then find that request in Hubble. Even if nothing is wrong, you will know what a normal flow looks like. Next, I will look at a different problem in my Kind lab, “My Kind Lab Still Used ingress-nginx. What I Changed After It Retired”.