GeoNode / geonode

GeoNode is an open source platform that facilitates the creation, sharing, and collaborative use of geospatial data.
https://geonode.org/
Other
1.47k stars 1.13k forks source link

localhost instead the server name in the WMS-layer info #8230

Closed CAIAG-D closed 3 years ago

CAIAG-D commented 3 years ago

Expected Behavior

When publishing WMS-layer via GeoServer link, it should contain a server name as part of the address in the "GetCapabilities" response.

Actual Behavior

Independently of replacing all entries of "localhost" in the ".env" file, links for WMS-data (map, legend, etc) always contain the localhost link which prevents normal connecting to the WMS for outside clients.

Steps to Reproduce the Problem

  1. Try link any GeoNode's layer as WMS in QGIS, ArcGIS or other WMS-compatible clients.

Specifications

CAIAG-D commented 3 years ago

The problem was in the "Proxy Base URL" of GeoServer's "Global Settings". After replacing the URL to the correct, WMS layers gets accessible normally.