App Installation error : Failed to list domains: 403 message: [object Object]
-
I'm having a strange error when installing my custom cloudron app https://github.com/osintukraine/media-search-cloudron-app
- my cloudron build worked just fine
- my docker login is fine
- my cloudron login seems to be fine, but i think that's where something is wrong?
So obviously when I try to install the app after the successful Build and Push
I get :App Installation error : Failed to list domains: 403 message: [object Object]
So I thought, OK token may have expired ? So I do cloudron login my.domain.com again and the first line is :
Existing token possibly expired 403 message [object Object]
So I login again and same thing ??
It feels like my error is a bit similar to this one : https://forum.cloudron.io/topic/8366/failed-to-install-app-402-message-missing-token/23
Any idea what's going on here ?
-
Something definitely going on here with the login Token, because usually, when you the login session is valid, it shouldn't even ask to login, here, every time I do "cloudron login" even just after a login success I get to login again.
my cloudron.json looks fine though
I have tried to create a Token manually, with read/write access but it's all the same, it asks me to login again.
-
This is not related to subscriptions and such. But looks like something permission releated. Are you trying to install as a normal user instead of admin user?
-
@benborges Do you have another PC/Mac handy to check if it happens everywhere?
-
odd, in my laptop, with cloudron cli 5..3.0, it's even worst, it output a similar error message but even before asking for the 2FA code.
Failed to login: Login failed: Status code: 403 message: [object Object]
edit : and again, if I switch to my second cloudron, it login just fine and I can do cloudron list and any other cloudron cli command just fine...
-
@benborges no clue what's going on. Maybe you can write to us at support@cloudron.io and we can check?
-
The root cause here is that the API request when done via CLI is getting blocked by Cloudflare. Not sure why though, maybe @benborges can look into his Cloudflare dashboard to see why it's blocking it.
-
-
@girish So this is what's happening on the CF side when a cli command is ran :
For now the temporary fix is to create an IP access rule that make an exception for my ASN, waiting for CF to advise on the best way to implement this at a more granular level.
-