Skip to main content
March 2, 2023
Question

1password-cli doesn't work with apt / ubunti (connecting to desktop app: connection reset)

  • March 2, 2023
  • 6 replies
  • 457 views

Problem:


$ op signin --debug
6:16PM | DEBUG | Session delegation enabled
6:16PM | DEBUG | NM request: NmRequestAccounts
[ERROR] 2023/03/02 18:16:58 connecting to desktop app: connection reset, make sure the CLI is correctly installed and Connect with 1Password CLI is enabled in the 1Password app

  • I have installed op / 1password-cli using the exact instructions for Linux > Apt here: https://developer.1password.com/docs/cli/get-started/
  • I have enabled "Connect with 1password CLI" in Settings > Developer
  • I get the same problem on two Linux machines with identical setup.

```
$ op --version
2.14.0

$ which op
/usr/bin/op
```

Is this a bug?


1Password Version: 8.10.0
Extension Version: Not Provided
OS Version: Xubuntu 22.04.2 LTS (Jammy Jellyfish)
Browser:_ Not Provided

6 replies

March 5, 2023

I have exactly the same problem. Not matter what I do, I can't get it to connect. The ssh-agent works, but nothing else. Help!

Jack_P_1P
1Password Employee
1Password Employee
March 9, 2023

Hi @richt / @mangotre:

Which method of installing 1Password for Linux did you each use? If you've used Flatpak or Snap, it isn't possible for 1Password for Linux to communicate with 1Password CLI.

Let me know!

Jack

March 10, 2023

I used apt.

Jack_P_1P
1Password Employee
1Password Employee
March 13, 2023

Hi @mangotre:

In that case, I'd like to ask you to create a diagnostics report from your Mac:

Sending Diagnostics Reports (Linux)

Attach the diagnostics to an email message addressed to support+forum@1password.com.

With your email please include:

You should receive an automated reply from our BitBot assistant with a Support ID number.  Please post that number here.  Thanks very much!

March 16, 2023

I just found out that I'm getting the error described when I'm using the Fish shell, but not bash.

March 16, 2023

Support ID: #FGL-26511-462