Hi Team,
I am working on a healthcare application that manages cancer lab data APIs for diagnostic workflows, including patient sample tracking, test results, and pathology report generation. The system is also part of a broader patient care ecosystem that includes records for procedures like diep flap surgery and breast reconstruction and it is deployed in a containerized environment exposed through Traefik as a reverse proxy.
While processing API requests through Traefik, I am facing an issue where the responses become inconsistent. Some fields related to lab data such as test status, report metadata, and patient identifiers are intermittently missing or delayed when accessed via the Traefik route. However, the same APIs return complete and consistent data when called directly from the backend services without Traefik.
The setup includes multiple services running in Docker with Traefik handling routing and middleware configuration. I have checked the backend services, and they are functioning correctly, so the issue seems to appear only when traffic flows through Traefik.
-
Can Traefik middlewares (like compression, buffering, or header manipulation) impact API response consistency for high-volume data like cancer lab reports?
-
What are the recommended debugging steps to identify whether this issue is caused by routing, middleware configuration, or request/response handling in Traefik?