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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
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
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Cannot install Cloudron using Gandi API

Cannot install Cloudron using Gandi API

Scheduled Pinned Locked Moved Solved Support
gandidns
10 Posts 4 Posters 853 Views 4 Watching
  • 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.
  • jdaviescoatesJ Offline
    jdaviescoatesJ Offline
    jdaviescoates
    wrote on last edited by girish
    #1

    I added my API key but got this tokenType is required error.

    But unlike the form shown here https://docs.cloudron.io/domains/#gandi-livedns there is no Token Type field when setting up:

    0d1d3385-5755-44d2-bd69-546bc8f03005-image.png

    @staff please fix this ASAP - thanks! I guess the quickest thing for me to do might be to install an older version of Cloudron that doesn't ask for the token type? 🤷

    I use Cloudron with Gandi & Hetzner

    1 Reply Last reply
    0
    • jdaviescoatesJ Offline
      jdaviescoatesJ Offline
      jdaviescoates
      wrote on last edited by jdaviescoates
      #2

      For now I just went ahead and manually created a Wildcard set-up so no rush at my end for now but I guess this should still be fixed 🙂

      Edit: although, that didn't seem to work until I'd added both A and AAAA records (which I'm not sure it told me to do on the set-up page - so perhaps that text needs updating too?)

      I use Cloudron with Gandi & Hetzner

      1 Reply Last reply
      0
      • girishG girish marked this topic as a question on
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        @jdaviescoates most likely to do with the caching issue in 8.2. If you refresh the page, I think you will see a select box where you can provide the token type. It should look like this:

        image.png

        jdaviescoatesJ 1 Reply Last reply
        0
        • girishG girish

          @jdaviescoates most likely to do with the caching issue in 8.2. If you refresh the page, I think you will see a select box where you can provide the token type. It should look like this:

          image.png

          jdaviescoatesJ Offline
          jdaviescoatesJ Offline
          jdaviescoates
          wrote on last edited by
          #4

          @girish it was specifically during a Cloudron install (on a brand new server and URL so not caching I don't think).

          Yes adding domains is fine.

          I use Cloudron with Gandi & Hetzner

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

            @jdaviescoates ah right, I somehow missed that. Fixed in https://git.cloudron.io/platform/box/-/commit/a7f083dbd14e1460e252d414e29300e252d33eb5

            1 Reply Last reply
            1
            • girishG girish has marked this topic as solved on
            • K Offline
              K Offline
              keldorn
              wrote on last edited by
              #6

              Hello @girish !

              On Cloudron v8.2.4 and an existing installation, I can select the Personal Access Token (PAT) but it does not refresh the box below (see screenshot). So I cannot provide a newly generated PAT.

              Tried on latest version of Firefox and Chromium.

              image.png

              I haven't found a workaround.

              I get that error when I provide a correctly scoped PAT:

              Configuration error: Gandi DNS error [500] The server has either erred or is incapable of performing the requested operation.

              Any help is appreciated (I assume a bug fix might is required).

              jdaviescoatesJ 1 Reply Last reply
              1
              • K keldorn

                Hello @girish !

                On Cloudron v8.2.4 and an existing installation, I can select the Personal Access Token (PAT) but it does not refresh the box below (see screenshot). So I cannot provide a newly generated PAT.

                Tried on latest version of Firefox and Chromium.

                image.png

                I haven't found a workaround.

                I get that error when I provide a correctly scoped PAT:

                Configuration error: Gandi DNS error [500] The server has either erred or is incapable of performing the requested operation.

                Any help is appreciated (I assume a bug fix might is required).

                jdaviescoatesJ Offline
                jdaviescoatesJ Offline
                jdaviescoates
                wrote on last edited by
                #7

                @keldorn said in Cannot install Cloudron using Gandi API:

                On Cloudron v8.2.4 and an existing installation, I can select the Personal Access Token (PAT) but it does not refresh the box below (see screenshot). So I cannot provide a newly generated PAT.

                Can't you just enter it into that Gandi API Key field? Have you tried that? 🤔

                I use Cloudron with Gandi & Hetzner

                K 1 Reply Last reply
                1
                • jdaviescoatesJ jdaviescoates

                  @keldorn said in Cannot install Cloudron using Gandi API:

                  On Cloudron v8.2.4 and an existing installation, I can select the Personal Access Token (PAT) but it does not refresh the box below (see screenshot). So I cannot provide a newly generated PAT.

                  Can't you just enter it into that Gandi API Key field? Have you tried that? 🤔

                  K Offline
                  K Offline
                  keldorn
                  wrote on last edited by
                  #8

                  @jdaviescoates

                  Yes, I have. It is when I do so that I get the error:

                  Configuration error: Gandi DNS error [500] The server has either erred or is incapable of performing the requested operation.

                  J 1 Reply Last reply
                  1
                  • K keldorn

                    @jdaviescoates

                    Yes, I have. It is when I do so that I get the error:

                    Configuration error: Gandi DNS error [500] The server has either erred or is incapable of performing the requested operation.

                    J Offline
                    J Offline
                    joseph
                    Staff
                    wrote on last edited by
                    #9

                    @keldorn this error is coming from Gandi and not from Cloudron. I checked with a fresh Gandi Key and it works for me.

                    Per https://github.com/dpage/gandi-ddns , "Note that if the API key is incorrect or other errors occur, you will see output similar to:" the message you gave . Also see, https://github.com/go-acme/lego/issues/2041

                    Did you generate a PAT fresh?

                    K 1 Reply Last reply
                    1
                    • J joseph

                      @keldorn this error is coming from Gandi and not from Cloudron. I checked with a fresh Gandi Key and it works for me.

                      Per https://github.com/dpage/gandi-ddns , "Note that if the API key is incorrect or other errors occur, you will see output similar to:" the message you gave . Also see, https://github.com/go-acme/lego/issues/2041

                      Did you generate a PAT fresh?

                      K Offline
                      K Offline
                      keldorn
                      wrote on last edited by keldorn
                      #10

                      @joseph that was indeed correct. I just generated another token, and it is now working correctly.

                      There was an issue with the Gandi dashboard yesterday. Did not take the time to properly troubleshoot it. Looks like it indeed was a problem on the Gandi side of things.

                      Thanks for your help.

                      Side note: I love your product, and I have been happy paying subscriber for the past few years now. Keep up with the good work 🙂

                      1 Reply Last reply
                      2
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                      • Login

                      • Don't have an account? Register

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