Can't connect to upgrade packages

lshallua
Posts: 2
Member Since:
2007-02-25

I'm a newbie trying to instal everything for the first time; I got everything running perfectly only getting HUDlite installation has been a problem. after switching to Admin Mode the username and password for TB forum (or anyother) brings a message that "I can not be connected to the internet through that box". I have checked my firewalls, tried different boxes on my network without any success. If somebody could assist I will appreciate. I have just installed TB 2.0.

thx



kerryg
Posts: 6790
Member Since:
2006-05-31
Re: Can't connect to upgrade packages

You may not have the gateway on the box set right or the DNS could be wrong. Once you get internet access to the box, then those things will work.

--

Kerry Garrison
http://www.VoipStore.com - http://3cxbook.com
(888) VOIPSTORE - (888) 864-7786



lshallua
Posts: 2
Member Since:
2007-02-25
Re: Can't connect to upgrade packages

Thanks for the prompt response; I think I have internet access to the box since I've been able to install all other modules for FreePXS by logging remotely on my separate computer. How do I know if the DNS or gateway are not set well, I use the one prompted after .iso installation and counterchecked on my resident router for the assignment of the IP (192.xxx.xx.108) for the server.

I am really stuck, I can't move an inch! :-x

Thanks



GGCoffee
Posts: 7
Member Since:
2007-02-09
Re: Can't connect to upgrade packages

Kerry, I have a similiar problem. When I logon to Forums, all is well. When I try to log on to Packages, it says invalid user id/password. Any ideas. This was working properly a few days ago.



flowcut
Posts: 6
Member Since:
2007-02-26
Re: Can't connect to upgrade packages

Hmmm,... I've got a similar problem. Can connect to the package server, but only the trixbox beta and the CentOS repositories. I can't connec to the Trixbox packages where the Hudlite server is located. Is there an other way to install the server? yum or such a system?



yiannos
Posts: 52
Member Since:
2007-01-31
Re: Can't connect to upgrade packages

Yep,

same here. I cannot connect to the server to get updates and packages from the Trixbox site.

Moreover, when I do manage to connect, I check the tbm-hudlite component and then I get the text saying "Nothing to do" although hudlite is not installed.



flowcut
Posts: 6
Member Since:
2007-02-26
Re: Can't connect to upgrade packages

drh
Posts: 24
Member Since:
2007-04-17
Re: Can't connect to upgrade packages

Hi forum. I have just begun to experiment with trixbox. I seem to be having the same problem and cannot get connected to upgrade or install packages. There seems to be a problem with my network. It says I cannot get connected to the internet. Yet, I can ping trixbox.org. BTW, the above link is not found. I have looked through the forum, but have not come up with anything else, except 1 member added this to their hosts file.
66.234.135.90 trixbox.org
66.234.135.90 upgrade.trixbox.org
64.9.11.246 freepbx.org
65.111.165.203 mirror.freepbx.org
which I did, but still no luck.

Just wondering if this has been solved and how, or can someone point me in the right direction.

Using trixbox 2.0 .iso fresh install.

Thanks in advance.



globallink
Posts: 8
Member Since:
2006-12-21
RE: Can't connect to upgrade packages

Hi,

I am also experiencing the same problem. If I go to Packages or to install Hudlite Admin, and as soon as I login to my trixbox.org account it will give me an error message:

"There is a problem with your network setup. We cannot show you available packages because we cannot connect to the internet from this box. Please make necessary adjustment to allow this bow access the internet."

I am sure my box is connected to the Internet because I was able to make and receive calls after manually configuring the box to connect with my Voicepulse Connect for Asterisk account.

Do you have any suggestions? Thanks in advance!



darwinia
Posts: 10
Member Since:
2006-10-25
same problem

hi am having same issues , on public ip etc , connected to internet but cant update packages , keep giving me this message that im not connected to internet



darwinia
Posts: 10
Member Since:
2006-10-25
sorted

just update to the next release i think there is some patches , works now

just did a yum -y update on the CLI, it updated asterisk to 1.2.14 and it works.

thanks to me



rcsinfo
Posts: 1
Member Since:
2007-05-06
Same here - fixed itself on reboot

I had the same problem as you. I could not register or get access to the packages, even though my machine could ping internet sites. This was on a fresh install of Trixbox 2.2.

What I think the problem was is that when I installed the software and brought up the box it was not connected to the network. When I connected the network after the install I did a netconfig and 'service network restart' to get internet access. But for some reason the gui still did not seem to think it was connected. After I rebooted the box with the cable connected everything worked fine.

I am speculating that there is something in the Trixbox software that determines connectivity on boot and that it did not see the connection even after I restarted the network service.



PRI_GOD
Posts: 1
Member Since:
2007-07-14
Same Problem Here

I get an error telling me that the internet cannot be reached from this machine. I can SSH with SecureCRT to my TRIXBOX machine and ping www.trixbox.org with 100% reply success. This tells me two things.....1) I have Internet connectivity from the TRIXBOX machine, and 2) my DNS settings are correct.

Anyone have any suggestions as to what could be preventing the PACKAGES page from connecting to TRIXBOX.ORG? I am new to Trixbox, but I'm not a novice to networking. I will try capturing with wireshark on the ethernet interface to see if the box is even trying to communicate with TRIXBOX.ORG. I will repost when I get results from that.



dengonz
Posts: 2
Member Since:
2007-07-30
Can't login

I got the same exact issue here. I just installed Trixbox 2.2.3 I know the Trixbox machine can connect to the internet because I was able to update using yum -y update. I was also able to update the FreePBX modules. I can ping to www.trixbox.org from the Trixbox machine.

What could possibly be wrong here? I would appreciate your response.

Cheers!



csievert
Posts: 13
Member Since:
2007-01-05
How to allow connection to the repository

I had the same issue not so long ago. After going in circles we finally found the issue. On the firewalls, you not only need to make sure you have the proper ports open. You also need to make sure to BYPASS the firewall CONTENT FILTER if you have one in the firewall. Once you place your Trixbox server IP in the bypass, you will instantly start getting access.

Hope this helps!

Chris



dengonz
Posts: 2
Member Since:
2007-07-30
Can't login

Thanks for the quick reply, Chris. I have checked my router and firewall settings, I still can't get through. At one point I had turned off the firewall since I'm currently on a home network testing this Trixbox but still no go. The TB is currently set as DMZ on my router so I supposed all the ports it needed should be open. I can also connect to the TB using a softphone outside my LAN which proves that this TB is connected to the internet.

I think the root cause of this issue is the fact that my ISP has a transparent proxy that I cannot bypass and they have implemented a content filter which I cannot disable.
Is there any work-around regarding this issue? Are there any updates that can fix this problem with content filters and proxies? How can I install the packages thru CLI? As I mentioned above, I can update using yum -y update so I believe I can install the packages thru CLI..

Thanks,

Dennis



elchavez
Posts: 1
Member Since:
2008-05-09
Use yum

I had a similar problem to install HUD. I used yum to install the thing

yum install tbm-hudamin

and the packages and dependencies are intalled.



Contivity
Posts: 1
Member Since:
2008-07-25
Anyone knows what kind of

Anyone knows what kind of port needs to be opened at least for upgrading packages? I thought this is a mere outgoing connection to the repository server, thus no need to port forward or poke firewall hole to do this.



SkykingOH
Posts: 9541
Member Since:
2007-12-17
Some firewalls don't like

Some firewalls don't like the updates on port 80. Try turning any deep packet inspection off for that host.

--

Scott

aka "Skyking"



nastaran
Posts: 1
Member Since:
2008-09-01
how?

Im a new user of trixbox and dont know enough about it, can we download the packages in another system and then install them manually in trixbox? so how?



hemaheba
Posts: 7
Member Since:
2007-09-25
Packages Won't Log In

I Solved this by doing a little change to my
/var/www/html/maint/includes/functions/login_functions.php file....

Modify on line :369 (Home Version: 1.0.0.26)

find this..
if($loginStatusArray[0] == 1)

and change the value "1" for a 0 like this

if($loginStatusArray[0] == 0)

*****Rember to Backup your conf files =)******

Hope It Helps =D

--

IC CCNA Héctor Hernandez
Comunications Manager
Industrias Marino SA de CV
Mazatlán, Sinaloa. México



petermac85
Posts: 3
Member Since:
2008-12-09
Works!

The above worked for me! My problem was that I was behind a proxy server and my trixbox code wasn't set up to work behind a proxy. I had read that doing a "yum -y update" should have fixed the proxy problem but no luck there. So I did the following:

Updated "if($loginStatusArray[0] == 1)" to ""if($loginStatusArray[0] == 0)" as stated above.

Added my proxy information as follows..................

/maint/includes/functions/captureSoapIP.php: added curl proxy options:

$ret = curl_setopt($ch, CURLOPT_PROXY, "proxy.fake.org");
$ret = curl_setopt($ch, CURLOPT_PROXYPORT, "80");

/maint/includes/classes/nusoap/lib/class.soapclient.php: set proxy host and port

var $proxyhost = 'proxy.fake.org';
var $proxyport = '80';

/admin/functions.inc.php: added proxy information in three places, around lines 2,130, 2,740 and 2,340

$options = array('http'=>array('proxy'=>'proxy.fake.org:80'));
ini_set ('allow_url_fopen', "on");
$context = stream_context_create($options);
$data = file_get_contents($fn, false, $context );

AND
$options = array('http'=>array('proxy'=>'proxy.fake.org:80'));
$context = stream_context_create($options);
if (!$dp = @fopen($url,'r',false,$context)) {
return array(sprintf(_("Error opening %s for reading"), $url));
}

AND
$proxy = array('http'=>array('proxy'=>'proxy.fake.org:80'));
$context = stream_context_create($options);
$announcement = @ file_get_contents("http://update.trixbox.org/version-".getversion().".html".$options, false, $proxy);
return $announcement;

After these changes, both the "packages" tab and the "module admin"->"Check for updated packages" sections work. Hope this helps.

Pete Mac



clarifix
Posts: 1
Member Since:
2008-12-28
Works for me as well,

Works for me as well, hemaheba. Thanks.



Avitech
Posts: 2
Member Since:
2008-04-27
Kerry Garrison Thank you

i checked my network connection few times and found that openDNS does not work properly with new trixbox 2.6.
I used the DNS provided by the internet service provider and every thing worked.
Good luck configuring trixbox.



seanwhe
Posts: 1
Member Since:
2009-02-20
I to fixed this by running

I to fixed this by running yum -y update and then setting the DNS servers to those of my ISP



SkykingOH
Posts: 9541
Member Since:
2007-12-17
Don't ever use the -y switch

Don't ever use the -y switch on yum. Review what it is about to do and then answer y or n.

This gives you a chance to stop if you make a mistake.

--

Scott

aka "Skyking"



renjitk
Posts: 1
Member Since:
2009-04-08
looks like i might be having

looks like i might be having the same issue. I click on the "Packages" link. Type in my username and password from trixbox forum and nothing happens. My internet connection is fine. I am able to make both inbound and outbound calls.. everything else seems to be fine. any solutions?



eandoni
Posts: 2
Member Since:
2009-04-23
can't download packages from GUI

HI, now i can log in after changing if($loginStatusArray[0] == 0).
But can't download packages, it's written "downloading updated package list" and then this error : the xml response that was returned from the server is invalid.
Ha ve you got an idea ?
Thanks in advance



hemaheba
Posts: 7
Member Since:
2007-09-25
the xml response that was returned from the server is invalid.

Hi, in order to correct that invali response you just need a little adjustment con your /etc/php.ini file.

Go into the php.ini file and look for this variable memory_limit, is under Resources Section and change it from whatever(default is 64M) to 100M, and that is it..

Good Luck
IC CCNA Héctor Hernandez

--

IC CCNA Héctor Hernandez
Comunications Manager
Industrias Marino SA de CV
Mazatlán, Sinaloa. México



eandoni
Posts: 2
Member Since:
2009-04-23
Thanks Héctor Hernandez

Thank you hemaheba for your quick reply, now it's working fine!



Comment viewing options

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