Skip to content

Intellij plugin does not work with new Node.js #4505

Description

@halmetoff

There is error we have on check connection in Tabby plugin settings.
{"level":20,"time":1782387956322,"pid":6622,"hostname":"Mac.rccf.ru","tag":"TabbyApiClient","msg":"Health check request: GET http://10.58.16.106:8080/v1/health. [ec8bae81-61b0-4d58-939d-2c926a4b97d5]"}
{"level":50,"time":1782387956323,"pid":6622,"hostname":"Mac.rccf.ru","tag":"TabbyApiClient","error":{"type":"TypeError","message":"fetch failed: invalid onError method","stack":"TypeError: fetch failed\ncaused by: InvalidArgumentError: invalid onError method\n
at dL.dispatch (/Users/autotestm3_2/Library/Application Support/JetBrains/IdeaIC2026.1/plugins/intellij-tabby/tabby-agent/node/index.js:221:33595)\n
at node:internal/deps/undici/undici:13645:57\n
at new Promise ()\n
at dispatchWithProtocolPreference (node:internal/deps/undici/undici:13645:18)\n
at dispatch (node:internal/deps/undici/undici:13643:16)\n
at httpNetworkFetch (node:internal/deps/undici/undici:13541:73)\n
at httpNetworkOrCacheFetch (node:internal/deps/undici/undici:13411:39)\n
at httpFetch (node:internal/deps/undici/undici:13233:43)\n
at schemeFetch (node:internal/deps/undici/undici:13150:18)\n
at mainFetch (node:internal/deps/undici/undici:12994:30)"},
"msg":"Health check request failed. [ec8bae81-61b0-4d58-939d-2c926a4b97d5]"}

This reproduce with
node v26.3.1
undici 8.5.0
After downgrade Node.js to v24.18.0 and undici 7.28.0 bug is not reproduce.

Tabby 0.32.0
Tabby-plugin 1.13.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions