[GeoNode-users] geonode loads with IP not with URL/domain

Toni Schönbuchner toni.schoenbuchner at csgis.de
Sat Aug 19 16:28:25 PDT 2017


Hi mehdi,

> URL/host name. Strange enough, geoserver works fine when I try both

this does not sound strange  to me.  Geoserver is Server by Tomcat . Other Code  via a Webserver like Apache ... have you checked logfiles for more  detailled informations?

Cheers, toni 

> Am 19.08.2017 um 21:00 schrieb geonode-users-request at lists.osgeo.org:
> 
> Send geonode-users mailing list submissions to
>    geonode-users at lists.osgeo.org
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>    https://lists.osgeo.org/mailman/listinfo/geonode-users
> or, via email, send a message with subject or body 'help' to
>    geonode-users-request at lists.osgeo.org
> 
> You can reach the person managing the list at
>    geonode-users-owner at lists.osgeo.org
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of geonode-users digest..."
> 
> 
> Today's Topics:
> 
>   1. geonode loads with IP not with URL/domain name (Mehdi Ahmadi)
>   2. Re: geonode loads with IP not with URL/domain name
>      (Simone Dalmasso)
>   3. Re: geonode loads with IP not with URL/domain name
>      (Simone Dalmasso)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Sat, 19 Aug 2017 18:02:52 +0430
> From: Mehdi Ahmadi <mehmadi at gmail.com>
> To: geonode-users at lists.osgeo.org
> Subject: [GeoNode-users] geonode loads with IP not with URL/domain
>    name
> Message-ID:
>    <CA+ueiJ8egs-YVhTBpCvD3sLspuB2kaHZWgd96J1dnk1nj6SCEg at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> I have successfully installed geonode on a remote server made some
> customization. Now, it loads with IP address with no problem; however, I
> get the following apache error when I try to load the website using
> URL/host name. Strange enough, geoserver works fine when I try both
> /geoserver and /geoserver. Pinging the host name shows my ip address and my
> nameservers seem to be set appropriately.
> 
> Do you guys have any idea what is the likely reason for this problem?
> 
> 
> Error message:
> Internal Server Error
> 
> The server encountered an internal error or misconfiguration and was unable
> to complete your request.
> 
> Please contact the server administrator at webmaster at localhost to inform
> them of the time this error occurred, and the actions you performed just
> before this error.
> 
> More information about this error may be available in the server error log.
> ------------------------------
> Apache/2.4.18 (Ubuntu) Server at ulsdi.ir Port 80
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170819/e7ebefc2/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 2
> Date: Sat, 19 Aug 2017 10:36:10 -0400
> From: Simone Dalmasso <simone.dalmasso at gmail.com>
> To: Mehdi Ahmadi <mehmadi at gmail.com>
> Cc: "geonode-users at lists.osgeo.org" <geonode-users at lists.osgeo.org>
> Subject: Re: [GeoNode-users] geonode loads with IP not with URL/domain
>    name
> Message-ID:
>    <CAAHAC+ej9cc7_KtdoKCsoihV36t8ra4ddviJ=oo2aH=_tsdcMQ at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Hi, if you change the hostname then you have to run "geonode updateip
> XXXXXX", this is because of security checks in django.
> 
> Hope this helps
> 
> 2017-08-19 9:32 GMT-04:00 Mehdi Ahmadi <mehmadi at gmail.com>:
> 
>> I have successfully installed geonode on a remote server made some
>> customization. Now, it loads with IP address with no problem; however, I
>> get the following apache error when I try to load the website using
>> URL/host name. Strange enough, geoserver works fine when I try both
>> /geoserver and /geoserver. Pinging the host name shows my ip address and my
>> nameservers seem to be set appropriately.
>> 
>> Do you guys have any idea what is the likely reason for this problem?
>> 
>> 
>> Error message:
>> Internal Server Error
>> 
>> The server encountered an internal error or misconfiguration and was
>> unable to complete your request.
>> 
>> Please contact the server administrator at webmaster at localhost to inform
>> them of the time this error occurred, and the actions you performed just
>> before this error.
>> 
>> More information about this error may be available in the server error log.
>> ------------------------------
>> Apache/2.4.18 (Ubuntu) Server at ulsdi.ir Port 80
>> 
>> _______________________________________________
>> geonode-users mailing list
>> geonode-users at lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>> 
>> 
> 
> 
> -- 
> Simone
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170819/f00a0267/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 3
> Date: Sat, 19 Aug 2017 10:56:31 -0400
> From: Simone Dalmasso <simone.dalmasso at gmail.com>
> To: Mehdi Ahmadi <mehmadi at gmail.com>,  "geonode-users at lists.osgeo.org"
>    <geonode-users at lists.osgeo.org>
> Subject: Re: [GeoNode-users] geonode loads with IP not with URL/domain
>    name
> Message-ID:
>    <CAAHAC+f4SKaA-wuk6=4xvq9j6x6MY3g=H2apRiVfYZt+soUr6g at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Yeah, take a look at the apache logs /var/logs/apache2/error.log. It'll
> give you more info
> 
> 2017-08-19 10:55 GMT-04:00 Mehdi Ahmadi <mehmadi at gmail.com>:
> 
>> Thanks Simone. I just run (sudo geonode-updateip XXXXXX; replacing XXXXX
>> with hostname) and restarted apache, but still the same problem shows up.
>> 
>> It seems that the command updates geoserver layers and adds the <hostname>
>> to the allowed hosts. I already did this local_settings.py file. I can
>> confirm that the ALLOWED_HOSTS in /etc/geonode and my_geonode (for
>> customization) contains both my IP and Hostname.
>> 
>> Any other advice?
>> 
>> On Sat, Aug 19, 2017 at 7:06 PM, Simone Dalmasso <
>> simone.dalmasso at gmail.com> wrote:
>> 
>>> Hi, if you change the hostname then you have to run "geonode updateip
>>> XXXXXX", this is because of security checks in django.
>>> 
>>> Hope this helps
>>> 
>>> 2017-08-19 9:32 GMT-04:00 Mehdi Ahmadi <mehmadi at gmail.com>:
>>> 
>>>> I have successfully installed geonode on a remote server made some
>>>> customization. Now, it loads with IP address with no problem; however, I
>>>> get the following apache error when I try to load the website using
>>>> URL/host name. Strange enough, geoserver works fine when I try both
>>>> /geoserver and /geoserver. Pinging the host name shows my ip address and my
>>>> nameservers seem to be set appropriately.
>>>> 
>>>> Do you guys have any idea what is the likely reason for this problem?
>>>> 
>>>> 
>>>> Error message:
>>>> Internal Server Error
>>>> 
>>>> The server encountered an internal error or misconfiguration and was
>>>> unable to complete your request.
>>>> 
>>>> Please contact the server administrator at webmaster at localhost to
>>>> inform them of the time this error occurred, and the actions you performed
>>>> just before this error.
>>>> 
>>>> More information about this error may be available in the server error
>>>> log.
>>>> ------------------------------
>>>> Apache/2.4.18 (Ubuntu) Server at ulsdi.ir Port 80
>>>> 
>>>> _______________________________________________
>>>> geonode-users mailing list
>>>> geonode-users at lists.osgeo.org
>>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>> 
>>>> 
>>> 
>>> 
>>> --
>>> Simone
>>> 
>> 
>> 
>> 
>> --
>> Thanks,
>> Mehdi
>> 
> 
> 
> 
> -- 
> Simone
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170819/8987d8e1/attachment-0001.html>
> 
> ------------------------------
> 
> Subject: Digest Footer
> 
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/geonode-users
> 
> 
> ------------------------------
> 
> End of geonode-users Digest, Vol 31, Issue 25
> *********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170820/97dea189/attachment-0001.html>


More information about the geonode-users mailing list