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

Unable to communicate with pfsense (packages)

Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
5 Posts 3 Posters 2.4k 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
    sangeth
    last edited by Nov 29, 2013, 3:06 AM

    When I try to get a list of packages for pfsense I get the error:

    "Unable to communicate with www.pfsense.com. Please verify DNS and interface configuration, and that pfSense has functional Internet connectivity."

    As suggested in other similar posts I tried:

    ```
    fetch -o - http://www.pfsense.org/packages/pkg_config.8.xml

    
    from the command line and while it took a few seconds, it returned an XML file.
    
    Does pfsense have a timeout for retrieving the packages and it's just taking too long to get the XML file?
    1 Reply Last reply Reply Quote 0
    • S
      shehan31
      last edited by Nov 29, 2013, 9:06 AM

      Hi there;
      Do you have the web access to pfsense ?
      Looks like you have a problem with your DNS. Make sure that the connectivity is ok to the router.
      then with your pfsense console setup go to the option 8 (Shell). first type this command "cat /etc/resolve.conf ". Check whether your  DNS IPs are there. If not use the vi editor to edit that file. "vi /etc/resolve.conf".
      ping your DNS and www.google.com to check whether the DNS  works.

      1 Reply Last reply Reply Quote 0
      • S
        stephenw10 Netgate Administrator
        last edited by Nov 29, 2013, 11:26 PM

        If you are able to download the xml file manually you probably don't have a DNS issue. Check that you have a valid update URL selected
        Go to System: Firmware: Updater Settings:
        Choose the appropriate URL (32 or 64 bit) from the drop down and save it.

        Steve

        1 Reply Last reply Reply Quote 0
        • S
          sangeth
          last edited by Dec 1, 2013, 2:29 AM

          @stephenw10:

          If you are able to download the xml file manually you probably don't have a DNS issue. Check that you have a valid update URL selected
          Go to System: Firmware: Updater Settings:
          Choose the appropriate URL (32 or 64 bit) from the drop down and save it.

          Steve

          Selected the "amd64 stable updates" and saved the settings but still getting the same issue.

          1 Reply Last reply Reply Quote 0
          • S
            sangeth
            last edited by Dec 1, 2013, 4:53 AM

            Figured out the issue in the end.  Checked the logs straight after trying to download the list of available package and noticed the following errors:

            php: /pkg_mgr.php: XML_RPC_Client: Connection to RPC server www.pfsense.com:80 failed. Operation timed out 103
            php: /pkg_mgr.php: XMLRPC communication error: Operation timed out
            

            Googling these errors landed me at the following wiki page:

            https://doc.pfsense.org/index.php/Controlling_IPv6_or_IPv4_Preference

            By preferring IP V4 with the following command:

            env ip6addrctl_enable="yes" ip6addrctl_policy="prefer_ipv4" /etc/rc.d/ip6addrctl start
            

            i was able to download and install packages!

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