Skip to content

request.headers.split is not a function #507

@Matt77CHE

Description

@Matt77CHE

Describe the bug
I got all credentials needed to connect via adapter to the miele cloud, but it does not connect and in log it says "request.headers.split is not a function"

`

mielecloudservice.0 | 2025-04-13 10:03:19.392 | error | request.headers.split is not a function -- | -- | -- | -- mielecloudservice.0 | 2025-04-13 10:03:19.392 | error | TypeError: request.headers.split is not a function at setHeadersOnRequest (/opt/iobroker/node_modules/@sentry/src/integrations/undici/index.ts:289:39) at _onRequestCreate (/opt/iobroker/node_modules/@sentry/src/integrations/undici/index.ts:200:7) at Channel.publish (node:diagnostics_channel:150:9) at new Request (node:internal/deps/undici/undici:2008:27) at Client.[dispatch] (node:internal/deps/undici/undici:7802:25) at Intercept (node:internal/deps/undici/undici:7535:20) at Client.[Intercepted Dispatch] (node:internal/deps/undici/undici:572:16) at Client.dispatch (node:internal/deps/undici/undici:588:44) at Pool.[dispatch] (node:internal/deps/undici/undici:819:32) at Pool.[Intercepted Dispatch] (node:internal/deps/undici/undici:565:33) mielecloudservice.0 | 2025-04-13 10:03:19.391 | error | uncaught exception: request.headers.split is not a function `

To Reproduce

Expected behavior
To login and connect vithout issues

Screenshots & Logfiles
`

mielecloudservice.0 | 2025-04-13 10:03:19.392 | error | request.headers.split is not a function -- | -- | -- | -- mielecloudservice.0 | 2025-04-13 10:03:19.392 | error | TypeError: request.headers.split is not a function at setHeadersOnRequest (/opt/iobroker/node_modules/@sentry/src/integrations/undici/index.ts:289:39) at _onRequestCreate (/opt/iobroker/node_modules/@sentry/src/integrations/undici/index.ts:200:7) at Channel.publish (node:diagnostics_channel:150:9) at new Request (node:internal/deps/undici/undici:2008:27) at Client.[dispatch] (node:internal/deps/undici/undici:7802:25) at Intercept (node:internal/deps/undici/undici:7535:20) at Client.[Intercepted Dispatch] (node:internal/deps/undici/undici:572:16) at Client.dispatch (node:internal/deps/undici/undici:588:44) at Pool.[dispatch] (node:internal/deps/undici/undici:819:32) at Pool.[Intercepted Dispatch] (node:internal/deps/undici/undici:565:33) mielecloudservice.0 | 2025-04-13 10:03:19.391 | error | uncaught exception: request.headers.split is not a function `

Versions:

  • Adapter version: 6.5.10
  • Plattform: linux
  • Betriebssystem: linux
  • Node.js: v20.19.0
  • NPM: 10.8.2
  • Admin: v7.6.5

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    invalidThis doesn't seem rightwontfixThis will not be worked on

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions