Cannot use charmcraft login
Metadata
Current evaluation
Closed as a support request. The SSH login failure was resolved by directing the user to official documentation for remote authentication. No code changes were required.
Suggested action: —
No scores available.
Issue body
I connect to this sytem over ssh. When running charmcraft login I get the following output:
```
/home/useranme>charmcraft login
charmcraft internal error: InitError('Failed to create the collection: Prompt dismissed..')
Full execution log: '/home/username/snap/charmcraft/common/cache/charmcraft/log/charmcraft-20220823-182646.727404.log'
[useranme@nuc01]22-08-23 6:26PM: /home/username>charmcraft login --verbose
Starting charmcraft version 2.0.0
Logging execution to '/home/username/snap/charmcraft/common/cache/charmcraft/log/charmcraft-20220823-182651.647128.log'
charmcraft internal error: InitError('Failed to create the collection: Prompt dismissed..')
Full execution log: '/home/username/snap/charmcraft/common/cache/charmcraft/log/charmcraft-20220823-182651.647128.log'
[useranme@nuc01]22-08-23 6:26PM: /home/username/ >
```
Charmcraft Info:
```
[username@nuc01]22-08-23 6:31PM: /home/username>charmcraft version
2.0.0
[username@nuc01]22-08-23 6:31PM: /home/username>snap info charmcraft
name: charmcraft
summary: The charming tool
publisher: Canonical✓
store-url: https://snapcraft.io/charmcraft
license: Apache-2.0
description: |
Charmcraft enables charm creators to build, publish, and manage charmed operators for Kubernetes,
metal and virtual machines.
commands:
- charmcraft
snap-id: gcqfpVCOUvmDuYT0Dh5PjdeGypSEzNdV
tracking: latest/stable
refresh-date: 14 days ago, at 22:56 UTC
channels:
latest/stable: 2.0.0 2022-08-01 (1033) 59MB classic
latest/candidate: 2.0.0 2022-07-18 (1033) 59MB classic
latest/beta: 2.0.0 2022-07-12 (1033) 59MB classic
latest/edge: 2.0.0+23.g6418a58 2022-08-18 (1068) 59MB classic
2.x/stable: 2.0.0 2022-08-01 (1033) 59MB classic
2.x/candidate: 2.0.0 2022-07-18 (1033) 59MB classic
2.x/beta: 2.0.0 2022-07-12 (1033) 59MB classic
2.x/edge: ↑
2.0/stable: 2.0.0 2022-08-01 (1033) 59MB classic
2.0/candidate: 2.0.0 2022-07-18 (1033) 59MB classic
2.0/beta: 2.0.0 2022-07-12 (1033) 59MB classic
2.0/edge: ↑
1.x/stable: 1.7.1 2022-06-09 (978) 59MB classic
1.x/candidate: 1.7.1 2022-06-08 (978) 59MB classic
1.x/beta: ↑
1.x/edge: ↑
1.7/stable: 1.7.1 2022-06-09 (978) 59MB classic
1.7/candidate: 1.7.1 2022-06-08 (978) 59MB classic
1.7/beta: ↑
1.7/edge: ↑
1.6/stable: 1.6.0 2022-04-20 (904) 59MB classic
1.6/candidate: 1.6.0 2022-04-13 (904) 59MB classic
1.6/beta: ↑
1.6/edge: ↑
1.5/stable: 1.5.0 2022-04-13 (834) 59MB classic
1.5/candidate: ↑
1.5/beta: ↑
1.5/edge: ↑
installed: 2.0.0 (1033) 59MB classic
```
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed as a support request. The SSH login failure was resolved by directing the user to official documentation for remote authentication. No code changes were required. | |
| qwen/qwen3.6-35b-a3b | — | — | charmcraft login failures over SSH were closed. Maintainers directed the user to official documentation for remote authentication, confirming the prompt dismissal error stems from standard SSH session limitations rather than a code defect. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Closed as a usage issue. Maintainer directed the author to official documentation for authenticating charmcraft in remote SSH environments, resolving the prompt dismissal error. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | charmcraft login failed over SSH due to a dismissed prompt. A maintainer closed the report by directing the user to official documentation for authenticating in remote environments. No code changes were implemented. |
Update history
No update history recorded yet.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #901 Charmcraft login on remote device has unhelpful error message | charmcraft | closed | Closed. The unhelpful remote login error is tracked upstream in craft-store issue #58, as the fix requires changes to the underlying authentication library rather than Charmcraft itself. | |
| #672 charmcraft 1.4.0: impossible to login to charmhub | charmcraft | closed | Closed as expected behavior. Charmcraft falls back to a non-persistent memory ring on headless systems lacking a keyring, preventing credential persistence. Maintainers advised exporting credentials via environment variables instead of implementing a code fix. |