https://issues.qgis.org/https://issues.qgis.org/favicon.ico2018-02-02T12:56:32ZQGIS Issue TrackingQGIS Application - Bug report #17951: QGIS Server lost (most of the times) the ability to cascade WFS layershttps://issues.qgis.org/issues/17951?journal_id=864942018-02-02T12:56:32ZAlessandro Pasotti
<ul></ul><p>This does not affect master, correct?</p> QGIS Application - Bug report #17951: QGIS Server lost (most of the times) the ability to cascade WFS layershttps://issues.qgis.org/issues/17951?journal_id=864962018-02-02T13:36:35ZNicolai Mogensennicolaim93@gmail.com
<ul></ul><p>I am experiencing the same issue on QGIS server Version: 1:2.18.14+24xenial (2.18.14). WFS layers will toggle on and off randomly. Our services are external WFS services. The behavior is exactly as described by Giovanni. Sometimes panning and zooming will make some layers appear, but most of the time no layers are drawn.</p> QGIS Application - Bug report #17951: QGIS Server lost (most of the times) the ability to cascade WFS layershttps://issues.qgis.org/issues/17951?journal_id=868212018-02-15T11:29:26ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Feedback</i></li></ul><p>To check if this applies also to qgis server 3-</p> QGIS Application - Bug report #17951: QGIS Server lost (most of the times) the ability to cascade WFS layershttps://issues.qgis.org/issues/17951?journal_id=887902018-03-16T15:26:25ZAlessandro Pasotti
<ul></ul><p>Can you please attach a sample project?</p> QGIS Application - Bug report #17951: QGIS Server lost (most of the times) the ability to cascade WFS layershttps://issues.qgis.org/issues/17951?journal_id=887922018-03-16T16:21:48ZAlessandro Pasotti
<ul><li><strong>Assignee</strong> set to <i>Alessandro Pasotti</i></li></ul><p>I cannot reproduce:</p>
<p>I've built a simple project with one WMS and one WFS https cascaded layers from the official geoserver demo.<br />Serving that project with QGIS Server 2.18 shows no issues.</p>
<p>Attaching the project.</p> QGIS Application - Bug report #17951: QGIS Server lost (most of the times) the ability to cascade WFS layershttps://issues.qgis.org/issues/17951?journal_id=887932018-03-16T16:23:23ZAlessandro Pasotti
<ul><li><strong>File</strong> <a href="/attachments/download/12469/bug_17951.qgs">bug_17951.qgs</a> added</li></ul> QGIS Application - Bug report #17951: QGIS Server lost (most of the times) the ability to cascade WFS layershttps://issues.qgis.org/issues/17951?journal_id=891192018-04-05T10:02:22ZAlessandro Pasotti
<ul><li><strong>Duplicates</strong> <i><a class="issue tracker-1 status-5 priority-5 priority- closed" href="/issues/16462">Bug report #16462</a>: QGIS Server lost the ability to cascade WMS layers published using HTTPS</i> added</li></ul> QGIS Application - Bug report #17951: QGIS Server lost (most of the times) the ability to cascade WFS layershttps://issues.qgis.org/issues/17951?journal_id=899902018-06-01T12:02:45ZRené-Luc ReLucrldhont@3liz.com
<ul></ul><p>If this issue duplicates <a class="issue tracker-1 status-5 priority-5 priority- closed" href="https://issues.qgis.org/issues/16462" title="QGIS Server lost the ability to cascade WMS layers published using HTTPS (Closed)">#16462</a></p>
<p>The solution is the same.</p>
<p>To fix this issue, you have to add HOME environmental variable to a directory in which the directory .qgis2 is writable for the user used by QGIS Server, with Apache2, it's www-data.</p>
<p>For exemple, do these commands:<br /><pre>
mkdir /srv/qgis/.qgis2
chown www-data:www-data /srv/qgis/.qgis2
chmod 774 /srv/qgis/.qgis2
</pre></p>
<p>And add this in your apache virtual host:<br /><pre>
FcgidInitialEnv HOME "/srv/qgis"
</pre></p> QGIS Application - Bug report #17951: QGIS Server lost (most of the times) the ability to cascade WFS layershttps://issues.qgis.org/issues/17951?journal_id=899982018-06-01T13:01:58ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>René-Luc ReLuc wrote:</p>
<blockquote>
<p>If this issue duplicates <a class="issue tracker-1 status-5 priority-5 priority- closed" href="https://issues.qgis.org/issues/16462" title="QGIS Server lost the ability to cascade WMS layers published using HTTPS (Closed)">#16462</a></p>
<p>The solution is the same.</p>
<p>To fix this issue, you have to add HOME environmental variable to a directory in which the directory .qgis2 is writable for the user used by QGIS Server, with Apache2, it's www-data.</p>
<p>For exemple, do these commands:<br />[...]</p>
<p>And add this in your apache virtual host:<br />[...]</p>
</blockquote>
<p>is this a workaround awaiting for the proper fix, or is really the right solution?</p> QGIS Application - Bug report #17951: QGIS Server lost (most of the times) the ability to cascade WFS layershttps://issues.qgis.org/issues/17951?journal_id=900012018-06-01T14:06:33ZRené-Luc ReLucrldhont@3liz.com
<ul></ul><p>It's not a workaround, it's the solution.</p> QGIS Application - Bug report #17951: QGIS Server lost (most of the times) the ability to cascade WFS layershttps://issues.qgis.org/issues/17951?journal_id=900082018-06-01T15:27:55ZAlessandro Pasotti
<ul></ul><p>@Renè: any reason to not close this?</p> QGIS Application - Bug report #17951: QGIS Server lost (most of the times) the ability to cascade WFS layershttps://issues.qgis.org/issues/17951?journal_id=900092018-06-01T15:29:19ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>René-Luc ReLuc wrote:</p>
<blockquote>
<p>It's not a workaround, it's the solution.</p>
</blockquote>
<p>I'll document it then.</p> QGIS Application - Bug report #17951: QGIS Server lost (most of the times) the ability to cascade WFS layershttps://issues.qgis.org/issues/17951?journal_id=900382018-06-03T14:57:36ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>René-Luc ReLuc wrote:</p>
<blockquote>
<p>It's not a workaround, it's the solution.</p>
</blockquote>
<p>one additional question: why is this necessary now, while is wasn't in older QGIS Server releases?</p> QGIS Application - Bug report #17951: QGIS Server lost (most of the times) the ability to cascade WFS layershttps://issues.qgis.org/issues/17951?journal_id=900402018-06-03T16:12:28ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>René-Luc ReLuc wrote:</p>
<blockquote>
<p>It's not a workaround, it's the solution.</p>
</blockquote>
<p>gave it a try and seems to work as you described, thanks!</p> QGIS Application - Bug report #17951: QGIS Server lost (most of the times) the ability to cascade WFS layershttps://issues.qgis.org/issues/17951?journal_id=900432018-06-03T18:38:57ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>fixed/implemented</i></li></ul><p><a class="external" href="https://github.com/qgis/QGIS-Documentation/pull/2665">https://github.com/qgis/QGIS-Documentation/pull/2665</a></p>