[GeoNode-users] Mapfish Print 3 with Geonode

Sygnetzki, Silvio s.sygnetzki at atenekom.eu
Mon Sep 3 03:54:35 PDT 2018

Hello Alessio,
thanks fort he quick reply and sorry for my late one.
Since I’m using geonode in an docker environment with nginx as proxy I’m  not able to print anymore.
The Browser allways gets directed to this URL: http://geoserver:8080/geoserver/pdf/8208739530832200100.pdf.printout
If I set the proxyBaseUrl in the config.yaml of mapfish print 2 to proxyBaseUrl: http://myIP/geoserver/pdf I get a 504 Gateway Time-out  of nginx.
If i set it to proxyBaseUrl: http://myIP/geoserver  POST-request goes to and fails because of the missing „/pdf/“ with 404 – Not Found.

My nginx.config is set to the  following:
    listen 80;
    index index.html index.htm;
    root   /usr/share/nginx/html;

    location /geoserver {
      proxy_pass http://geoserver:8080;
      proxy_redirect     default;
      #proxy_set_header   Host $host;
      #proxy_set_header   X-Real-IP $remote_addr;
      client_max_body_size 100M;

Thank you very much!

Von: Alessio Fabiani <alessio.fabiani at geo-solutions.it>
Gesendet: Donnerstag, 16. August 2018 09:54
An: Silvio
Cc: geonode-users <geonode-users at lists.osgeo.org>
Betreff: Re: [GeoNode-users] Mapfish Print 3 with Geonode

Not that easy unfortunately. If you want to pass through GeoServer (as it is now) you will need to update the GeoServer Print Plugin in order to make it compatible with the new version of the MapFish library.

Alternatively, if you are not a Java coder, you might envisage the possibility of generating the PDFs directly from GeoNode through some Python extension.

In both cases, unfortunately, there's no easy way (as far as I know now) to achieve that.

Il giorno mer 15 ago 2018 alle ore 13:09  Silvio  ha scritto:
Hello everyone,
I would like to make use of Jasper Reports Templates and want to use MapFish print v3. I got the mapfish 3 standalone docker image up and working but don’t know how to connect geonoder / geoserver to it.
Have you guys any hints form me where to start?

Thanks in advance!

geonode-users mailing list
geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>



GeoServer Professional Services from the experts! Visit http://goo.gl/it488V for more information.
Ing. Alessio Fabiani

Founder/Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A - 55054  Massarosa (LU) - Italy
phone: +39 0584 962313
fax:     +39 0584 1660272
mob:   +39 331 6233686


Con riferimento alla normativa sul trattamento dei dati personali (Reg. UE 2016/679 - Regolamento generale sulla protezione dei dati “GDPR”), si precisa che ogni circostanza inerente alla presente email (il suo contenuto, gli eventuali allegati, etc.) è un dato la cui conoscenza è riservata al/i solo/i destinatario/i indicati dallo scrivente. Se il messaggio Le è giunto per errore, è tenuta/o a cancellarlo, ogni altra operazione è illecita. Le sarei comunque grato se potesse darmene notizia.

This email is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential or otherwise protected from disclosure. We remind that - as provided by European Regulation 2016/679 “GDPR” - copying, dissemination or use of this e-mail or the information herein by anyone other than the intended recipient is prohibited. If you have received this email by mistake, please notify us immediately by telephone or e-mail.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20180903/f4877c79/attachment-0001.html>

More information about the geonode-users mailing list