Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    [Bug]ACME adds a blank for Duckdns TXT

    ACME
    2
    8
    522
    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.
    • I
      iqjet last edited by iqjet

      When I had a look in the issuecert.log I found a blank after token=

      url='https://www.duckdns.org/update?domains=ixxx&token= 308afb64-5f8b-45fc-82&txt=Zty8HIHxO
      

      I copied the url in my browser, as result -> KO
      Without the blank -> OK. In my duckdns domain a text record is now added.

      1 Reply Last reply Reply Quote 0
      • jimp
        jimp Rebel Alliance Developer Netgate last edited by

        Are you sure you didn't add a blank space in the GUI field at the start of the token? It's easy to do with copy/paste.

        The code in dns_duckdns.sh looks OK:

        acme/dnsapi/dns_duckdns.sh:  if _duckdns_rest GET "domains=$_duckdns_domain&token=$DuckDNS_Token&txt=$txtvalue"; then
        

        I don't see anything that would add a space to it automatically.

        Remember: Upvote with the πŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • I
          iqjet last edited by

          No, I haven't.

          1 Reply Last reply Reply Quote 0
          • I
            iqjet last edited by

            Does the dns_duckdns.sh something wrong in 4:SAVED

            [Tue Sep 18 15:01:05 CEST 2018] d_api='/usr/local/pkg/acme/dnsapi/dns_duckdns.sh'
            [Tue Sep 18 15:01:05 CEST 2018] Found domain api file: /usr/local/pkg/acme/dnsapi/dns_duckdns.sh
            [Tue Sep 18 15:01:05 CEST 2018] dns_duckdns_add exists=0
            [Tue Sep 18 15:01:05 CEST 2018] APP
            [[Tue Sep 18 15:01:05 CEST 2018] 4:SAVED_DuckDNS_Token=' 308afb64-5f8b-45fc-82f0-47c19d80d0e5']]
            
            1 Reply Last reply Reply Quote 0
            • jimp
              jimp Rebel Alliance Developer Netgate last edited by

              Nothing I see adds a space to it. It almost has to have a space before it in the configuration. Look in config.xml and see what it shows in the config tag.

              Remember: Upvote with the πŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

              Need help fast? Netgate Global Support!

              Do not Chat/PM for help!

              1 Reply Last reply Reply Quote 0
              • I
                iqjet last edited by

                @jimp said in [Bug]ACME adds a blank for Duckdns TXT:

                config.xml

                ... I'm going towards 65. Not anymore as fresh as it should be. I could not find config.xml

                ![Bild Text]0_1537282421256_5b4cbdba-b17a-4f32-8ead-218a0b3d8c9b-image.png (Bild Link)

                1 Reply Last reply Reply Quote 0
                • jimp
                  jimp Rebel Alliance Developer Netgate last edited by

                  /conf/config.xml or download a backup from Diagnostics > Backup & Restore and look inside.

                  Remember: Upvote with the πŸ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

                  Need help fast? Netgate Global Support!

                  Do not Chat/PM for help!

                  1 Reply Last reply Reply Quote 0
                  • I
                    iqjet last edited by

                    yes I found.
                    Looks like this tag></tag>

                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post