Discussion:
[Citrusdb-users] Firefox can't establish a connection to the server at localhost.
Brien
2011-08-28 07:46:23 UTC
Permalink
I just got a fresh install of Citrusdb on my computer. The install went great, I
have no errors. I created a service, and a customer record, then added that
service to that customer's record. Then I click to edit default billing. When I
click that I get

Unable to connect

Firefox can't establish a connection to the server at localhost



The site could be temporarily unavailable or too busy. Try again in a few
moments.
If you are unable to load any pages, check your computer's network
connection.
If your computer or network is protected by a firewall or proxy, make sure
that Firefox is permitted to access the Web.

Also, the same thing happens when I click the account manager password link.

I Tried everything I can think of and can't get it to work. I searched all over
to find a answer but haven't been able to come up with anything.

I could really use some help on this thanks,
Paul Yasi
2011-08-28 08:24:46 UTC
Permalink
Edit billing tries to use the SSL url since it may have card data in
it. This is probably because you don't have the $ssl_url_prefix
configured correctly. If you are storing credit cards you'll want to
enable SSL on your server and configure that ssl_url_prefix to use
the https address. If you are not storing credit cards then you can
set the ssl_url_prefix to be the same as the regular url_prefix.

Paul
Post by Brien
I just got a fresh install of Citrusdb on my computer. The install went great, I
have no errors. I created a service, and a customer record, then added that
service to that customer's record. Then I click to edit default billing. When I
click that I get
Unable to connect
         Firefox can't establish a connection to the server at localhost
 The site could be temporarily unavailable or too busy. Try again in a few
   moments.
 If you are unable to load any pages, check your computer's network
   connection.
 If your computer or network is protected by a firewall or proxy, make sure
   that Firefox is permitted to access the Web.
Also, the same thing happens when I click the account manager password link.
I Tried everything I can think of and can't get it to work. I searched all over
to find a answer but haven't been able to come up with anything.
I could really use some help on this thanks,
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Citrusdb-users mailing list
https://lists.sourceforge.net/lists/listinfo/citrusdb-users
--
The CitrusDB Project | http://www.citrusdb.org
Open Source Customer Care & Billing System
Brien
2011-08-28 20:41:47 UTC
Permalink
So after yesterday of being able to login, I woke up this morning to no
longer being able to login. I assume this is because of the same reason
that you talk about in the last email. So I have been trying to set
every correct in the config.inc.php all morning, but for the life of me
I can figure out what that ssl_url_prefix is suppose to be. I have it
set to:
$url_prefix = "http://localhost/citrusdb";
$ssl_url_prefix = "https://localhost/citrusdb";
and my path is:
$path_to_citrus = '/var/www/citrusdb/';

I have openssl installed as well.

Thanks for the help.
Brien
2011-08-29 05:27:45 UTC
Permalink
I'm still searching for a solution for this. I'll try to explain where I'm at
step by step, to grant more insight on the situation.

Ubuntu 11.04
Msql 5.1
php 5.3
apache2.2

1. Install citrus 2.4
2. edit config.inc.php (I edited everything that the manual instructed me to,
these are the edits that I'm not sure if I did correctly)

$url_prefix = "http://localhost/citrusdb";;
$ssl_url_prefix = "https://localhost/citrusdb";;
and my path is:
$path_to_citrus = '/var/www/citrusdb/';

3.open browser (firefox) enter http://localhost/citrusdb

I see the citrusdb log in screen and logo

4. and finally, enter user/password click login

receive this message on https://localhost/citrusdb/index.php

Unable to connect

Firefox can't establish a connection to the server at localhost.

The site could be temporarily unavailable or too busy. Try again in a few
moments.
If you are unable to load any pages, check your computer's network
connection.
If your computer or network is protected by a firewall or proxy, make sure
that Firefox is permitted to access the Web.

please help.
Paul Yasi
2011-08-29 13:28:32 UTC
Permalink
Do you get any response like the default apache "It Works!" page when
you go to https://locahost/

I've followed these instructions to enable ssl on ubuntu successfully before:
http://www.tc.umn.edu/~brams006/selfsign_ubuntu.html

If you are just trying this out on localhost and not across a network,
then none of this SSL stuff matters in that case either.

Paul
Post by Brien
I'm still searching for a solution for this. I'll try to explain where I'm at
step by step, to grant more insight on the situation.
Ubuntu 11.04
Msql 5.1
php 5.3
apache2.2
1. Install citrus 2.4
2. edit config.inc.php (I edited everything that the manual instructed me to,
these are the edits that I'm not sure if I did correctly)
$url_prefix = "http://localhost/citrusdb";;
$ssl_url_prefix = "https://localhost/citrusdb";;
$path_to_citrus = '/var/www/citrusdb/';
3.open browser (firefox) enter http://localhost/citrusdb
I see the citrusdb log in screen and logo
4.  and finally, enter user/password click login
receive this message on https://localhost/citrusdb/index.php
Unable to connect
         Firefox can't establish a connection to the server at localhost.
 The site could be temporarily unavailable or too busy. Try again in a few
   moments.
 If you are unable to load any pages, check your computer's network
   connection.
 If your computer or network is protected by a firewall or proxy, make sure
   that Firefox is permitted to access the Web.
please help.
------------------------------------------------------------------------------
EMC VNX: the world's simplest storage, starting under $10K
The only unified storage solution that offers unified management
Up to 160% more powerful than alternatives and 25% more efficient.
Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev
_______________________________________________
Citrusdb-users mailing list
https://lists.sourceforge.net/lists/listinfo/citrusdb-users
--
The CitrusDB Project | http://www.citrusdb.org
Open Source Customer Care & Billing System
Brien
2011-08-29 19:16:01 UTC
Permalink
No, when I go to https://localhost I get; Unable to connect message again.

Thanks for the help,
Brien
2011-08-29 21:41:13 UTC
Permalink
Also I have checked to see if apache is running and restarted it after reboot.
What could be causing this problem do you think?
Paul Yasi
2011-08-31 00:33:43 UTC
Permalink
Maybe the SSL module is not loaded, I can reproduce the same error if
I turn off the SSL module in apache.

https://help.ubuntu.com/11.04/serverguide/C/httpd.html#https-configuration

Paul
Post by Brien
Also I have checked to see if apache is running and restarted it after reboot.
What could be causing this problem do you think?
------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Citrusdb-users mailing list
https://lists.sourceforge.net/lists/listinfo/citrusdb-users
--
The CitrusDB Project | http://www.citrusdb.org
Open Source Customer Care & Billing System
Brien
2011-08-31 06:27:01 UTC
Permalink
Thanks Man,

I went back deleted everything and went back and did it again. And you were
right, once I did the ssl config again everything worked! Got everything up and
running, and I love your software.

Thanks again,
Ajeet
2012-01-19 02:43:02 UTC
Permalink
Please help me in fixing the SSL thing. i am stuck with the same problem.
Kate Colston
2012-01-19 06:58:29 UTC
Permalink
Post by Ajeet
Please help me in fixing the SSL thing. i am stuck with the same problem.
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Citrusdb-users mailing list
https://lists.sourceforge.net/lists/listinfo/citrusdb-users
Loading...