Error: Socket hang up
- Dominant language
- Rust
- Stars
- 20.8k
- Forks
- 2.1k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 181
Description
**Problem**
Hi! I have app with Cube.js version 0.33.58 and ClickHouse 23 with two environments, production and development. Recently I faced with an error when I try to query at production env:
```
Dropping Cache: e7d389bd-b74e-484e-aa27-046cb355cfa9-span-1
Error: socket hang up
at QueryQueue.parseResult (/app/client/node_modules/@cubejs-backend/query-orchestrator/src/orchestrator/QueryQueue.js:368:13)
at QueryQueue.executeInQueue (/app/client/node_modules/@cubejs-backend/query-orchestrator/src/orchestrator/QueryQueue.js:340:19)
at /app/client/node_modules/@cubejs-backend/query-orchestrator/src/orchestrator/QueryCache.ts:745:17
at QueryOrchestrator.fetchQuery (/app/client/node_modules/@cubejs-backend/query-orchestrator/src/orchestrator/QueryOrchestrator.ts:302:20)
at OrchestratorApi.executeQuery (/app/client/node_modules/@cubejs-backend/server-core/src/core/OrchestratorApi.ts:98:20)
at /app/client/node_modules/@cubejs-backend/api-gateway/src/gateway.ts:1434:21
at async Promise.all (index 0)
at ApiGateway.getSqlResponseInternal (/app/client/node_modules/@cubejs-backend/api-gateway/src/gateway.ts:1432:31)
at /app/client/node_modules/@cubejs-backend/api-gateway/src/gateway.ts:1610:28
at async Promise.all (index 0)
Dropping Cache: e7d389bd-b74e-484e-aa27-046cb355cfa9-span-1
Error: socket hang up
at QueryQueue.parseResult (/app/client/node_modules/@cubejs-backend/query-orchestrator/src/orchestrator/QueryQueue.js:368:13)
at QueryQueue.executeInQueue (/app/client/node_modules/@cubejs-backend/query-orchestrator/src/orchestrator/QueryQueue.js:340:19)
at /app/client/node_modules/@cubejs-backend/query-orchestrator/src/orchestrator/QueryCache.ts:745:17
Error while renew cycle: e7d389bd-b74e-484e-aa27-046cb355cfa9-span-1
--
Error: socket hang up
at QueryQueue.parseResult (/app/client/node_modules/@cubejs-backend/query-orchestrator/src/orchestrator/QueryQueue.js:368:13)
at QueryQueue.executeInQueue (/app/client/node_modules/@cubejs-backend/query-orchestrator/src/orchestrator/QueryQueue.js:340:19)
at /app/client/node_modules/@cubejs-backend/query-orchestrator/src/orchestrator/QueryCache.ts:745:17
Error querying db: e7d389bd-b74e-484e-aa27-046cb355cfa9-span-1
--
Error: socket hang up
at QueryQueue.parseResult (/app/client/node_modules/@cubejs-backend/query-orchestrator/src/orchestrator/QueryQueue.js:368:13)
at QueryQueue.executeInQueue (/app/client/node_modules/@cubejs-backend/query-orchestrator/src/orchestrator/QueryQueue.js:340:19)
at /app/client/node_modules/@cubejs-backend/query-orchestrator/src/orchestrator/QueryCache.ts:745:17
at QueryOrchestrator.fetchQuery (/app/client/node_modules/@cubejs-backend/query-orchestrator/src/orchestrator/QueryOrchestrator.ts:302:20)
at OrchestratorApi.executeQuery (/app/client/node_modules/@cubejs-backend/server-core/src/core/OrchestratorApi.ts:98:20)
at /app/client/node_modules/@cubejs-backend/api-gateway/src/gateway.ts:1434:21
at async Promise.all (index 0)
at ApiGateway.getSqlResponseInternal (/app/client/node_modules/@cubejs-backend/api-gateway/src/gateway.ts:1432:31)
at /app/client/node_modules/@cubejs-backend/api-gateway/src/gateway.ts:1610:28
at async Promise.all (index 0)
```
Also there are no related logs at /var/log/clickhouse-server/clickhouse-server.log and /var/log/clickhouse-server/clickhouse-server.err.log
But at development environment query is ok. Also when I try to start this query in Clickhouse native client on server its work good too.
Is it possible to get more details about this error?
Contributor guide
Assessment
This issue has not been assessed yet.