OTEL telemetry ECONNRESET makes Claude Code CLI unusable

Resolved 💬 4 comments Opened Mar 19, 2026 by Frank-Schruefer Closed Apr 17, 2026

Version: 2.1.74

OS: Linux (openSUSE)

Description:
When the OpenTelemetry telemetry exporter encounters ECONNRESET, every subsequent
prompt shows the error and the CLI becomes unresponsive/unusable — the process
itself stays alive but no input is processed anymore.

Debug log output:

2026-03-19T16:55:11.607Z [ERROR] [3P telemetry] OTEL diag error: {
  "stack": "Error: Failed to export 23 events (code=ECONNRESET, read ECONNRESET)\n    at $n8.doExport (file:///usr/local/lib/node_modules/@anthropic-ai/claude-code/cli.js:6924:1687)",
  "message": "Failed to export 23 events (code=ECONNRESET, read ECONNRESET)",
  "name": "Error"
}

Expected behavior:
Telemetry export failures should be caught and logged silently.
The CLI should remain fully functional.

Actual behavior:
The CLI becomes unusable — the error appears on every prompt and
no further input is processed.

View original on GitHub ↗

This issue has 4 comments on GitHub. Read the full discussion on GitHub ↗