Troubleshooting

not signed in, or your session has ended

lly exits with code 3 because there is no valid session, a permission is missing or the workspace is not accessible.

lly needs a session to act for you. These messages mean the session is missing, has ended or does not reach what you asked for.

What you see

not signed in
your session has ended: …

lly exits with code 3.

Why it happens, and the fix

MessageWhat it meansFix
not signed inThere is no session on this machineRun lly login
your session has ended: …The session expired or was signed out, for example with "sign out everywhere"Run lly login
this session lacks the `…` permissionThe session was created without a permission this command needsRun lly login to grant it
no access to workspace … or you are no longer in …You were removed from the workspace, or the command points to another onelly workspaces lists the workspaces you are in, -w picks one
No keychain is reachable. …The machine has no system keychain to store the session in, for example a server or a containerSet LLY_INSECURE_STORE=1. The session is then kept in a file only your user can read.
the auth service is rate limiting this network; try again in a few minutesToo many sign-in attempts came from your networkWait a few minutes and sign in again

Check that it worked

lly whoami

It prints who you are signed in as and until when the session is valid.

In a pipeline

A pipeline signs in with LLY_ACCESS_TOKEN. That token expires about 15 minutes after it is issued, and exit code 3 there means the token is missing or expired. See CI/CD.

If it is still not working

Send a report through Feedback & Reports in the console sidebar. Include the full message, the project and app name, and the time it happened.

On this page