[GeoNode-devel] getting started #2
jonas at ellevator.net
Fri Jun 17 04:16:20 PDT 2016
Thanks - and yes, I loaded the layer before changing site ip / domain name.
That is rather unexpected. Also very inconvenient when migrating data
from one host to another. Would that qualify as a bug?
On 06/07/2016 01:39 PM, Simone Dalmasso wrote:
> make sure that the SITEURL is set to the geonode public domain, the
> one that you use to access it from your host system. You can do that
> with "sudo geonode-updateip yourdomain".
> If you want to add an external layer to the map composer then you will
> have to add the host in the PROXY_ALLOWED_HOSTS, but only in this case.
> For the thumbnail url, is it possible that you loaded some layers
> before changing the SITEURL?
> 2016-06-07 11:53 GMT+02:00 jonas ellehauge <jonas at ellevator.net
> <mailto:jonas at ellevator.net>>:
> Hi again,
> After I got geonode up and running on a VirtualBox guest Ubuntu
> 14.04 server 64 bit, I still got various error messages and pages
> / images / map content that wouldn't show. I figured it might be
> related to geonode getting confused by the port forwarding on VB
> (eg forwarded http requests from 2280 on host machine to 80 on guest).
> It took a while to figure out how to set up VB with a local static
> IP address, and set the goenode-updateip to the correct IP. Now it
> mostly works fine except for the attached 403 error on
> http://<host>/maps/new - something about a proxy not being in the
> PROXY_ALLOWED_HOSTS setting.
> What is the way to resolve this on a production server?
> On this test server, I just set debug to True and restarted
> apache2 and the error is gone.
> I find it surprising that some requests from the client are sent
> directly to the host IP instead of its domain name. E.g. some
> requests are sent in my case as:
> instead of
> Why is that?
> awesomemap.tools <http://awesomemap.tools/> | @Facebook
> <http://www.facebook.com/awesomemaptools.net> | @Twitter
> <http://twitter.com/awetools> | ellvtr at Github
> <https://github.com/ellvtr> | awesomemaptools at Github
> <https://github.com/awesomemaptools/> | jonas at LinkedIn
> <http://www.linkedin.com/in/jonasellehauge/> |
> awesomemaptools at LinkedIn
> <https://www.linkedin.com/company/10303547> | +47 984 81 362
> <tel:%2B47%20984%2081%20362> @mobile | jonas_ellehauge at Skype
> geonode-devel mailing list
> geonode-devel at lists.osgeo.org <mailto:geonode-devel at lists.osgeo.org>
awesomemap.tools <http://awesomemap.tools/> | @Facebook
<http://www.facebook.com/awesomemaptools.net> | @Twitter
<http://twitter.com/awetools> | ellvtr at Github
<https://github.com/ellvtr> | awesomemaptools at Github
<https://github.com/awesomemaptools/> | jonas at LinkedIn
<http://www.linkedin.com/in/jonasellehauge/> | awesomemaptools at LinkedIn
<https://www.linkedin.com/company/10303547> | +47 984 81 362 @mobile |
jonas_ellehauge at Skype
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the geonode-devel