Skip to content

macOS: oidc-agent-service get stuck and does not restart #609

@jacogasp

Description

@jacogasp

Hello,

I'm using oidc-agent v5.2.3 macOS Sequoia 15.0.1.
Sometimes it gets stuck (i.e. it waits forever while asking for a token), so I interrupt it with ctrl-c and I try to restart the service.
Very often (almost always, but not always) it does not restart until a reboot my machine.

Here an example

❯ eval $(oidc-agent-service start)
It seems like oidc-agent-service already started an oidc-agent for you.
Run "oidc-agent-service stop" to stop that agent or
run "oidc-agent-service restart" to restart the agent.
❯ oidc-agent-service stop
❯ eval $(oidc-agent-service start)
It seems like oidc-agent-service already started an oidc-agent for you.
Run "oidc-agent-service stop" to stop that agent or
run "oidc-agent-service restart" to restart the agent.
❯ oidc-agent-service restart
❯ oidc-agent-service stop
❯ eval $(oidc-agent-service start)
It seems like oidc-agent-service already started an oidc-agent for you.
Run "oidc-agent-service stop" to stop that agent or
run "oidc-agent-service restart" to restart the agent.

The only way to actually restart it is to kill -9 the PID and the go with a eval $(oidc-agent-service start).

Glad to help reporting some logs if needed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions