Some connections are failing or dropping by Tyk while proxying

I just noticed you were also observing proxy downstream (http: proxy error: context canceled) and upstream ( http: proxy error: EOF) errors.

http: proxy error: context canceled - > indicates that the upstream connections are being closed unexpectedly. See more details in this document.

What version are you on? There were some performance regressions in v5.0.9, v5.0.10 and v5.2.5. v5.2.6 had some performance improvements added to it that could help.

Our planning for production doc can help you get the best out of your gateway. The general rule would be to ensure downstream timeouts are the same as upstream timeouts.

Hope this helps