[qgis-qwc2] First Setup

Bernhard Ströbl bernhard.stroebl at jena.de
Thu May 18 01:49:48 PDT 2017


Hi all,

we are trying to setup QWC2 from QWC2-Demo-App. Our setup uses docker.
So far we have:
docker container running qgis-server (port 8081)
docker container running qwc2 (port 80)
docker container running mapstore (port 8080) (BTW: is that necessary?)
all currently not accessible from the internet

Success so far:
qwc2 starts and shows my theme and layers as well as background layers 
coming from another WMS-Server

No success with GetFeatureInfo (mouseover/click) in qwc2.
In config.json I see the entries:
"proxyUrl": "http://qwc2.sourcepole.ch/api/proxy?url=",
"qwc2serverUrl": "http://qwc2.sourcepole.ch/api/",
and firebug reveals that upon a click the GetFeatureInfo request is sent 
via this proxy (resulting in a 404 Not found error):
http://qwc2.sourcepole.ch/api/proxy?url=http://<container-ip>:8081....
I also see 404 errors in firebug with this URL: 
http://<container-ip>:8081/sockjs-node/info?t=1495094506093

Could anybody telll me, how to configure QWC2 in this respect? I did not 
find any information on config.json on the web.

Bernhard


__________ Information from ESET Mail Security, version of virus signature database 15434 (20170518) __________

The message was checked by ESET Mail Security.
http://www.eset.com




More information about the qgis-qwc2 mailing list