We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0702068 commit 875f483Copy full SHA for 875f483
packages/grpc-js/src/call-stream.ts
@@ -601,7 +601,7 @@ export class Http2CallStream implements Call {
601
* "Internal server error" message. */
602
details = `Received RST_STREAM with code ${stream.rstCode} (Internal server error)`;
603
} else {
604
- if (this.internalError.code === 'ECONNRESET') {
+ if (this.internalError.code === 'ECONNRESET' || this.internalError.code === 'ETIMEDOUT') {
605
code = Status.UNAVAILABLE;
606
details = this.internalError.message;
607
0 commit comments