Hello @Surya Tiwari
I understand that your the issue stems from buffering occurring somewhere in your network layer
Lets try some approaches
- Application Gateway Settings:
- Disabling Response Buffering:
- In your Application Gateway settings, under the "Backend HTTP Settings," explicitly disable response buffering. This should prevent the gateway from accumulating the entire response before forwarding it.
- Ensure you've configured the same backend pool for the HTTP listener and backend HTTP settings.
- Connection Draining: If the backend application supports it, consider enabling connection draining in the Application Gateway. This allows in-flight requests to complete before new ones are sent to the backend, potentially minimizing buffering issues.
- WebSockets Support: If your application relies on persistent connections or WebSockets for real-time communication, ensure that Application Gateway has WebSocket support enabled.
- Adjusting Ingress Configuration:
- Explicit Proxy Settings: Consider adding explicit proxy buffering settings in your Ingress configuration to further fine-tune the behavior:
nginx.ingress.kubernetes.io/proxy-buffer-size: "0"
nginx.ingress.kubernetes.io/proxy-buffers: "0"
Also if nothing brings results please try getting some Logs or Even Packet Captures - nmap -
==
I hope this helps!
Kindly mark the answer as Accepted and Upvote in case it helped!
Regards