[ERROR]...The pipe is being closed.
Hi all,
I've been using the CLI for a few months without any issues and then for some reason it stopped working and a constantly get the following error:
PS C:\Users\Mike> op --version
2.31.0
PS C:\Users\Mike> op account list
[ERROR] 2025/06/02 12:04:04 connecting to desktop app: write: The pipe is being closed.
I've tried uninstalling and reinstalling the CLI and then both the CLI and the Desktop client.
I've tried all the suggested remedies I could find online and ensured all the relevant settings are either on or off. Nothing seems to work.
Appreciate any guidance you can provide to debug further.
rgds...mike
Murphy's Law: "You will find the solution only after asking for help!"
The trick was to delete the folder C:\ProgramFiles\1Password CLI because on my system "winget uninstall 1password-cli --force" didn't actually remove the folder....even through the command succeeded!
Then installing the specific version mentioned in a previous thread worked as per below:
[ADMIN]:PS C:\Users\Mike> winget install 1password-cli --version 2.30.3 --force
Found 1Password CLI [AgileBits.1Password.CLI] Version 2.30.3
This application is licensed to you by its owner.
Microsoft is not responsible for, nor does it grant any licenses to, third-party packages.
Successfully verified installer hash
Extracting archive...
Successfully extracted archive
Starting package install...
Command line alias added: "op"
Path environment variable modified; restart your shell to use the new value.
Successfully installed
[ADMIN]:PS C:\Users\Mike> op --version
2.30.3
[ADMIN]:PS C:\Users\Mike> op account list
URL EMAIL USER ID
my.1password.com [My email address] [My user ID]