1Password CLI Beta no longer works

leva0887
leva0887
Community Member
edited April 24 in CLI

1Password CLI Beta no longer works after update 1Password to version 8.10.30
1Password CLI version 2.23.0-beta.01

I am using this bundle with terraform plugin and now I can't use it after update

How can I download previous version of 1Password? Or how to fix this issue?
Or update 1Password CLI Beta please

[ERROR] 2024/04/24 22:27:58 connecting to desktop app: 1Password CLI couldn't connect to the 1Password desktop app. To fix this, update the desktop app to the latest version. If you're still having trouble connecting, restart the app. If you're using version 8.10.12 or earlier of the app, the 1Password CLI binary must be located in /usr/local/bin/op.


1Password Version: 8.10.30
Extension Version: 2.23.0-beta.01
OS Version: macOS 14.4.1
Browser: Not Provided

Comments

  • Hello @leva0887! 👋

    I'm sorry that the CLI isn't working on your Mac. It looks like you're using an old version of the CLI, the latest version is 2.27.0. You can update using this guide:

    Let me know if you still see the issue after updating. 🙂

    -Dave

  • leva0887
    leva0887
    Community Member

    Sorry for misunderstanding, but I need only beta version of CLI, because only beta works with terraform plugin. Please update beta version or tell me how to use terraform plugin with 2.27.0

    Also please take a look on instruction. It says only beta will work with terraform plugin
    https://developer.1password.com/docs/cli/shell-plugins/terraform/

  • Hey there @leva0887, I took a closer look at the beta on MacOS and I'm seeing the same thing; the beta version of the CLI tool immediately errors out when attempting to sign in. I've reached out to the Development team to bring this to their attention. I apologize for the inconvenience here!

    In the meantime, it should still be possible to sign into the terminal manually, so you can continue using it. To do so, sign into the 1Password desktop app, navigate to Settings -> Developer, and toggle off the Integrate with 1Password CLI option. This should allow you to add your account to the CLI manually.

  • joshburton
    joshburton
    Community Member

    When signing in manually, we're still unable to use the terraform plugin:

    Shell Plugins can only be used with the 1Password app integration enabled.

    So the Terraform plugin is unusable at the moment.

    Is the issue with an update of the 1password MacOS app or an update to the cli? i.e. what should I downgrade to get this to work?

  • jarodlustreperetua
    jarodlustreperetua
    Community Member

    Hi there, just bumping this thread. Also running into this issue:

    connecting to desktop app: connection reset, make sure 1Password CLI is installed correctly, then open the 1Password app, select 1Password > Settings > Developer and make sure the 'Integrate with 1Password CLI' setting is turned on. If you're still having trouble connecting, restart the app.

    I believe the latest 1Password app update broke the integration with 1Password CLI version 2.23.0-beta.01. We're using this for the Terraform plugin and the issue occurs before we even get to the login step in the CLI. We may end up not using 1Pass for anything Terraform.

  • iaz
    iaz
    Community Member

    Hey all - we've run into the same issue: the latest Mac app seems to have broken the integration.

    We love this integration and would very much like to keep using it.

    @Dayton_ag @Dave_1P any update on a fix or workaround?

  • Tom Harrison
    Tom Harrison
    Community Member

    Same issue here. I uninstalled the terraform plugin, and still get this error when running the 2.23.0-beta.01 CLI against the current 1P app. So is this just an incompatibility of the 1P CLI? If so, perhaps we could get a current build having the same terraform beta?

  • Joshua_ag
    edited June 5

    Hello @leva0887, @joshburton, @jarodlustreperetua, @iaz, and @Tom Harrison ,

    We have released a new CLI beta: 2.30.0-beta.02.

    You can download it now https://app-updates.agilebits.com/product_history/CLI2#v2300002

    (if you do not see the beta on the release page you need to click the check box "show betas").

    The beta fixes the connection issue with the 1Password desktop app.

    Let us know if you notice any issues or if you have any questions.

  • iaz
    iaz
    Community Member

    Hi @Joshua_ag - thank you so much for letting us know! I can confirm that the CLI integration appears to be working as expected.

    Your speedy response is deeply appreciated!

  • Nice! Thank you for updating us.

This discussion has been closed.