Forum Discussion

leva0887's avatar
leva0887
New Contributor
2 years ago

1Password CLI Beta no longer works

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

10 Replies

  • iaz's avatar
    iaz
    New Contributor

    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!

  • Tom_Harrison's avatar
    Tom_Harrison
    Occasional Contributor

    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?

  • iaz's avatar
    iaz
    New Contributor

    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 1P_Dave any update on a fix or workaround?

  • 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.

  • joshburton's avatar
    joshburton
    New Contributor

    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?

  • Dayton_ag's avatar
    Dayton_ag
    Icon for 1Password Team rank1Password Team

    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.

  • leva0887's avatar
    leva0887
    New Contributor

    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/