Hi,
I’m encountering the following error when calling one of my backend endpoints over HTTP/2:
Received RST_STREAM with code 2
- This endpoint has been working reliably for over a month
- There have been no code or infra changes on this side
- The server logs show that the request is received, processed, and responded to with HTTP 200
- There are no internal errors or timeouts visible on the server
- I’ve already ruled out client-side or server-side timeout issues
{
"component": "grpc",
"msg": "Successfully sent OTP",
"statusCode": 200
}
Yet on the client side, the stream is abruptly terminated with RST_STREAM code 2, which I understand usually means an internal error — but no clear origin is visible.
- What could cause a
RST_STREAM code 2
after a 200 response was already sent? - Are there known cases where reverse proxies or intermediate gateways (e.g. TLS termination, HTTP/2 frame handling) could trigger this?
Happy to provide more details if needed — thanks in advance for your help.