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

Francesco Bartoli xbartolone at gmail.com
Fri Nov 11 00:35:40 PST 2016


Hi,

For the existing ones doing the command "geonode updatemaplayerip" should fix the rest.

Il giorno 11/nov/2016, alle ore 07:43, Simone Dalmasso <simone.dalmasso at gmail.com> ha scritto:

> 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 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 
> _______________________________________________
> geonode-devel mailing list
> geonode-devel at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-devel

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


More information about the geonode-devel mailing list