milvus-io / milvus-sdk-node

The Official Mivus node.js sdk(client)
https://milvus.io
Apache License 2.0
118 stars 37 forks source link

Uncaught exception: write EPIPE #196

Open teetering opened 1 year ago

teetering commented 1 year ago

Describe the bug: We are regularly seeing the following uncaught exception in our node app. All of our calls to the MilvusClient are awaited and wrapped in a try...catch block, so I guess something's being done internal to the lib that is allowing for the uncaught exception.

2023-06-19T16: 01: 33.637Z - uncaughtException - {
    "stack": "Error: write EPIPE
    at afterWriteDispatched (node:internal/stream_base_commons:160:15)
    at writeGeneric (node:internal/stream_base_commons:151:3)
    at Socket._writeGeneric (node:net:917:11)
    at Socket._write (node:net:929:8)
    at writeOrBuffer (node:internal/streams/writable:392:12)
    at _write (node:internal/streams/writable:333:10)
    at Writable.write (node:internal/streams/writable:337:10)
    at console.value (node:internal/console/constructor:300:16)
    at console.warn (node:internal/console/constructor:382:26)
    at Object.error (/home/user/dev/proj/node/node_modules/@grpc/grpc-js/build/src/logging.js:24:17)",
    "message": "write EPIPE",
    "errno": -32,
    "code": "EPIPE",
    "syscall": "write"
}

Milvus-node-sdk version: 2.2.17

shanghaikid commented 1 year ago

what is your milvus version?

teetering commented 1 year ago

Reporting version 5ecec95.

teetering commented 1 year ago

Any update on this one? Wouldn't be so bad if it was catchable (and/or if I understood the implications)... Thanks much.