Skip to content

Latest HyperDX nightly startup failure #1282

@mikaelnousiainen

Description

@mikaelnousiainen

I need to install HyperDX into a subpath-URL (e.g. /hyperdx/) on a HTTP reverse proxy. I'm seeing that this functionality just got merged some 3 days ago (#1236) - so I went to upgrade my Docker Compose-based test installation from 2.4.0 to the latest nightly (today, Oct 20th).

Now I'm getting startup failures, see the logs below.

[API] [⚡HyperDX] ✔ Service name is configured to be "hdx-oss-app"
[API] [⚡HyperDX] ✖ apiKey or HYPERDX_API_KEY or OTEL_EXPORTER_OTLP_HEADERS is not set
[API] [⚡HyperDX] 🚫 OpenTelemetry SDK initialization skipped
[APP]  ✓ Ready in 161ms
[ALERT-TASK] - Initializing OpenTelemetry SDK...
[ALERT-TASK] [⚡HyperDX] ✔ Service name is configured to be "hdx-oss-app"
[ALERT-TASK] [⚡HyperDX] ✖ apiKey or HYPERDX_API_KEY or OTEL_EXPORTER_OTLP_HEADERS is not set
[ALERT-TASK] [⚡HyperDX] 🚫 OpenTelemetry SDK initialization skipped
[ALERT-TASK] (node:28) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
[ALERT-TASK] (Use `node --trace-deprecation ...` to show where the warning was created)
[ALERT-TASK] - Initializing OpenTelemetry SDK...
[ALERT-TASK] [⚡HyperDX] ✔ Service name is configured to be "hdx-oss-app"
[ALERT-TASK] [⚡HyperDX] ✖ apiKey or HYPERDX_API_KEY or OTEL_EXPORTER_OTLP_HEADERS is not set
[ALERT-TASK] [⚡HyperDX] 🚫 OpenTelemetry SDK initialization skipped
[ALERT-TASK] (node:28) [DEP0040] DeprecationWarning: The `punycode` module is deprecated. Please use a userland alternative instead.
[ALERT-TASK] (Use `node --trace-deprecation ...` to show where the warning was created)
[ALERT-TASK] Error: Cannot find module '/app/packages/api/tasks/lib/worker.js'
[ALERT-TASK]     at Function._resolveFilename (node:internal/modules/cjs/loader:1401:15)
[ALERT-TASK]     at defaultResolveImpl (node:internal/modules/cjs/loader:1057:19)
[ALERT-TASK]     at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1062:22)
[ALERT-TASK]     at Function._load (node:internal/modules/cjs/loader:1211:37)
[ALERT-TASK]     at TracingChannel.traceSync (node:diagnostics_channel:322:14)
[ALERT-TASK]     at wrapModuleLoad (node:internal/modules/cjs/loader:235:24)
[ALERT-TASK]     at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:171:5)
[ALERT-TASK]     at MessagePort.<anonymous> (node:internal/main/worker_thread:212:26)
[ALERT-TASK]     at [nodejs.internal.kHybridDispatch] (node:internal/event_target:827:20)
[ALERT-TASK]     at MessagePort.<anonymous> (node:internal/per_context/messageport:23:28) {
[ALERT-TASK]   code: 'MODULE_NOT_FOUND',
[ALERT-TASK]   requireStack: []
[ALERT-TASK] }

And another:

[API] 
[API] Error: unable to determine transport target for "@hyperdx/node-opentelemetry/build/src/otel-logger/pino"
[API]     at b (/app/packages/api/index.js:337:35191)
[API]     at /app/packages/api/index.js:337:34647
[API]     at Array.map (<anonymous>)
[API]     at tPl (/app/packages/api/index.js:337:34626)
[API]     at /app/packages/api/index.js:337:39251
[API]     at bgr (/app/packages/api/index.js:355:5383)
[API]     at /app/packages/api/index.js:793:24770
[API]     at /app/packages/api/index.js:1:232
[API]     at /app/packages/api/index.js:1161:3628
[API]     at /app/packages/api/index.js:1:232
[API] 
[API] Node.js v22.16.0
[API] PORT=8000 HYPERDX_APP_PORT=8080 node -r ./packages/api/tracing ./packages/api/index exited with code 1
--> Sending SIGTERM to other processes..

Any thoughts about what could be wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions