clickhouse-js-node-troubleshooting
от clickhouse
Ссылка: https://clickhouse.com/docs/integrations/javascript
npx skills add https://github.com/clickhouse/clickhouse-js --skill clickhouse-js-node-troubleshootingClickHouse Node.js Client Troubleshooting
Reference: https://clickhouse.com/docs/integrations/javascript
⚠️ Node.js runtime only. This skill covers the
@clickhouse/clientpackage running in a Node.js runtime exclusively — including Next.js Node runtime API routes, React Server Components, Server Actions, and standard Node.js processes. Do not apply this skill to browser client components, Web Workers, Next.js Edge runtime, Cloudflare Workers, or any usage of@clickhouse/client-web. For browser/edge environments, the correct package is@clickhouse/client-web.
How to Use This Skill
- Identify the issue — match symptoms to the Issue Index below and read the corresponding reference file.
- Lead with the diagnosis — explain what's likely causing the issue before giving the fix.
- Note version constraints — flag if a fix requires a minimum client version and check it against what the user provided.
- Ask only what's missing — if the fix is version-dependent and you don't know their version, ask; otherwise help immediately.
Issue Index
Identify the user's issue from the list below and read the corresponding reference file for detailed troubleshooting steps.
| Issue | Symptoms | Reference file |
|---|---|---|
| Socket Hang-Up / ECONNRESET | socket hang up, ECONNRESET, intermittent connection drops, long-running queries timing out | reference/socket-hangup.md |
| Data Type Mismatches | Large integers returned as strings, decimal precision loss, Date/DateTime insertion failures, CANNOT_PARSE_INPUT_ASSERTION_FAILED inserting a UUID into a UInt128 column | reference/data-types.md |
| Read-Only User Errors | Errors when using response compression with readonly=1 users | reference/readonly-users.md |
| Proxy / Pathname URL Confusion | Wrong database selected, requests failing behind a proxy with a path prefix | reference/proxy-pathname.md |
| TLS / Certificate Errors | TLS handshake failures, certificate verification issues, mutual TLS setup | reference/tls.md |
| Compression Not Working | GZIP compression not activating for requests or responses | reference/compression.md |
| Logging Not Showing Anything | No log output, need custom logger integration | reference/logging.md |
| Query Parameters Not Interpolated | Parameterized queries not working, SQL injection concerns | reference/query-params.md |
FORMAT Clause / SHOW POLICIES Errors | Syntax error from a duplicate FORMAT, or SHOW [ROW] POLICIES failing even with a format provided | reference/query-format-clause.md |
Still Stuck?
Больше skills от clickhouse
chdb-sql
clickhouse
Запускайте ClickHouse SQL напрямую в Python — сервер не требуется. Выполняйте запросы к локальным файлам, удалённым базам данных и облачным хранилищам с полной мощью ClickHouse SQL.
official
chdb-datastore
clickhouse
DataStore — это ленивая замена pandas на основе ClickHouse. Ваш существующий код pandas работает без изменений, но операции компилируются в оптимизированный SQL и выполняются только тогда, когда нужны результаты (например, print(), len(), итерация).
official
clickhouse-architecture-advisor
clickhouse
ОБЯЗАТЕЛЬНО ИСПОЛЬЗОВАТЬ при проектировании архитектур ClickHouse, выборе между шаблонами приема данных или моделирования, или переводе лучших практик в системные решения, специфичные для рабочей нагрузки…
official
clickhouse-best-practices
clickhouse
28 правил лучших практик ClickHouse, организованных по проектированию схемы, оптимизации запросов и стратегии загрузки данных. Охватывает три критически важные области: выбор первичного ключа и типов данных (неизменяемые проектные решения), оптимизация JOIN и запросов, а также пакетная вставка с избеганием мутаций. Включает 28 правил, приоритизированных по влиянию, причем правила проектирования схемы и оптимизации запросов помечены как КРИТИЧЕСКИЕ из-за колоночного хранения ClickHouse и механики разреженных индексов. Предоставляет структурированные процедуры проверки для...
official
clickhousectl-cloud-deploy
clickhouse
Используйте, когда пользователь хочет развернуть ClickHouse в облаке, перейти в продакшн, использовать ClickHouse Cloud, разместить управляемый сервис ClickHouse или мигрировать с локального…
official
clickhousectl-local-dev
clickhouse
Используйте, когда пользователь хочет создать приложение с ClickHouse, настроить локальную среду разработки ClickHouse, установить ClickHouse, создать локальный сервер,…
official
setup
clickhouse
Проводит пользователя через настройку подключения к серверу ClickHouse MCP, встроенному в этот плагин. Используйте, когда пользователь впервые устанавливает плагин или сталкивается с проблемами…
official
clickhouse-js-node-coding
clickhouse
Ссылка: https://clickhouse.com/docs/integrations/javascript
official