Cloudron CLI login command results in an HTTP 404 error with "Cannot POST /api/v1/developer/login" message
-
Hello,
I'm curious... I'm trying to run the Cloudron CLI (per recommendation in a previous post) and I'm getting the following when trying to login. I've used this before many months ago, but suddenly it's not working anymore.
<computerName> ~ % cloudron login my.<domain.tld> Username: <username> Password: ******************************** Login failed: Status code: 404 message: <!DOCTYPE html> <html lang="en"> <head> <meta charset="utf-8"> <title>Error</title> </head> <body> <pre>Cannot POST /api/v1/developer/login</pre> </body> </html>Any ideas why this would be happening? Is this something not working on Cloudron 7.0.4?
-
You probably have to update the cli tool, since the
/api/v1/developer/loginroute was long deprecated and finally removed from the server side. -
You probably have to update the cli tool, since the
/api/v1/developer/loginroute was long deprecated and finally removed from the server side.@nebulon said in Cloudron CLI login command results in an HTTP 404 error with "Cannot POST /api/v1/developer/login" message:
You probably have to update the cli tool, since the
/api/v1/developer/loginroute was long deprecated and finally removed from the server side.@girish said in Cloudron CLI login command results in an HTTP 404 error with "Cannot POST /api/v1/developer/login" message:
For reference, the latest CLI version is
4.12.8(Usecloudron --versionto see current version)So I checked the version of Cloudron CLI finally and it seems I am indeed running 4.12.8...
<username>@<computerName> ~ % cloudron --version 4.12.8However, I ran the command
cloudron loginagain and now it suddenly works. So I'm not sure, maybe I had ran the update (I know I did for a fact) but perhaps it wasn't recognized until my computer had restarted over the holidays here. Something strange, but it's all good now it seems.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login