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 inyour session has ended: …lly exits with code 3.
Why it happens, and the fix
| Message | What it means | Fix |
|---|---|---|
not signed in | There is no session on this machine | Run 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 `…` permission | The session was created without a permission this command needs | Run 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 one | lly 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 container | Set 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 minutes | Too many sign-in attempts came from your network | Wait a few minutes and sign in again |
Check that it worked
lly whoamiIt 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.