[GeoNode-users] Basemaps not showing up if printed
Simone Dalmasso
simone.dalmasso at gmail.com
Thu Jan 7 07:14:43 PST 2016
ok you got the issue.
you can try to sat the http_proxy sistemwide (in a .bashrc file?) and see
how goes. Alternatively here's the doc for the mapfish printing plugin (the
one we use in geoserver for printing) and you can see whether there's the
option to set a proxy in the printing.yaml file
http://www.mapfish.org/doc/print/configuration.html
2016-01-07 15:43 GMT+01:00 Florian Hoedt <florian.hoedt at hs-owl.de>:
> Ok this is interessting. From my terminal:
>
>
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
> user at geonode:~$ export http_proxy=http://proxy.hs-owl.de:80
>
> user at geonode:~$ export https_proxy=http://proxy.hs-owl.de:80
>
> user at geonode:~$ wget
> http://otile1.mqcdn.com/tiles/1.0.0/map/09/268/169.png
>
>
>
> --2016-01-07 15:40:34--
> http://otile1.mqcdn.com/tiles/1.0.0/map/09/268/169.png
>
> Auflösen des Hostnamen »proxy.hs-owl.de (proxy.hs-owl.de)«...
> 193.174.119.246, 2001:638:505:101::cafe
>
> Verbindungsaufbau zu proxy.hs-owl.de (proxy.hs-owl.de)|193.174.119.246|:80...
> verbunden.
>
> Proxy-Anforderung gesendet, warte auf Antwort... 200 OK
>
> Länge: 18406 (18K) [image/jpeg]
>
> In »»169.png«« speichern.
>
>
>
> 100%[======================================>] 18.406 --.-K/s in 0s
>
>
>
> 2016-01-07 15:40:34 (172 MB/s) - »»169.png«« gespeichert [18406/18406]
>
>
> ---------------------------------------------------------------------------------------------------------------------------------------------------
>
>
>
> After setting the http_proxy and https_proxy environmental variables
> everything worked. Without doing this it failed in the same way as via
> printing.
>
>
>
>
>
> mit freundlichen Grüßen
>
> Florian Hoedt
>
>
>
> B.Sc. Florian Hoedt
>
> Hochschule Ostwestfalen-Lippe / Campus Höxter
>
> FB 9 Landschaftsarchitektur und Umweltplanung
>
> An der Wilhelmshöhe 44
>
> 37671 Höxter
>
> Tel.: 05271-687-7478
>
> E-Mail: florian.hoedt at hs-owl.de
>
> www.hs-owl.de/fb9
>
>
>
> *Von:* Simone Dalmasso [mailto:simone.dalmasso at gmail.com]
> *Gesendet:* Donnerstag, 7. Januar 2016 15:36
>
> *An:* Florian Hoedt
> *Cc:* geonode-users at lists.osgeo.org
> *Betreff:* Re: [GeoNode-users] Basemaps not showing up if printed
>
>
>
> Ok,
>
>
>
> any chance that your server is under a proxy or something like this?
>
> You should check if your server is able to get one of those images, maybe
> logging in with ssh and do a wget on one of those addresses.
>
>
>
> 2016-01-07 15:31 GMT+01:00 Florian Hoedt <florian.hoedt at hs-owl.de>:
>
> Here is he log:
>
> http://pastebin.com/zTvT0cLS
>
>
>
> The errors are listed at line 2419
>
> 2016-01-07 15:23:48,993 ERROR [print.PDFUtils] - Server returned an error
> for http://otile1.mqcdn.com/tiles/1.0.0/map/09/268/169.png:
> Verbindungsaufbau abgelehnt
>
> 2016-01-07 15:23:48,993 ERROR [print.PDFUtils] - Server returned an error
> for http://otile1.mqcdn.com/tiles/1.0.0/map/09/268/170.png:
> Verbindungsaufbau abgelehnt
>
> 2016-01-07 15:23:48,994 ERROR [print.PDFCustomBlocks] - Error while adding
> a PDF elementjava.io.IOException: Verbindungsaufbau abgelehnt
>
>
>
> Where “Verbindungsaufbau abgelehnt“ translates to „connection refused“.
>
>
>
>
>
> mit freundlichen Grüßen
>
> Florian Hoedt
>
>
>
> B.Sc. Florian Hoedt
>
> Hochschule Ostwestfalen-Lippe / Campus Höxter
>
> FB 9 Landschaftsarchitektur und Umweltplanung
>
> An der Wilhelmshöhe 44
>
> 37671 Höxter
>
> Tel.: 05271-687-7478
>
> E-Mail: florian.hoedt at hs-owl.de
>
> www.hs-owl.de/fb9
>
>
>
> *Von:* Simone Dalmasso [mailto:simone.dalmasso at gmail.com]
> *Gesendet:* Donnerstag, 7. Januar 2016 15:08
> *An:* Florian Hoedt
> *Cc:* geonode-users at lists.osgeo.org
> *Betreff:* Re: [GeoNode-users] Basemaps not showing up if printed
>
>
>
> Hi Florian,
>
>
>
> could you post the stacktrace on a pastebin site?
>
>
>
>
>
> 2016-01-07 12:09 GMT+01:00 Florian Hoedt <florian.hoedt at hs-owl.de>:
>
> Hello list,
>
> If I print a map the basemap will not get drawed – but will show up on the
> geoexplorer web view. It tells me there is a java.io error and connection
> issue on the pdf file.
>
> My settings are:
>
> Geoserver ProxyBase URL:
>
> http://geonode.aes.hs-owl.de/geoserver
>
>
>
> Any hints where to look?
>
>
>
>
>
> mit freundlichen Grüßen
>
> Florian Hoedt
>
>
>
> B.Sc. Florian Hoedt
>
> Hochschule Ostwestfalen-Lippe / Campus Höxter
>
> FB 9 Landschaftsarchitektur und Umweltplanung
>
> An der Wilhelmshöhe 44
>
> 37671 Höxter
>
> Tel.: 05271-687-7478
>
> E-Mail: florian.hoedt at hs-owl.de
>
> www.hs-owl.de/fb9
>
>
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
>
>
>
> --
>
> Simone
>
>
>
>
>
> --
>
> Simone
>
--
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160107/bbbee7ce/attachment.html>
More information about the geonode-users
mailing list