Below are the entries in the log file. I don’t get any message that pops up. 
The pdf is created with a footnote that contains the second entry from the log 
file. Could this be a permissions issue? Is there a way to pass user name and 
password with the call?

2016-12-09 08:11:53,971 ERROR [print.PDFUtils] - Server returned an error for 
https://xxxxx/wms?BBOX=93.59662362617522%2C-42.08234015699224%2C93.6671763738248%2C-41.97925984300776&HEIGHT=2375&WIDTH=1626&map_resolution=190&VERSION=1.1.1&FORMAT=image%2Fjpeg&SERVICE=WMS&format_options=dpi%3A190&LAYERS=
 iowasections&REQUEST=GetMap&STYLES=&DPI=190&SRS=EPSG%3A4326: Error 
(status=401) while reading the image from https:// xxxxx 
/wms?BBOX=93.59662362617522%2C-42.08234015699224%2C93.6671763738248%2C-41.97925984300776&HEIGHT=2375&WIDTH=1626&map_resolution=190&VERSION=1.1.1&FORMAT=image%2Fjpeg&SERVICE=WMS&format_options=dpi%3A190&LAYERS=
 iowasections&REQUEST=GetMap&STYLES=&DPI=190&SRS=EPSG%3A4326: Unauthorized

2016-12-09 08:11:53,971 ERROR [print.PDFCustomBlocks] - Error while adding a 
PDF elementjava.io.IOException: Error (status=401) while reading the image from 
https:// xxxxx 
/wms?BBOX=93.59662362617522%2C-42.08234015699224%2C93.6671763738248%2C-41.97925984300776&HEIGHT=2375&WIDTH=1626&map_resolution=190&VERSION=1.1.1&FORMAT=image%2Fjpeg&SERVICE=WMS&format_options=dpi%3A190&LAYERS=
 iowasections&REQUEST=GetMap&STYLES=&DPI=190&SRS=EPSG%3A4326: Unauthorized


Josh Obrecht, GISP
GIS Support and Research Facility
Iowa State University
213 Durham Center
613 Morrill Rd
Ames, IA  50011
515-294-6990
[email protected]

From: [email protected] [mailto:[email protected]] On Behalf Of Andrea 
Aime
Sent: Friday, December 09, 2016 5:02 AM
To: Obrecht, Joshua D [DSN] <[email protected]>
Cc: [email protected]
Subject: Re: [Geoserver-users] Unauthorized Service

Hi,
you should provide more details, like, the exact message you get, any error 
that might pop up
in the geoserver.log file when the request is made, and so on

Cheers
Andrea

On Thu, Dec 1, 2016 at 3:28 PM, Obrecht, Joshua D [DSN] 
<[email protected]<mailto:[email protected]>> wrote:
I am trying to print a pdf through GeoServer. When I pass a layer from a 
service on the same server, the pdf populates with a message saying that the 
link is unauthorized. I have placed the localMatch dummy line into my yaml. I 
have also passed a valid user name and password when prompted. Is there 
something else that is needed in the yaml?

Josh Obrecht, GISP
GIS Support and Research Facility
Iowa State University
213 Durham Center
613 Morrill Rd
Ames, IA  50011
515-294-6990<tel:(515)%20294-6990>
[email protected]<mailto:[email protected]>


------------------------------------------------------------------------------

_______________________________________________
Geoserver-users mailing list
[email protected]<mailto:[email protected]>
https://lists.sourceforge.net/lists/listinfo/geoserver-users



--
==
GeoServer Professional Services from the experts! Visit
http://goo.gl/it488V for more information.
==

Ing. Andrea Aime
@geowolf
Technical Lead

GeoSolutions S.A.S.
Via di Montramito 3/A
55054  Massarosa (LU)
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39  339 8844549

http://www.geo-solutions.it
http://twitter.com/geosolutions_it


AVVERTENZE AI SENSI DEL D.Lgs. 196/2003

Le informazioni contenute in questo messaggio di posta elettronica e/o nel/i 
file/s allegato/i sono da considerarsi strettamente riservate. Il loro utilizzo 
è consentito esclusivamente al destinatario del messaggio, per le finalità 
indicate nel messaggio stesso. Qualora riceviate questo messaggio senza esserne 
il destinatario, Vi preghiamo cortesemente di darcene notizia via e-mail e di 
procedere alla distruzione del messaggio stesso, cancellandolo dal Vostro 
sistema. Conservare il messaggio stesso, divulgarlo anche in parte, 
distribuirlo ad altri soggetti, copiarlo, od utilizzarlo per finalità diverse, 
costituisce comportamento contrario ai principi dettati dal D.Lgs. 196/2003.



The information in this message and/or attachments, is intended solely for the 
attention and use of the named addressee(s) and may be confidential or 
proprietary in nature or covered by the provisions of privacy act (Legislative 
Decree June, 30 2003, no.196 - Italy's New Data Protection Code).Any use not in 
accord with its purpose, any disclosure, reproduction, copying, distribution, 
or either dissemination, either whole or partial, is strictly forbidden except 
previous formal approval of the named addressee(s). If you are not the intended 
recipient, please contact immediately the sender by telephone, fax or e-mail 
and delete the information in this message that has been received in error. The 
sender does not give any warranty or accept liability as the content, accuracy 
or completeness of sent messages and accepts no responsibility  for changes 
made after they were sent or for other risks which arise as a result of e-mail 
transmission, viruses, etc.

-------------------------------------------------------
------------------------------------------------------------------------------
Developer Access Program for Intel Xeon Phi Processors
Access to Intel Xeon Phi processor-based developer platforms.
With one year of Intel Parallel Studio XE.
Training and support from Colfax.
Order your platform today.http://sdm.link/xeonphi
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to