[GeoNode-devel] Geonode using localhost for WMS requests on Ubuntu 16.04

Simone Dalmasso simone.dalmasso at gmail.com
Thu Nov 10 22:43:15 PST 2016


Hi,

Fixing the settings is correct and will fix layers and new maps. However
for existing maps you have either to adjust the URL in admin maplayers or
recreate the map. Thumbnails can be generated too via edit layer/map page.

Il venerdì 11 novembre 2016, Jonathan Doig <j.doig at unsw.edu.au> ha scritto:

> Hi devs
>
>
>
> I’ve installed Geonode 2.4 on Ubuntu 16.04 following these instructions
> <http://docs.geonode.org/en/master/tutorials/install_and_admin/geonode_install/index.html>
> and changing where needed to make it work.
>
>
>
> However Geonode fails to display layers because the browser is making WMS
> requests to “localhost” rather than to my site URL.
>
>
>
> I’ve fixed the maps in the individual layer pages by changing the
> OGC_SERVER default PUBLIC_LOCATION in local_settings.py from
> http://localhost/geoserver/ to http://<my_server>/geoserver/
>
>
>
> I don’t know why that was needed though, it’s not in the installation doco.
>
>
>
> In any case the thumbs and legend graphics are still broken e.g.:
>
> http://localhost/uploaded/thumbs/layer-4151fb58-a7bb-
> 11e6-994e-fa163e7da40e-thumb.png
>
>
>
> My Geoserver uses the correct URL for WMS calls.
>
>
>
> Advice please.
>
>
>
> Thanks
>
> Jonathan Doig
>


-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-devel/attachments/20161111/107b581e/attachment.html>


More information about the geonode-devel mailing list