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

(Bug) Curl error occurred: Failed to connect to members.dyndns.org port 443 after 15831 ms: No route to host

Scheduled Pinned Locked Moved DHCP and DNS
15 Posts 2 Posters 6.3k Views
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.
  • S
    SipriusPT @SipriusPT
    last edited by Dec 23, 2021, 5:49 PM

    If I set verbose mode on that dynamic DNS entry, I got the following info:

    Dec 23 17:40:26	php	98159	rc.dyndns.update: Curl error occurred: Failed to connect to members.dyndns.org port 443 after 15729 ms: No route to host
    Dec 23 17:40:26	php	98159	rc.dyndns.update: Dynamic DNS dyndns-custom (x.getmyip.com): _checkStatus() starting.
    Dec 23 17:40:26	php	98159	rc.dyndns.update: Response Data:
    Dec 23 17:40:26	php	98159	rc.dyndns.update: Response Header:
    Dec 23 17:40:10	php	98159	rc.dyndns.update: Dynamic DNS dyndns-custom (x.getmyip.com): _update() starting.
    Dec 23 17:40:10	php	98159	rc.dyndns.update: DynDns (x.getmyip.com): Dynamic Dns: cacheIP != wan_ip. Updating. Cached IP: 0.0.0.0 WAN IP: x.x.x.226
    Dec 23 17:40:10	php	98159	rc.dyndns.update: Dynamic Dns (x.getmyip.com): Current WAN IP: x.x.x.226 Cached IP: 0.0.0.0
    Dec 23 17:40:10	php	98159	rc.dyndns.update: Dynamic DNS dyndns-custom (x.getmyip.com): x.x.x.226 extracted from Check IP Service
    Dec 23 17:40:09	php	98159	rc.dyndns.update: Dynamic DNS (x.getmyip.com): running get_failover_interface for opt3. found lagg0.4090
    Dec 23 17:40:09	php	98159	rc.dyndns.update: Dynamic DNS dyndns-custom (x.getmyip.com): x.x.x.226 extracted from Check IP Service
    Dec 23 17:40:03	php	98159	rc.dyndns.update: Dynamic DNS: updatedns() starting
    

    1xSG-4860-1U
    1xSG-3100
    2xpfSense Virtual Machines

    G 1 Reply Last reply Dec 23, 2021, 11:37 PM Reply Quote 0
    • G
      Gertjan @SipriusPT
      last edited by Dec 23, 2021, 11:37 PM

      @sipriuspt said in Curl error occurred: Failed to connect to members.dyndns.org port 443 after 15831 ms: No route to host:

      members.dyndns.org port

      Ok, members.dyndns.org port resolves fine.
      The other end is picking up the phone, but refuses to talk.
      The

      No route to host
      

      isn't really what this is all about.

      Is it a TLS error ?
      Just a wild shot : is the time of your pfSense correct ?
      Another one : don't ripe out the power, do a clean shut down. When the un it is down, remove the power, count to 60, put the power back.
      Retry.

      No "help me" PM's please. Use the forum, the community will thank you.
      Edit : and where are the logs ??

      S 1 Reply Last reply Feb 1, 2022, 4:00 PM Reply Quote 1
      • S
        SipriusPT @Gertjan
        last edited by Feb 1, 2022, 4:00 PM

        @gertjan sorry for the late response.

        • Is it a TLS error ?

        Dont seems to be, in both firewalls I got 404 with https://members.dyndns.org.

        • is the time of your pfSense correct ?

        Same time set.

        • don't ripe out the power, do a clean shut down. When the un it is down, remove the power, count to 60, put the power back. Retry.

        Same output.

        1xSG-4860-1U
        1xSG-3100
        2xpfSense Virtual Machines

        S G 2 Replies Last reply Feb 1, 2022, 4:56 PM Reply Quote 0
        • S
          SipriusPT @SipriusPT
          last edited by Feb 1, 2022, 4:56 PM

          Why am I starting to think that this is a bug ...

          If I dont find any aparent reason for this to happean, I will backup and factory reset this box and restore that backup.

          1xSG-4860-1U
          1xSG-3100
          2xpfSense Virtual Machines

          S 1 Reply Last reply Feb 1, 2022, 5:45 PM Reply Quote 0
          • S
            SipriusPT @SipriusPT
            last edited by Feb 1, 2022, 5:45 PM

            Even on primary box I have thousands of:

            rc.dyndns.update: Curl error occurred: Failed to connect to members.dyndns.org port 443 after 15729 ms: No route to host

            Now I am unable to identify the source of that problem on secundary box through logs ....

            1xSG-4860-1U
            1xSG-3100
            2xpfSense Virtual Machines

            1 Reply Last reply Reply Quote 0
            • G
              Gertjan @SipriusPT
              last edited by Feb 2, 2022, 12:06 PM

              @sipriuspt said in Curl error occurred: Failed to connect to members.dyndns.org port 443 after 15831 ms: No route to host:

              Dont seems to be, in both firewalls I got 404 with https://members.dyndns.org

              Then from a 'traffic' point of view - your side-their side - all is well.

              It looks like "dyndns.org" changed something, on their side of course.

              No "help me" PM's please. Use the forum, the community will thank you.
              Edit : and where are the logs ??

              S 1 Reply Last reply Feb 3, 2022, 2:19 PM Reply Quote 1
              • S
                SipriusPT @Gertjan
                last edited by Feb 3, 2022, 2:19 PM

                Thanks a lot for the help @Gertjan, I openned an issue on pfSense bug tracker, and seems like its an already known problem.

                From what I see, it happeans more when you have multi WAN, and the tier 1 is offline and tier 2 is up, who is the same that I have here. It has also made problems with other Dynamic DNS services like NoIP.

                This one was mine:
                https://redmine.pfsense.org/issues/12753

                First report:
                https://redmine.pfsense.org/issues/12631

                So beware ppl.

                1xSG-4860-1U
                1xSG-3100
                2xpfSense Virtual Machines

                G 1 Reply Last reply Feb 3, 2022, 3:58 PM Reply Quote 0
                • G
                  Gertjan @SipriusPT
                  last edited by Feb 3, 2022, 3:58 PM

                  @sipriuspt

                  IMHO, you are hit by two issues :

                  The first one : members.dynds.org is 'dead'. click on the link and you se the problem. It returns a simple '404' ..... That's a "dynds.org" problem.

                  Btw 'curl' simulates the same http or https request as a web browser like edge, firefox, etc. It gets back the reply and shows, or places it in file, the choice is up to you.

                  The second one : Multiple WANs : you see a 'route to host' : this tells me that the request can't leave the pfSense box and is indeed a local (pfSense) issue.
                  It could be a bug, or just a floating firewall rule that forbids that intercepts that typical curl request for going out.
                  I can't tell, as I never dealt with Multiple WAN,s or grouped WAN type interfaces.

                  I presume that when you remove your "GW" setup, and you wind up having distinct WAN interfaces, with one being the default, the issue is gone.
                  That is, now you'll hit the " members.dyndns.org returns 404 ".

                  No "help me" PM's please. Use the forum, the community will thank you.
                  Edit : and where are the logs ??

                  S 2 Replies Last reply Feb 3, 2022, 5:06 PM Reply Quote 1
                  • S
                    SipriusPT @Gertjan
                    last edited by Feb 3, 2022, 5:06 PM

                    @gertjan you are right about being two issues, but I can live with a 'failed connect' on logs if everything is working fine ehehe

                    In my case there is no floating rules.

                    1xSG-4860-1U
                    1xSG-3100
                    2xpfSense Virtual Machines

                    1 Reply Last reply Reply Quote 0
                    • S
                      SipriusPT @Gertjan
                      last edited by SipriusPT Apr 1, 2022, 10:53 AM Apr 1, 2022, 10:51 AM

                      @gertjan Just to confirm here that after upgrating pfsense OS from 21.05.2 to 22.01, and recreating (copy) all dyndns entries, it finally worked.

                      Without recrating those dyndns entries, I was having badauths on logs under 22.01 version.

                      1xSG-4860-1U
                      1xSG-3100
                      2xpfSense Virtual Machines

                      1 Reply Last reply Reply Quote 0
                      • S SipriusPT referenced this topic on Apr 1, 2022, 10:22 PM
                      • S SipriusPT referenced this topic on Apr 1, 2022, 10:24 PM
                      • S SipriusPT referenced this topic on Apr 1, 2022, 10:26 PM
                      • S SipriusPT referenced this topic on Apr 1, 2022, 10:43 PM
                      • S SipriusPT referenced this topic on Apr 4, 2022, 2:34 PM
                      • First post
                        Last post
                      Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                        [[user:consent.lead]]
                        [[user:consent.not_received]]