It’s Cybersecurity Awareness Month! Join our interactive training session, or learn about security and AI from 1Password experts.
Forum Discussion
Former Member
3 years agoRuntime error when automating with CLI
Im trying to do some automation through the CLI where i use the following "Op" commands:
op item get $line --vault private --field password
op item edit $line --vault private --generate-password=...
Former Member
3 years agoI encountered the error again after updating to 2.9.1. I then tried to stress test it in a CMD. And i encountered this error, first time i get it:
"[ERROR] 2022/12/13 10:45:31 failed to keysetsAPI.GetAllEncrypted: Get "https://:OURTENANT:.1password.eu/api/v2/account/keysets?__t=1670924731.314": read tcp :MY_IP:52252->52.59.131.85:443: wsarecv: An established connection was aborted by the software in your host machine."
This made me think that maybe the "connect with 1password CLI" setting in the windows app was at fault. And after disabling the feature I've ran 100 calls without the Runtime error. And it usually failed 30% of the time. So I think its safe to assume the Windows client is causing the bug, with the integration to the CLI.