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

curl error 7 on all downloads

Scheduled Pinned Locked Moved pfBlockerNG
9 Posts 3 Posters 1.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.
  • K
    Koent
    last edited by Oct 6, 2019, 3:11 PM

    Hello,

    pfBlockerNG stopped updating all lists. The DNSBL update reports

    MS_2 ] Downloading update . cURL Error: 7
    Retry in 5 seconds...
    . cURL Error: 7
    Retry in 5 seconds...
    . cURL Error: 7
    Retry in 5 seconds...
    .. unknown http status code | 0

    [ DNSBL_BBcan177 - MS_2 ] Download FAIL [ 10/06/19 16:53:08 ]
    Firewall and/or IDS (Legacy mode only) are not blocking download.

    Restoring previously downloaded file
    .

    Orig. Unique # Dups # White # TOP1M Final

    17365 16985 1793 0 0 15192

    IPv4 count=3

    This is happening to all lists.

    I tried accessing https://gist.githubusercontent.com/BBcan177/4a8bf37c131be4803cb2/raw from a browser and this works.

    Diagnostic ping gives a problem :
    When using LAN as the source address, ping fails. When using VPN interfaces or WAN, ping gets replies.

    When I ping from a machine inside the LAN-network, ping works.

    I have no idea what's happening or where to start troubleshooting.

    Any help would be appreciated.

    P 1 Reply Last reply Oct 6, 2019, 3:53 PM Reply Quote 0
    • P
      provels @Koent
      last edited by Oct 6, 2019, 3:53 PM

      @Koent I'm not seeing any errors (using the devel version). You may want to see if there is an updated package after making sure you have checked the "Keep Settings" checkbox on the General page.

      Peder

      MAIN - pfSense+ 24.11-RELEASE - Adlink MXE-5401, i7, 16 GB RAM, 64 GB SSD. 500 GB HDD for SyslogNG
      BACKUP - pfSense+ 23.01-RELEASE - Hyper-V Virtual Machine, Gen 1, 2 v-CPUs, 3 GB RAM, 8GB VHDX (Dynamic)

      1 Reply Last reply Reply Quote 0
      • G
        Gertjan
        last edited by Oct 7, 2019, 6:42 AM

        @Koent : check your DNS on pfSense.
        Can it resolve ? Try pinging using GUI, or better, console access to i.e. google.com

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

        K 1 Reply Last reply Oct 8, 2019, 9:25 AM Reply Quote 0
        • K
          Koent @Gertjan
          last edited by Oct 8, 2019, 9:25 AM

          @Gertjan Thanks. DNS is working. As I said, I tried to ping several servers serving the lists. If I can ping them from my PC, I can ping them via diagnostics - ping without problems, if I don’t use the LAN interface as a source. PPPoE (WAN) and VPN interfaces work without issues.

          G 1 Reply Last reply Oct 8, 2019, 11:15 AM Reply Quote 0
          • G
            Gertjan @Koent
            last edited by Oct 8, 2019, 11:15 AM

            @Koent said in curl error 7 on all downloads:

            .... I tried to ping several servers serving the lists. If I....

            ping 8.8.8.8
            

            will work just fine - even when no DNS is a viable.

            I should have said (as you) :

            ping google.com
            

            or some other URL that needs DNS resolving first. This test abuses 'ping' somewhat : we are only interested in the resolve part, not the actual ping replies.

            I tested 'curl ' :

            [2.4.4-RELEASE][admin@pfsense.brit-hotel-fumel.net]/root: curl https://gist.githubusercontent.com/BBcan177/4a8bf37c131be4803cb2/raw > testfile.txt
              % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                             Dload  Upload   Total   Spent    Left  Speed
            100  476k  100  476k    0     0  1313k      0 --:--:-- --:--:-- --:--:-- 1313k
            

            The file testfile.txt was created with many URL's.

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

            G 1 Reply Last reply Oct 8, 2019, 11:29 AM Reply Quote 0
            • K
              Koent
              last edited by Oct 8, 2019, 11:25 AM

              Thanks. Did you test from your ‘default interface’, or did you specify an interface please?

              1 Reply Last reply Reply Quote 0
              • G
                Gertjan @Gertjan
                last edited by Oct 8, 2019, 11:29 AM

                As shown :
                @Gertjan said in curl error 7 on all downloads:

                [2.4.4-RELEASE][admin@pfsense.brit-hotel-fumel.net]/root: curl https://gist.githubusercontent.com/BBcan177/4a8bf37c131be4803cb2/raw > testfile.txt

                I logged in using Putty ans SSH.
                Menu option 8.
                I typed the command :

                curl https://gist.githubusercontent.com/BBcan177/4a8bf37c131be4803cb2/raw > testfile.txt
                

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

                1 Reply Last reply Reply Quote 0
                • K
                  Koent
                  last edited by Oct 8, 2019, 12:11 PM

                  Many thanks for the help. I have found the problem. I recently changed my WAN interface From DHCP to PPPoE and the default gateway changed to the VPN routing group.

                  It is not as if I analyse the FW daily so I forgot about it.

                  G 1 Reply Last reply Oct 8, 2019, 1:29 PM Reply Quote 1
                  • G
                    Gertjan @Koent
                    last edited by Oct 8, 2019, 1:29 PM

                    @Koent said in curl error 7 on all downloads:

                    analyse the FW daily

                    Me neither.
                    But I do check 'basic' operations when changing 'major' things like interfaces that deal with outgoing traffic.
                    In this case : because the NIC called WAN (actually : PPPoE) now faces the Internet directly. Before, pfSense was probably hidden behind another router (no standard, but normal for a DHCP client mode). Now, it's time to re check and double check your WAN rules : typically none should be there exception NAT rules.

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

                    1 Reply Last reply Reply Quote 0
                    9 out of 9
                    • First post
                      9/9
                      Last post
                    Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.
                      This community forum collects and processes your personal information.
                      consent.not_received