1Password CLI can not read the secret
Hi!
I'm trying to automate some of my workflows using 1password-cli utility (v2.26.1), but from time to time it fails w/ pretty weird error:
[ERROR] 2024/04/01 12:02:23 could not read secret op://Personal/My Secret Note/notesPlain: error initializing client: Get "https://my.1password.com/api/v2/account/keysets?__t=1711962143.990": write tcp [2a01:5a8:423:88e3:d1d4:7415:6922:f900]:62600->[2600:1f18:60d5:4e04:2c8:379d:c287:d24b]:443: write: socket is not connected
At the same time the web-site https://my.1password.com is accessible via browser. Moreover, mentioned address is available via curl:
➜ curl -v https://my.1password.com/api/v2/account/keysets\?__t\=1711962568.901 * Trying [2600:1f18:60d5:4e04:2c8:379d:c287:d24b]:443... * Trying 34.234.108.231:443... * Connected to my.1password.com (34.234.108.231) port 443 * ALPN: curl offers h2,http/1.1 * (304) (OUT), TLS handshake, Client hello (1): * CAfile: /etc/ssl/cert.pem * CApath: none * (304) (IN), TLS handshake, Server hello (2): * TLSv1.2 (IN), TLS handshake, Certificate (11): * TLSv1.2 (IN), TLS handshake, Server key exchange (12): * TLSv1.2 (IN), TLS handshake, Server finished (14): * TLSv1.2 (OUT), TLS handshake, Client key exchange (16): * TLSv1.2 (OUT), TLS change cipher, Change cipher spec (1): * TLSv1.2 (OUT), TLS handshake, Finished (20): * TLSv1.2 (IN), TLS change cipher, Change cipher spec (1): * TLSv1.2 (IN), TLS handshake, Finished (20): * SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256 * ALPN: server accepted h2 * Server certificate: * subject: CN=*.1password.com * start date: Jun 24 00:00:00 2023 GMT * expire date: Jul 22 23:59:59 2024 GMT * subjectAltName: host "my.1password.com" matched cert's "*.1password.com" * issuer: C=US; O=Amazon; CN=Amazon RSA 2048 M02 * SSL certificate verify ok. * using HTTP/2 * [HTTP/2] [1] OPENED stream for https://my.1password.com/api/v2/account/keysets?__t=1711962568.901 * [HTTP/2] [1] [:method: GET] * [HTTP/2] [1] [:scheme: https] * [HTTP/2] [1] [:authority: my.1password.com] * [HTTP/2] [1] [:path: /api/v2/account/keysets?__t=1711962568.901] * [HTTP/2] [1] [user-agent: curl/8.4.0] * [HTTP/2] [1] [accept: */*] GET /api/v2/account/keysets?__t=1711962568.901 HTTP/2
1Password Version: 1Password for Mac 8.10.28 (81028034)
Extension Version: Not Provided
OS Version: macOS 14.3.1
Browser: Arc 1.36.0
0
This discussion has been closed.