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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

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

    Support
    cli cloudflare
    3
    14
    87
    Loading More Posts
    • 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.
    • benborges
      benborges last edited by girish

      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

      benborges 1 Reply Last reply Reply Quote 0
      • benborges
        benborges @benborges last edited by

        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

        benborges 1 Reply Last reply Reply Quote 0
        • benborges
          benborges @benborges last edited by

          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 Reply Quote 0
          • robi
            robi last edited by

            is your cloudron CLI up to date?

            Life of Advanced Technology

            benborges 1 Reply Last reply Reply Quote 0
            • benborges
              benborges @robi last edited by

              @robi Yes, 5.3.0

              BenB

              1 Reply Last reply Reply Quote 0
              • girish
                girish Staff last edited by

                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 1 Reply Last reply Reply Quote 0
                • benborges
                  benborges @girish last edited by

                  @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

                  girish 1 Reply Last reply Reply Quote 0
                  • girish
                    girish Staff @benborges last edited by

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

                    benborges 1 Reply Last reply Reply Quote 0
                    • benborges
                      benborges @girish last edited by

                      @girish yes, lemme try that

                      BenB

                      benborges 1 Reply Last reply Reply Quote 0
                      • benborges
                        benborges @benborges last edited by benborges

                        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

                        girish 1 Reply Last reply Reply Quote 0
                        • girish
                          girish Staff @benborges last edited by

                          @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 Reply Quote 0
                          • girish
                            girish Staff last edited by

                            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.

                            benborges 1 Reply Last reply Reply Quote 0
                            • Topic has been marked as a question  nebulon nebulon 
                            • benborges
                              benborges @girish last edited by

                              @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

                              benborges 1 Reply Last reply Reply Quote 1
                              • benborges
                                benborges @benborges last edited by benborges

                                This can be set to solved !

                                Cloudflare reply :

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

                                BenB

                                1 Reply Last reply Reply Quote 1
                                • Topic has been marked as solved  benborges benborges 
                                • First post
                                  Last post
                                Powered by NodeBB