adobe / adobe/aio-cli

CLI Version 11.1.2 fails with cloudmanager plugin on node recent LTS version v24.17.0

Open
#839 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
95
Forks
45
PR merge metrics
No merged PRs in 30d

Description

We encountered below error recently with node lts upgrade.

```
+ node --version
v24.17.0
+ aio config:set ims.contexts.aio-cli-plugin-cloudmanager config.json --file --json
+ aio cloudmanager:list-programs
› Error: Invalid response body while trying to fetch
› https://ims-na1.adobelogin.com/ims/token/v2: Premature close
› Code: ERR_STREAM_PREMATURE_CLOSE
```

We could that it all works fine on node `24.15.0` with `11.1.0`

```
+ node --version
v24.15.0
+ aio config:set ims.contexts.aio-cli-plugin-cloudmanager config.json --file --json
+ aio cloudmanager:list-programs
› Warning: @adobe/aio-cli update available from [93m11.1.0[39m to [93m11.1.2[39m.
› Run [92mnpm install -g @adobe/aio-cli[39m to update.
Program Id Name Enabled
────────── ───────────────────────── ───────
XXX YYYYYYYYYYYYYY true
```

Contributor guide

Open the contributing guide

Research direction

Reproduce the failure with Node v24.17.0 using @adobe/aio-cli 11.1.2, `aio config:set ... --file --json`, and `aio cloudmanager:list-programs`; compare it with Node v24.15.0 and CLI 11.1.0. Trace the IMS token request that reports `ERR_STREAM_PREMATURE_CLOSE`; done means the cloudmanager command completes successfully on the newer Node and CLI versions.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, node.js
Domain
authentication, cli
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.