Are there any changes or difference in the gateway config and API definition? Is it exactly the same? Can you share the config and definition files?
I have only seen the first error once Error HTTP/2 stream 0 was not closed cleanly: - #4 by zaid and it doesn’t appear a resolution was reached.
You mentioned the issue was on hitting the API. This would mean its not occurring at random or after a number of requests?
What is the flow of the request? I assume hitting the upstream works as expected.
Also how are the certs generated? Maybe this link could help point in the right direction
Part of the error message “bad record mac” indicates that the SSL/TLS connection is failing due to a decryption error or a bad record message authentication code (MAC).