Cannot connect to online repository (mirror.freepbx.org). Online modules are not available.

RonRussell's picture

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 http://mirror.freepbx.org/modules-2.4.xml works fine. Ping works. Dig works. This server is a TB 2.0.0 distro with FPBX 2.4.0.0.


__________________

Ron Russell
Tallwood Technology Group, Inc.
www.tallwood.net
904-757-4201


Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

who's and which model

fskrotzki's picture

who's and which model firewall do you use?


Untangle 5.4

RonRussell's picture

Untangle 5.4


__________________

Ron Russell
Tallwood Technology Group, Inc.
www.tallwood.net
904-757-4201


Check if there is any

fskrotzki's picture

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.


2.5 can use wget, you can try changing the php useragent

p_lindheimer's picture

Ron,

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.


__________________

Philippe Lindheimer - FreePBX Project Leader
FreePBX Training Opportunities - Click Here
Get Official Paid Support - Click Here


None of the suggestions have

RonRussell's picture

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 functions.inc.php suggested in this link http://freepbx.org/forum/online-update-problem but I got a T_VARIABLE error.


__________________

Ron Russell
Tallwood Technology Group, Inc.
www.tallwood.net
904-757-4201


Ron, To do a manual upgrade

fskrotzki's picture

Ron,

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

RonRussell's picture

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


__________________

Ron Russell
Tallwood Technology Group, Inc.
www.tallwood.net
904-757-4201