[GeoNode-users] Basemaps not showing up if printed

Florian Hoedt florian.hoedt at hs-owl.de
Thu Jan 7 06:43:24 PST 2016


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<mailto:florian.hoedt at hs-owl.de>
www.hs-owl.de/fb9<http://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<mailto: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<mailto:florian.hoedt at hs-owl.de>
www.hs-owl.de/fb9<http://www.hs-owl.de/fb9>

Von: Simone Dalmasso [mailto:simone.dalmasso at gmail.com<mailto:simone.dalmasso at gmail.com>]
Gesendet: Donnerstag, 7. Januar 2016 15:08
An: Florian Hoedt
Cc: geonode-users at lists.osgeo.org<mailto: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<mailto: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<http://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<mailto:florian.hoedt at hs-owl.de>
www.hs-owl.de/fb9<http://www.hs-owl.de/fb9>


_______________________________________________
geonode-users mailing list
geonode-users at lists.osgeo.org<mailto:geonode-users at lists.osgeo.org>
http://lists.osgeo.org/mailman/listinfo/geonode-users



--
Simone



--
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160107/4c6b419a/attachment-0001.html>


More information about the geonode-users mailing list