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
3 years agoCLI 2 not connecting to desktop app; unable to determine parent process
Hello all - I'm trying to setup 1Password v8 with the CLI v2 coupled with biometric authentication (on Mac OS 12.2.1). I'm stuck at getting the CLI to talk to the desktop app:
ā settings op vault ls
[ERROR] 2022/04/08 10:38:07 connecting to desktop app: determining parent proces of 1326: operation not permitted
- I've checked the Preferences -> Developer -> Biometric unlock for 1Password CLI
- I've verified my op executable is in /usr/local/bin
- I've verified the permissions are set to 600 on /Users/{username}/Library/Group Containers/2BUA8C4S2C.com.1password/Library/Application Support/1Password/Data/settings
Suggestions? Thanks in advance.
1Password Version: 8.7.0- build 80700041, beta
Extension Version: Not Provided
OS Version: macOS 12.2.1
- Former Member
I am super glad this got sorted out!
Let us know if there are any other occurrences of this!Thanks,
Horia - Former Member
Boom, nice fix! Seems to work for me. Thank you! <3
- 1P_Simon
1Password Team
Hey folks, we've just released v2.5.1 of 1Password CLI which should resolve the issue you were facing. Could you let us know if updating the CLI to v2.5.1 resolves the issue for you?
@farmallfan @tchameroy @tyl3r @teabotx @fiddler
- Former Member
Hey @fiddler. Thank you for reporting back with that extra context. That gives me an idea as to what is happening and I have been able to reproduce the problem in one way. We're working on a fix.
- Former Member
Having the same issue with the latest iTerm2 and M1 MBP. Any progress on the solution?
The process PID for me points to this:
- Former Member
Thank you for your followup! I understand that the error is something along the lines of:
connecting to desktop app: determining parent process of <pid>: operation not permitted
Can you please share what process has the
ID? You can find that using ps aux
. This will help us debug as we'll know whether it's going to far up the parent tree or whether there's another problem.Also, if you are willing to install
pstree
(brew install pstree
), that would be even more helpful.In that case, if you can first run the
op
command and copy the error message and then immediately runpstree -w -p $$
, that would be of great help. Then we have the full process tree and the PID of the process that is causing the problem.Looking forward to hearing back from you!
Best,
Horia - Former Member
I've updated iTerm but it's still not working for me.
- Former Member
Hey all, indeed, updating iTerm2 seems to fix this issue, in some cases.
Can you please confirm whether upgrading to the latest version (3.4.15, at the moment of writing, on the stable channel) fixes the issue?
Thanks!Best,
Horia - Former Member
@farmallfan I updated to the newest iTerm2 and it works for me now.
- Former Member
Is a solution already known here? I have the same error.
iTerm: "connecting to desktop app: determining parent proces of 34048: operation not permitted"
Terminal: is working