Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

App Installation error : Failed to list domains: 403 message: [object Object]

Scheduled Pinned Locked Moved Solved Support
clicloudflare
14 Posts 3 Posters 274 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • benborgesB Offline
    benborgesB Offline
    benborges
    wrote on last edited by girish
    #1

    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 ??
    8551dc45-1c7b-4f1b-8bff-fac639699bd9-image.png

    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 ?

    BenB

    benborgesB 1 Reply Last reply
    0
  • benborgesB Offline
    benborgesB Offline
    benborges
    replied to benborges on last edited by
    #2

    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

    d5a94577-8016-408f-afdd-aeaffb68d770-image.png

    I have tried to create a Token manually, with read/write access but it's all the same, it asks me to login again.

    BenB

    benborgesB 1 Reply Last reply
    0
  • benborgesB Offline
    benborgesB Offline
    benborges
    replied to benborges on last edited by
    #3

    And I can definitely access my second cloudron just fine, without any error
    so this is limited to my first cloudron, is it something related to my cloudron subscription?

    BenB

    1 Reply Last reply
    0
  • robiR Offline
    robiR Offline
    robi
    wrote on last edited by
    #4

    is your cloudron CLI up to date?

    Life of sky tech

    benborgesB 1 Reply Last reply
    0
  • benborgesB Offline
    benborgesB Offline
    benborges
    replied to robi on last edited by
    #5

    @robi Yes, 5.3.0

    BenB

    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by
    #6

    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?

    benborgesB 1 Reply Last reply
    0
  • benborgesB Offline
    benborgesB Offline
    benborges
    replied to girish on last edited by
    #7

    @girish Nope, I'm the admin user and logged-in as such.

    Strange part is that on the second cloudron I have absolutely no problem at all, from the same terminal, same setup, it's really strange

    BenB

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to benborges on last edited by
    #8

    @benborges Do you have another PC/Mac handy to check if it happens everywhere?

    benborgesB 1 Reply Last reply
    0
  • benborgesB Offline
    benborgesB Offline
    benborges
    replied to girish on last edited by
    #9

    @girish yes, lemme try that

    BenB

    benborgesB 1 Reply Last reply
    0
  • benborgesB Offline
    benborgesB Offline
    benborges
    replied to benborges on last edited by benborges
    #10

    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...

    BenB

    girishG 1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    replied to benborges on last edited by
    #11

    @benborges no clue what's going on. Maybe you can write to us at support@cloudron.io and we can check?

    1 Reply Last reply
    0
  • girishG Offline
    girishG Offline
    girish Staff
    wrote on last edited by
    #12

    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.

    benborgesB 1 Reply Last reply
    0
  • nebulonN nebulon marked this topic as a question on
  • benborgesB Offline
    benborgesB Offline
    benborges
    replied to girish on last edited by
    #13

    @girish So this is what's happening on the CF side when a cli command is ran :

    547c9462-191e-4c2d-a3cc-ddd2652f1727-image.png

    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.

    BenB

    benborgesB 1 Reply Last reply
    1
  • benborgesB Offline
    benborgesB Offline
    benborges
    replied to benborges on last edited by benborges
    #14

    This can be set to solved !

    Cloudflare reply :

    c09bd926-0b5e-4850-8e26-b9413779a021-image.png

    BenB

    1 Reply Last reply
    1
  • benborgesB benborges has marked this topic as solved on

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.