Skip to main content
Demo Project

Runtime: frontend gRPC RST_STREAM code 2 due to session closed (Error 13)

CRITICALError
Error Frequency
Error Details
First seen:3 weeks ago
Last seen:3 weeks ago
Stack:nodejs
Service:frontend
Stack TraceError: 13 INTERNAL: Received RST_STREAM with code 2 triggered by internal client error: Session closed with error code 2
Error message
13 INTERNAL: Received RST_STREAM with code 2 triggered by internal client error: Session closed with error code 2
Error: 13 INTERNAL: Received RST_STREAM with code 2 triggered by internal client error: Session closed with error code 2
    at callErrorFromStatus (/app/node_modules/@grpc/grpc-js/build/src/call.js:32:19)
    at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client.js:193:76)
    at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:361:141)
    at Object.onReceiveStatus (/app/node_modules/@grpc/grpc-js/build/src/client-interceptors.js:324:181)
    at /app/node_modules/@grpc/grpc-js/build/src/resolving-call.js:129:78
    at process.processTicksAndRejections (node:internal/process/task_queues:85:11)
for call at
    at ServiceClientImpl.makeUnaryRequest (/app/node_modules/@grpc/grpc-js/build/src/client.js:161:32)
    at ServiceClientImpl.<anonymous> (/app/node_modules/@grpc/grpc-js/build/src/make-client.js:105:19)
    at /app/node_modules/@opentelemetry/instrumentation-grpc/build/src/clientUtils.js:130:31
    at /app/node_modules/@opentelemetry/instrumentation-grpc/build/src/instrumentation.js:215:209
    at AsyncLocalStorage.run (node:internal/async_local_storage/async_hooks:91:14)
    at AsyncLocalStorageContextManager.with (/app/node_modules/@opentelemetry/context-async-hooks/build/src/AsyncLocalStorageContextManager.js:33:40)
    at ContextAPI.with (/app/node_modules/@opentelemetry/api/build/src/api/context.js:60:46)
    at ServiceClientImpl.clientMethodTrace [as getCart] (/app/node_modules/@opentelemetry/instrumentation-grpc/build/src/instrumentation.js:215:42)
    at /app/.next/server/chunks/[root-of-the-server]__828d7226._.js:1:1895
    at new Promise (<anonymous>)
Activity
User journey9 events before error
Aug 2, 19:06:51user_view_cart
+0sGET
+0sGET
+0srouter frontend egress
+0sGET /api/cart
+0sGET /api/cart
+24sexecuting api route (pages) /api/cart
+29soteldemo.CartService/GetCart
+2m 16sexception
Issue events

Investigation

FirstRecent

Trace Breakdown

Aug 02, 19:06:51 UTC - Aug 02, 19:09:08 UTC
9Spans
6Errors
2.3 mDuration
load-generator
frontend-proxy
frontend
cart
Service / Span
load-generatoruser_view_cart
load-generatorGET http://frontend-proxy:8080/api/cart
frontend-proxyGET http://frontend-proxy:8080/api/cart
frontend-proxyrouter frontend egress
frontendGET /api/cart
frontendGET /api/cart
!frontendexecuting api route (pages) /api/cart
frontendoteldemo.CartService/GetCart
cartPOST /oteldemo.CartService/GetCart