Getting started with 1Password for your growing team, or refining your setup? Our Secured Success quickstart guide is for you.
Forum Discussion
nmenetrier
10 months agoNew Contributor
Error while reading secrets with 1password-cli
Hi,
After an upgrade, my 1password-cli always get an error when trying to access the 1password app.
Here are the recent upgrades, that I think caused the issue:
2024-11-04 09:00:29 upgrade 1password:amd64 8.10.48 8.10.50
2024-11-05 08:46:04 upgrade 1password-cli:amd64 2.30.0-6 2.30.1-1
I'm using the 1password apt repository with Ubuntu 24.04.1 LTS
Here are the logs:
op vault list --debug
4:01PM | DEBUG | Session delegation enabled
4:01PM | DEBUG | NM request: NmRequestAccounts
4:01PM | DEBUG | NM response: Failure
4:01PM | WARN | Received NmhAppResponseFailureTypeVariantUnknownInvocation
[ERROR] 2024/11/05 16:01:54 connecting to desktop app: received unexpected response from 1Password app. Please make sure 1Password CLI and the 1Password app are up-to-date.
And some from journald:
Nov 05 16:01:54 pasqal-laptop 1password.desktop[121658]: INFO 2024-11-05T15:01:54.679+00:00 tokio-runtime-worker(ThreadId(3)) [1P:native-messaging/op-native-core-integration/src/lib.rs:372] Extension connecting.
Nov 05 16:01:54 pasqal-laptop 1password.desktop[121658]: INFO 2024-11-05T15:01:54.679+00:00 tokio-runtime-worker(ThreadId(3)) [1P:native-messaging/op-native-core-integration/src/lib.rs:374] Extension connection accepted.
Nov 05 16:01:54 pasqal-laptop 1password.desktop[121658]: WARN 2024-11-05T15:01:54.679+00:00 tokio-runtime-worker(ThreadId(3)) [1P:native-messaging/op-native-core-integration/src/connection_handler.rs:93] Received unknown message from b5x. Replying with UnknownInvocation error.
Nov 05 16:01:54 pasqal-laptop 1password.desktop[121658]: ERROR 2024-11-05T15:01:54.680+00:00 tokio-runtime-worker(ThreadId(3)) [1P:native-messaging/op-native-core-integration/src/connection_handler.rs:82] message from b5x was None: EndConnection
Nov 05 16:01:54 pasqal-laptop 1password.desktop[121658]: ERROR 2024-11-05T15:01:54.680+00:00 tokio-runtime-worker(ThreadId(3)) [1P:native-messaging/op-native-core-integration/src/connection_handler.rs:47] Dropping connection with b5x due to error handling incoming message: EndConnection
I don't find the previous packages version on the repository, so I'm unable to rollback.
And I don't find any updates for the moment.
1Password Version: 8.10.50
Extension Version: cli: 2.30.1-1
OS Version: Ubuntu 24.04.1 LTS
Browser: Not Provided
2 Replies
- ljansenNew Contributor
https://1password.community/discussion/148910/cli-not-talking-to-1password-desktop#latest
It's fixed in a new release - nmenetrierNew Contributor
Just in case: here is the 1password.list file I'm using:
deb [arch=amd64 signed-by=/usr/share/keyrings/1password-archive-keyring.gpg] https://downloads.1password.com/linux/debian/amd64 stable main