anyone got this error before? It used to work a we...
# cloud
c
anyone got this error before? It used to work a week back
lk agent create --secrets-file .env --verbose
Copy code
2025-11-05T23:45:28.291+0200    DEBUG   lk      config/livekit.go:89    loading livekit.toml file
Using project [test]
2025-11-05T23:45:29.396+0200    DEBUG   lk      lk/agent.go:511 Creating agent  {"working-dir": "."}
Using agent configuration [livekit.toml]
Creating new agent
Using secrets file [.env]
Detected project type [python.uv]
Using existing Dockerfile
Using existing .dockerignore
unable to create agent: failed to create secret: failed to save secret please try again later
r
I assume you have a ./.env with secrets in it?
c
yes, but it does not work even with lk agent create --secrets-file ./.env --verbose
r
I assume you are running latest
lk
version
c
yep, updated it just now as otherwiser it wouldn't let me deploy. Sorry about that, i'll sleep and sign off and come back tomorrow
Thank you Wilson! I will check your messages tomorrow, if you leave any other suggestions
m
Same issue I’m facing too.
Copy code
Using default project [test]
Creating new agent
Using secrets file [.env]
Detected project type [python.uv]
Using existing Dockerfile
Using existing .dockerignore
unable to create agent: failed to create secret: failed to save secret please try again later
l
Perhaps try re-authenticating?
Copy code
lk cloud auth --revoke
lk cloud auth
m
Thanks @lively-winter-88668, Same problem after trying this
r
We are looking into this issue. I believe it is an issue with the pod your agent is running on.
c
this doesnt fix it
i tried it yesterday and today, but to no avail
r
So still failing today (now)?
c
lk agent deploy works, to redeploy on the same agent
@refined-appointment-81829 yes, it's still failing with the same error. A new deployment gets instanciated with
lk agent create --secrets-file .env
but it stays in pending
šŸ‘šŸ¼ 1
r
šŸ‘ 1
e
hey ya'll, a fix for this was rolled out a few hours ago and i haven't seen the issue happen again from our server-side logs. I'll mark this incident as resolved for now. the problem stems from an upstream provider issue which we are mitigating. Please ping us again if it continues to happen.
šŸ™šŸ¼ 1
šŸ™ 3
c
Hey @refined-appointment-81829 and @echoing-kitchen-90064 Thank you so much! It's working now
šŸ™Œ 1
b
Sorry for gravedigging, but I'm running into this issue as well. Passing a secret-mount json file results in:
Copy code
unable to create agent: failed to create secret: failed to save secret please try again later
Did try reauthenticating CLI, but it results in the same issue. Any idea if it could be an upstream error again?
e
do you have any file mount secrets? can you try to remove the file suffix and upload? e.g. instead of key.json just key for now? we're working on a fix for this cc @loud-breakfast-60455
b
Yes, I tried uploading a file mounted secret indeed. Just tried it without extension, and confirmed that works! Thanks already for the quick reply and temp solution.