im trying to deploy my agent to the cloud, but for...
# cloud
q
im trying to deploy my agent to the cloud, but for some reason it keeps giving me this error "unable to get client settings: Error from intermediary with HTTP status code 401 "Unauthorized"", i followed the tutorial exactly and did everything and made sure my env.local was correct and all that, and its still not working, i even tried creating a new fresh account and it still didnt work
this is a screenshot of what i've been getting when trying to run my agent
l
I would suspect some issue with the previous step,
lk cloud auth
. What permissions does
cli-config.yaml
have? I suggest
chmod 600 ~/.livekit/cli-config.yaml
and retrying the
lk cloud auth
step.
q
i cant, what i understand is that chmod 600 is a command on linux that allows u to remove all permessions from all users except the owner user of the file, i already did that in windows and it still gives me the same error and i also suspect the warning of being the cause of why its not working, any ideas on how to solve this?
l
Ah, I don't have a Windows machine handy to test, but 600 permissions are saying that the script wants read and write permission to the file. You could try opening the command prompt as an administrator (should be an option if you right click on the cmd shortcut) or check the properties of the
cli-config.yaml
file are not read only