Skip to main content
March 23, 2023
Question

CLI hangs when requesting items

  • March 23, 2023
  • 38 replies
  • 3014 views

the cli had been working without issues for a while but about a day ago it began to indefinitely hang when fetching an item.

When I run: op item get XXX --otp --debug I get:


9:35AM | DEBUG | Session delegation enabled
9:35AM | DEBUG | NM request: NmRequestAccounts
9:35AM | DEBUG | NM response: Success
9:35AM | DEBUG | NM request: NmRequestAccounts
9:35AM | DEBUG | NM response: Success
9:35AM | DEBUG | account not signed in, filter=XXXX latest_signin_user=XXXXXXXXXX
9:35AM | DEBUG | not signed in reason: session file not found
9:35AM | DEBUG | NM request: NmRequestAccounts
9:35AM | DEBUG | NM response: Success
9:35AM | DEBUG | NM request: NmRequestAuthorization
9:35AM | DEBUG | NM response: Success
9:35AM | DEBUG | NM request: NmRequestAccounts
9:35AM | DEBUG | NM response: Success
9:35AM | DEBUG | NM request: NmRequestDelegatedSession

and it just hangs there. Any idea of what could be wrong here?


1Password Version: 8.10.3 (81003012)
Extension Version: 2.15.0
OS Version: macOS 13.2.1 (22D68)
Browser:_ zsh

38 replies

ecerulm
April 19, 2024

@Joshua_ag ,

I just tried with the Nightly = 1Password for Mac 8.10.32 (81032013) and it does work for me (op --version 2.26.1).

op read does no longer hangs after 1Password unlocks

1P_Dave
1Password Employee
April 19, 2024

@ecerulm

Thank you for confirming that you no longer see the issue in the nightly! 🙂

-Dave

ref: dev/b5/op#3948

ecerulm
April 22, 2024

Will you notify here when this change makes it to production? I would like to change back to the "production" channel as soon this fix makes it there.

April 22, 2024

I've updated and it's working for me so far! Thank you for the update!

1P_Dave
1Password Employee
April 24, 2024

@jeb1138

Thank you for confirming that the nightly resolves the issue for you as well. 🙂

@ecerulm

I'll make a note to update this thread when the fix makes it to the production version. You can also keep an eye on our release notes: 1Password Releases

When the fix is included in the stable version, you'll see a note with the following internal tracking number: 3948

-Dave

Joshua_ag
1Password Employee
May 14, 2024

@ecerulm et al.

The latest production version of the 1Password app has been released with the fix. I did some testing today and have not been able to reproduce the issue. The specific version is 8.10.32.

You can download it the stable version from our website or update now if you already have the production version installed.

If you are switching from the nightly or beta version to the production version, the suggestion would be to first change your update channel to production in Settings > Advanced > Release Channel. Then delete the 1Password app and lastly download the production version.

If that doesn't work you may need to completely clear your local data and then re-install. Just make sure you can log into your account(s) on 1Password.com before removing any local data.

tamird
February 11, 2025

Looks like a similar bug is back. With op locked, `gh repo clone ...` brings up the password prompt and then hangs a while until it dies with `[ERROR] 2025/02/11 16:09:00 authorization timeout`.

February 12, 2025

Same problem here! I am on Ubuntu 24.10 using version CLI version 1.30.3
CLI hangs and nothing happens.

Debug Logs:

4:22AM | DEBUG | Session delegation enabled
4:22AM | DEBUG | NM request: NmRequestAccounts
4:22AM | DEBUG | NM response: Success
4:22AM | DEBUG | NM request: NmRequestAccounts
4:22AM | DEBUG | NM response: Success
4:22AM | DEBUG | account not signed in, filter= latest_signin_user=
4:22AM | DEBUG | NM request: NmRequestAccounts
4:22AM | DEBUG | NM response: Success
4:22AM | DEBUG | NM request: NmRequestAuthorization

tamird
May 29, 2024

Confirming the issue seems to be fixed!

Did this not appear in release notes? Would be very interesting to know what the root cause was.

January 20, 2026

This is not fixed.
CLI version: 2.32.0

Debug log:

marlon@ALKAN-xyz-dev:~/projects/homelab$ op read "op://[SECRET]/[SECRET]/password" --debug

9:47PM | WARN | no enforced policies found error="reading policies file: lstat /home/marlon/.config/1Password/settings/policies.json: no such file or directory"

9:47PM | WARN | no enforced policies found error="reading policies file: lstat /home/marlon/.config/1Password/settings/policies.json: no such file or directory"

9:47PM | DEBUG | Session delegation enabled

9:47PM | DEBUG | NM request: NmRequestAccounts

9:47PM | DEBUG | NM response: Success

9:47PM | DEBUG | NM request: NmRequestAccounts

9:47PM | DEBUG | NM response: Success

9:47PM | DEBUG | account not signed in, filter= latest_signin_user=

9:47PM | DEBUG | NM request: NmRequestAccounts

9:47PM | DEBUG | NM response: Success

9:47PM | DEBUG | NM request: NmRequestAuthorization

9:47PM | DEBUG | NM response: Success

9:47PM | DEBUG | NM request: NmRequestAccounts

9:47PM | DEBUG | NM response: Success

9:47PM | DEBUG | NM request: NmRequestDelegatedSession