I cannot connect to 1Password app from CLI even though it worked well before.

Options
csiknor
csiknor
Community Member
edited June 2023 in CLI

I tried the following:

➜ ~ op account list
URL EMAIL USER ID
transferwise.1password.com n___@t___.com 7P25NSAJNBG5FG4FBQ75SDULBQ
➜ ~ op item get Okta
[ERROR] 2023/06/02 09:12:15 error initializing client: RequestDelegatedSession: cannot setup session. Please check the logs of the 1Password app.
➜ ~ op item list
[ERROR] 2023/06/02 09:12:00 RequestDelegatedSession: cannot setup session. Please check the logs of the 1Password app.
➜ ~ op signin --debug
9:06AM | DEBUG | Session delegation enabled
9:06AM | DEBUG | NM request: NmRequestAccounts
9:06AM | DEBUG | NM response: Success
9:06AM | DEBUG | NM request: NmRequestAccounts
9:06AM | DEBUG | NM response: Success
9:06AM | DEBUG | NM request: NmRequestAuthorization
9:06AM | DEBUG | NM response: Success
9:06AM | DEBUG | NM request: NmRequestAccounts
9:06AM | DEBUG | NM response: Success
9:06AM | DEBUG | NM request: NmRequestDelegatedSession
9:06AM | DEBUG | NM response: Success
[ERROR] 2023/06/02 09:06:48 RequestDelegatedSession: cannot setup session. Please check the logs of the 1Password app.

➜ ~ op --version
2.18.0

1Password for Mac 8.10.7 (81007041)

Apple M1 Pro
Macos 13.3.1


1Password Version: Not Provided
Extension Version: Not Provided
OS Version: Not Provided
Browser:_ Not Provided
Referrer: forum-search:RequestDelegatedSession: cannot setup session. Please check the logs of the 1Password app.

Comments

  • ArunV1P
    Options

    Hi @csiknor, thanks for reaching out and my apologies for the delayed response here.

    I understand the confusion; you're running into a somewhat confusing error message. I'll raise it with the team to make sure this message gets improved, but in the meantime, it's good to know that this occurs when the 1Password app has trouble signing in with the 1Password servers.

    Do you see the "1Password is offline" banner in the 1Password app? If so, make sure you have an active internet connection and try clicking "Reconnect".

    Let me know if that helps, if not, we'll discuss the next steps.

This discussion has been closed.