dev  nodejs
dev nodejs

Reputation: 11

Facing a 'socket hang up' issue while executing a query on ClickHouse in a Node.js application

I'm experiencing a recurring "socket hang up" error when using ClickHouse with Node.js, and I'm hoping to understand how to reproduce and fix it. Here are the details:

ClickHouse version: 23.6.2.18
Node.js version: v20.12.2


Logs:


|app  | 06-01-2025 :  Error: socket hang up
|app  | 06-01-2025 :     at connResetException (node:internal/errors:787:14)
|app  | 06-01-2025 15:51:52:     at Socket.socketCloseListener (node:_http_client:468:25)
|app  | 06-01-2025 15:51:52:     at Socket.emit (node:events:530:35)
|app  | 06-01-2025 15:51:52:     at TCP.<anonymous> (node:net:337:12) {
|app  | 06-01-2025 :   code: 'ECONNRESET'
|app  | 06-01-2025 15:51:52: }

Upvotes: 1

Views: 43

Answers (0)

Related Questions