Forum Discussion

l0b0's avatar
l0b0
New Contributor
2 months ago

Connection reset when `podman login` runs `op`

I've set up a https://linuskarlsson.se/blog/podman-credential-helpers/ which runs `op read 'op://[redacted]'` internally. When I run the helper program in a terminal it works fine, prompts for the password if necessary, and prints the credentials. But when running `podman login` in the same terminal it fails with the following error:

[ERROR] 2025/07/23 16:22:20 could not read secret 'op://[redacted]': error initializing client: connecting to desktop app: read: connection reset, make sure 1Password CLI is installed correctly, then open the 1Password app, select 1Password > Settings > Developer and make sure the 'Integrate with 1Password CLI' setting is turned on. If you're still having trouble connecting, visit https://developer.1password.com/docs/cli/app-integration#troubleshooting for more help.

I've verified that the setting is turned on (running the helper program directly wouldn't work otherwise).

I'm running `op` version 2.31.0.

8 Replies

      • 1P_Phil's avatar
        1P_Phil
        Icon for Moderator rankModerator

        Hi l0b0​ ,

        Thanks for sharing this. Could you also confirm that you are using the "~/.config/containers/auth.json" file from the blog post?

        {
            "credHelpers": {
                "docker.io": "secretservice"
            }
        }

        Thanks,
        Phil

  • Hi l0b0​ ,

    Thanks for sharing this. I'm working to reproduce this. Hang in there and let me see what I can do.

    Regards, Phil