<div dir="ltr"><div>Hi,</div><div><br></div><div>Is it possible to access external resources through HTTP connect proxy? An external resource (<a href="http://gibs.earthdata.nasa.gov">gibs.earthdata.nasa.gov</a>) is used in qwc_demo.<br></div><div><br></div><div>I use<br></div><div><br><a href="https://github.com/qwc-services/qwc-docker">https://github.com/qwc-services/qwc-docker</a></div><div><br></div><div>with</div><div><br></div><div><a href="https://github.com/qwc-services/qwc-qgis-server">https://github.com/qwc-services/qwc-qgis-server</a>.</div><div><br></div><div>I get error (1 minute timeout):<br></div><div><br></div><div><a href="http://localhost:8001/qgis/qwc_demo?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetProjectSettings&CLEARCACHE=1">http://localhost:8001/qgis/qwc_demo?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetProjectSettings&CLEARCACHE=1</a><br><br>qwc-qgis-server_1              | 14:20:31 WARNING ClearCapabilities[111]: Cached cleared : /data/qwc_demo.qgs<br>qwc-qgis-server_1              | 14:21:31 WARNING WMS[111]: Download of capabilities failed:<br>qwc-qgis-server_1              | Operation canceled<br>qwc-qgis-server_1              | 14:21:31 WARNING Network[111]: Network request <a href="https://gibs.earthdata.nasa.gov/wmts/epsg3857/best/1.0.0/WMTSCapabilities.xml">https://gibs.earthdata.nasa.gov/wmts/epsg3857/best/1.0.0/WMTSCapabilities.xml</a> timed out<br>qwc-qgis-server_1              | 14:21:31 CRITICAL Server[111]: Error, Layer(s) Blue_Marble_Shaded_Relief__MODIS_20180710132857174 not valid in project /data/qwc_demo.qgs<br>qwc-qgis-server_1              | 14:21:31 WARNING Server[111]: <ServerException>Layer(s) not valid</ServerException></div><div><br></div><div>What I tried:</div><div><br></div><div>/qwc-docker/qwc-qgis-server/Dockerfile:</div><div># ...<br></div><div>ARG HTTP_PROXY<br>ENV HTTP_PROXY ${HTTP_PROXY}<br>ARG HTTPS_PROXY<br>ENV HTTPS_PROXY ${HTTPS_PROXY}<br>ARG NO_PROXY<br>ENV NO_PROXY ${NO_PROXY}<br><br>ENV http_proxy ${HTTP_PROXY}<br>ENV https_proxy ${HTTPS_PROXY}<br>ENV no_proxy ${NO_PROXY}<br><br>RUN touch /etc/apt/apt.conf</div><div>
# ...

</div><div><br></div><div>/etc/apache2/sites-enabled/qgis-server.conf:</div><div>
# ...



</div><div>ProxyRemoteMatch ^https?://.+[.].+/ <a href="http://corporate.proxy:3128">http://corporate.proxy:3128</a></div><div>
# ...



</div><div><br></div><div>Not working. Help.<br></div><div><br></div><div>Best Regards</div><div>Gregor Scharf<br>

</div></div>