Hello,
I am not sure whether I am in the right category for this issue, apologies for that.
We have a Python Dash App deployed in our Azure Kubernetes Service with traefik as ingress controller.
We are trying to upload the files in the app, however the app is giving slow response and it times out in 30s with the "502 bad gateway" error.
"There was a problem connecting to the upstream server"
And in the ingress logs, I can see below
{ "timestamp": "2025/03/06 12:41:25", "source": "error_page.go:93", "message": "Error proxying to upstream server: net/http: timeout awaiting response headers" }
{ "timestamp": "2025/03/06 12:43:31", "source": "error_page.go:93", "message": "Error proxying to upstream server: net/http: timeout awaiting response headers" }
{ "timestamp": "2025/03/06 12:44:35", "source": "error_page.go:93", "message": "Error proxying to upstream server: context canceled" }
I tried increasing "readTimeout", "writeTimeout and "idleTImeout" to 300s, but still the issue persists.
Can anyone knows about this issue? Where to look and how to fix this? Any pointers will be really appreciated.
Please let me know if more information is needed.
Thanks