Signing back into the Community for the first time? You'll need to reset your password to access your account. Find out more.
Forum Discussion
Former Member
2 years agoCLI hangs when requesting items
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 | DEBU...
ecerulm
12 months agoNew Contributor
I'm also experiencing this.
Im on macOS Sonoma 14.3.1
I can reproduce 100% of the time, by
- Closing down both 1Password app and 1Password in the menu bar
- Start 1Password again (that opens both the app and the 1password menu bar. I leave it locked
- From kitty or iTerm or Terminal , I run op --debug --cache=false read "op://Personal/xxxx"
- It will pop up the "1Password Access Requested" I use the Autorize with Touch ID
- I see the 1Password desktop app unlocking
- But the op read hangs forever
- If I kill it and run it again it will works (presumably because 1Password is already unlocked)
Responses to your questions Joshua_ag
- What command(s) are failing?
- op --debug --cache=false read "op://Personal/xxxx"
- Do you have 1Password set to appear in your menu bar / notification area / task bar? yes
- Is 1Password running but locked, running and unlocked, or not running at all when you run the command(s)?
- Is running locked (both the app and the icon menu bar are visible)
- when the app is unlocked then op read won't hang for me.
- What operating system are you running? macOS Sonoma 14.3.1
- What shell are you running?
- I tried both zsh and bash, in macOS Terminal, kitty and iTerm2
- What version of 1Password the app and op are you running?
- op --version 2.25.0
- 1Password for Mac 8.10.27 (81027003)
- Do you have biometrics enabled to unlock 1Password?
- yes, I use TouchID
```
op --debug --cache=false read "op://Personal/xxxx"
9:19AM | DEBUG | Session delegation enabled
9:19AM | DEBUG | NM request: NmRequestAccounts
9:19AM | DEBUG | NM response: Success
9:19AM | DEBUG | NM request: NmRequestAccounts
9:19AM | DEBUG | NM response: Success
9:19AM | DEBUG | account not signed in, filter= latest_signin_user=xxxxx
9:19AM | DEBUG | NM request: NmRequestAccounts
9:19AM | DEBUG | NM response: Success
9:19AM | DEBUG | NM request: NmRequestAuthorization
9:19AM | DEBUG | NM response: Success
9:19AM | DEBUG | NM request: NmRequestAccounts
9:19AM | DEBUG | NM response: Success
9:19AM | DEBUG | NM request: NmRequestDelegatedSession
```