<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hi Allessandro, i just tried with the 3.10 image also, but got similar results.<div class=""><br class=""></div><div class="">If i enforce an error in one of the layers, those errors are actually logged, but still I don’t see any collections (in html and or json encoding). </div><div class=""><br class=""></div><div class="">My log is here:</div><div class=""><br class=""></div><div class="">```</div><div class=""><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">49686 - 172.19.0.12 - - [18/Jun/2021:09:33:56 +0000] "GET /qgis/wfs3/static/style.css HTTP/1.1" 200 633 "<a href="http://localhost:8000/qgis/wfs3/collections?" class="">http://localhost:8000/qgis/wfs3/collections?</a>" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36"</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">09:33:56 INFO Server[74]: ******************** New request ***************</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">09:33:56 INFO Server[74]: Request URL: <a href="http://localhost:8000/qgis/wfs3/static/jsonFormatter.min.js?" class="">http://localhost:8000/qgis/wfs3/static/jsonFormatter.min.js?</a></span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">09:33:56 INFO Server[74]: Environment:</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">09:33:56 INFO Server[74]: ------------------------------------------------</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">09:33:56 INFO Server[74]: SERVER_NAME: localhost</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">09:33:56 INFO Server[74]: REQUEST_URI: /qgis/wfs3/static/jsonFormatter.min.js</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">09:33:56 INFO Server[74]: SCRIPT_NAME: /qgis/wfs3/static/jsonFormatter.min.js</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">09:33:56 INFO Server[74]: REMOTE_ADDR: 172.19.0.12</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">09:33:56 INFO Server[74]: SERVER_PORT: 8000</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">09:33:56 INFO Server[74]: QUERY_STRING: </span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">09:33:56 INFO Server[74]: REQUEST_METHOD: GET</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">09:33:56 INFO Server[74]: HTTP_ACCEPT: */*</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">09:33:56 INFO Server[74]: HTTP_USER_AGENT: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.77 Safari/537.36</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">09:33:56 INFO Server[74]: QGIS_PROJECT_FILE: /etc/qgisserver/project.qgs</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">09:33:56 INFO Server[74]: Trying URL path: /qgis/wfs3/static/jsonFormatter.min.js for /wfs3</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">09:33:56 INFO Server[74]: API OGC WFS3 (Draft) accepts the URL path /qgis/wfs3/static/jsonFormatter.min.js </span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">09:33:56 INFO Server[74]: Checking API path /qgis/wfs3/static/jsonFormatter.min.js for /collections/(?<collectionId>[^/]+)/items(\.geojson|\.json|\.html)?$ </span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">09:33:56 INFO Server[74]: Checking API path /qgis/wfs3/static/jsonFormatter.min.js for /collections/(?<collectionId>[^/]+)/items/(?<featureId>[^/]+?)(\.json|\.geojson|\.html)?$ </span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">09:33:56 INFO Server[74]: Checking API path /qgis/wfs3/static/jsonFormatter.min.js for /collections(\.json|\.html)?$ </span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">09:33:56 INFO Server[74]: Checking API path /qgis/wfs3/static/jsonFormatter.min.js for /collections/(?<collectionId>[^/]+?)(\.json|\.html)?$ </span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">09:33:56 INFO Server[74]: Checking API path /qgis/wfs3/static/jsonFormatter.min.js for /conformance </span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">09:33:56 INFO Server[74]: Checking API path /qgis/wfs3/static/jsonFormatter.min.js for /static/(?<staticFilePath>.*)$ </span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">09:33:56 INFO Server[74]: Found API handler static</span></div><div style="margin: 0px; font-stretch: normal; font-size: 11px; line-height: normal; font-family: Menlo;" class=""><span style="font-variant-ligatures: no-common-ligatures" class="">09:33:56 INFO Server[74]: Request finished in 2 ms</span></div></div><div class="">```<br class=""><div class=""><br class="webkit-block-placeholder"></div><div class="">Any ideas?<br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<div><br class=""><blockquote type="cite" class=""><div class="">On 18 Jun 2021, at 10:17, Alessandro Pasotti <<a href="mailto:apasotti@gmail.com" class="">apasotti@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><br class=""></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Jun 18, 2021 at 9:57 AM Paul van Genuchten <<a href="mailto:paul.vangenuchten@geocat.net" class="">paul.vangenuchten@geocat.net</a>> wrote:<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi list, At Geonovum (netherlands) we’re operating an environment to study a number of OGC API Features implementations.<br class="">
<br class="">
We’ve aded qgis server from 3.18 and 3.16 docker image maintained by camp to camp (<a href="https://github.com/camptocamp/docker-qgis-server" rel="noreferrer" target="_blank" class="">https://github.com/camptocamp/docker-qgis-server</a>). In both cases we noticed the /wfs3/collections endpoint did not display any collections, but the wms-capabilities showed the layers of our project without problems. The log didn’t show any warnings. <br class="">
<br class="">
Do you have some hints on how i could debug the situation?<br class=""></blockquote><div class=""><br class=""></div><div class="">The logs should definitely show something.</div><div class=""><br class=""></div><div class="">Anyway, the problem is probably caused by <code class="gmail-docutils gmail-literal gmail-notranslate"><span class="gmail-pre">QGIS_PROJECT_FILE </span></code>not being correctly set. <br class=""></div><div class=""><br class=""></div><div class="">How do you pass it to the server? <br class=""></div><div class=""><br class=""></div><div class="">Note that MAP=/path is not allowed by the OAPIF standard (QGIS should parse it correctly though).<br class=""></div></div><br clear="all" class=""><br class="">-- <br class=""><div dir="ltr" class="gmail_signature"><div dir="ltr" class=""><div class="">Alessandro Pasotti</div><div class="">QCooperative:  <a href="https://www.qcooperative.net/" target="_blank" class="">www.qcooperative.net</a><br class=""></div>ItOpen:   <a href="http://www.itopen.it/" target="_blank" class="">www.itopen.it</a></div></div></div>
</div></blockquote></div><br class=""></div></body></html>