CLI not talking to 1Password desktop

asteurer
asteurer
Community Member

Hi folks, I'm running into some issues when I run op commands, even after I uninstall and re-install both the CLI and 1Password desktop binaries, as well as checking/unchecking the "Integrate with 1Password CLI" option in the desktop app. Any help troubleshooting would be greatly appreciated:

$ op item get test_item --vault test_vault --fields label=password
[ERROR] 2024/11/04 15:43:52 error initializing client: connecting to desktop app: received unexpected response from 1Password app. Please make sure 1Password CLI and the 1Password app are up-to-date.

1Password Version: 8.10.50
Extension Version: 2.30.1
OS Version: Ubuntu 24.04.1 LTS
Browser: Not Provided

Comments

  • mrhrdr
    mrhrdr
    Community Member

    Ran into this just this morning - everything worked fine with version 2.30.0 of the cli, but broke with 2.30.1.

  • mrhrdr
    mrhrdr
    Community Member

    Just double checked: downgrading to 2.30.0 makes everything work fine again.

  • stanhbb
    stanhbb
    Community Member
    edited November 5

    Same problem here, using the same versions of the software (also on linux) as the poster.
    Downgrading to 2.30.0 also works for me.

  • jlecour
    jlecour
    Community Member
    edited November 5

    Hi, any idea how I can get the previous version ?

    self-answer : it was in /var/cache/apt/archives/1password-cli_2.30.0-6_amd64.deb

  • ljansen
    ljansen
    Community Member

    Same issue, manually installing the 2.30.0 version fixed it for now

  • Thanks for letting us know! We're looking into a 2.30.2 hotfix for this right now.

  • We just released v2.30.2. Could you please let us know if that fixes this issue for you?

    @asteurer @mrhrdr @stanhbb @jlecour @ljansen

  • ljansen
    ljansen
    Community Member

    @simon_1P the update fixed the problem

  • Perfect! Apologies for the inconvenience and thanks for confirming this fixes things for you

  • fodij
    fodij
    Community Member

    Thanks for the update, which indeed fixes the problem. Unfortunately the apt repository does not contain older versions, which made it impossible to downgrade when the apt cache does not contain the older version.
    Would it be possible to leave older releases in the repository?

  • stanhbb
    stanhbb
    Community Member
    edited November 5

    @simon_1P It works for me too, thank you for the quick fix.

  • @fodij we appreciate your suggestion - we'll look into whether this is possible. Thank you!

  • asteurer
    asteurer
    Community Member

    It works! Thanks @simon_1P