Cannot connect to online repository ( Online modules are not available

After reading all of the posts and following all of the good advice, I cannot seem to resolve a problem I am having with one of my servers. Exactly 5 weeks, 6 days, 5 hours, 15 minutes ago I received the last communication with the freepbx mirrors from this server via FreePBX. wget works fine. Ping works. Dig works. This server is a TB 2.0.0 distro with FPBX

who’s and which model firewall do you use?

Untangle 5.4

Check if there is any content filtering options and disable them. I know for a fact that the mirror’s are up and functional.

When this happens it is normally one of a few things.

  1. DNS. You can’t resolve DNS or resolve it in a timely fashion.

  2. Firewall restrictions, either the firewall is blocking outgoing requests or only allowing certian ones through that meet some criteria.

  3. you are using a proxy setup, which does not work. There are posted patches if you search for updates with proxy that will tell you how to make some minor changes to get it working.


although it would require a manual upgrade to 2.5, we added a fallback mechanism inside of FreePBX to use wget and there is an amportal.conf variable that can be set to make it always go that route (in case you get long delays instead of immediate failover).

However, if you can wget, they you should be able to find a solution to the issue. You can try redefining the useragent in the php.ini configuration file to tell it you are Firefox or IE. (You’ll have to google for the specifics, can’t recall off the top of my head). This will often solve the problem if the firewall is giving problems.

Remember to do an ‘httpd restart’ after making any changes to php.ini files so that mod_php get’s reloaded and rereads the conf settings.

None of the suggestions have resolved this issue. I incorrectly specified the firewall in my reply. At this site I am using iptables configured via shorewall. This network config has been in place for four years without a problem. I have iax trunks and sip peers connecting thru the firewall. How would I do a manual upgrade to the latest FPBX? I looked in the amportal.conf file and do not see any mention of wget. I also tried the modification of suggested in this link but I got a T_VARIABLE error.


To do a manual upgrade look at the bottom left of this page, click on the download link. Third paragraph on that page has the upgrade info for doing it from a tarball.

Thanks much for that tip fskrotzki. I completed the manual upgrade and voila my module upgrades no longer time out. :slight_smile: