Failed to install app: 402 message: Missing token
-
@murgero i have seen before in the forum that someone already faced the same issue, but the topic did not last any further, but i have also seen that deleting the .cloudron.json might solve the issue, but it does not. (it is also a second reason why i reinstalled the cli)
yes i am on the free plan, but i have no apps installed yet on it.
-
@murgero yes i am, <
>
Edit: also the dashboard is empty ! so, yes there are no apps installed yet
-
@abbe In your profile on your cloudron, under the API section, does the current token show "read-only"?
-
wrote on Jan 5, 2023, 10:35 PM last edited by abbe Jan 5, 2023, 10:39 PM
@murgero i was on the same boat, i was just playing around with the tokens. no problem
Edit: i even logged out and deleted all tokens i had and re-created one for the CLI, changed the null value of the json file and logged in again, but still no answer...
-
wrote on Jan 5, 2023, 10:46 PM last edited by
Can i link my Domain with several accounts and servers ? So i might get rid of this issue ... or the Domain is only linked to ONE Cloudron Server ?
-
@murgero i was on the same boat, i was just playing around with the tokens. no problem
Edit: i even logged out and deleted all tokens i had and re-created one for the CLI, changed the null value of the json file and logged in again, but still no answer...
@abbe said in Failed to install app: 402 message: Missing token:
Edit: i even logged out and deleted all tokens i had and re-created one for the CLI, changed the null value of the json file and logged in again, but still no answer...
Did you try my earlier suggestion ?
cloudron login my.domain.com
cloudron inspect
Does the above work?
-
@abbe said in Failed to install app: 402 message: Missing token:
Edit: i even logged out and deleted all tokens i had and re-created one for the CLI, changed the null value of the json file and logged in again, but still no answer...
Did you try my earlier suggestion ?
cloudron login my.domain.com
cloudron inspect
Does the above work?
wrote on Jan 6, 2023, 4:46 PM last edited by@girish as mentioned before, a simple list command works, but not the install!
when i try to issue the command <cloudron login domain.com> i get an error saying "Failed to login: self signed certificate"
but giving <cloudron login my.domain.com> returns a positive output "Existing token still valid. Login successful."
issuing the command inspect gives a JSON load, with the following values:
{
"apiEndpoint": "my.domain.com",
"appStoreOrigin": "https://api.cloudron.io",
"apps": []
}should i navigate to my.domain.com/#/domains to renew teh certs i haev ? or will this be a bad move to take ?
-
@girish as mentioned before, a simple list command works, but not the install!
when i try to issue the command <cloudron login domain.com> i get an error saying "Failed to login: self signed certificate"
but giving <cloudron login my.domain.com> returns a positive output "Existing token still valid. Login successful."
issuing the command inspect gives a JSON load, with the following values:
{
"apiEndpoint": "my.domain.com",
"appStoreOrigin": "https://api.cloudron.io",
"apps": []
}should i navigate to my.domain.com/#/domains to renew teh certs i haev ? or will this be a bad move to take ?
@abbe said in Failed to install app: 402 message: Missing token:
ould i navigate to my.domain.com/#/domains to renew teh certs i haev ? or will this be a bad move to take ?
Nah, no need - cloudron cli requires the
my.example.com
notexample.com
so you're fine. -
@girish as mentioned before, a simple list command works, but not the install!
when i try to issue the command <cloudron login domain.com> i get an error saying "Failed to login: self signed certificate"
but giving <cloudron login my.domain.com> returns a positive output "Existing token still valid. Login successful."
issuing the command inspect gives a JSON load, with the following values:
{
"apiEndpoint": "my.domain.com",
"appStoreOrigin": "https://api.cloudron.io",
"apps": []
}should i navigate to my.domain.com/#/domains to renew teh certs i haev ? or will this be a bad move to take ?
@abbe whoops, sorry, that was a mistake in my login command (corrected now).
Actually, I just realized now that your cloudron is probably all fresh. Has it even logged into the app store? Go to the dashboard and click on App Store. Is it logged in there? Without logging into app store, you cannot install apps. This is needed to get the application manifests.
-
@abbe whoops, sorry, that was a mistake in my login command (corrected now).
Actually, I just realized now that your cloudron is probably all fresh. Has it even logged into the app store? Go to the dashboard and click on App Store. Is it logged in there? Without logging into app store, you cannot install apps. This is needed to get the application manifests.
wrote on Jan 8, 2023, 12:53 PM last edited by -
-