Hi

Thanks for the kind reply

When I do in terminal mode on the same server I get result as below which
probably means it is accessible locally..


links https://www.gisdomain.com:8080/geoserver/domain/wms?
BBOX=8187100.555667659%2C655843.5302431142%2C9245433.863162776%2C1802371.
2994081532&WIDTH=1667&HEIGHT=1806&format_options=dpi%3A100&
map_resolution=100&FORMAT=image%2Fpng&REQUEST=GetMap&
SRS=EPSG%3A3857&VERSION=1.1.1&STYLES=&SERVICE=WMS&DPI=100&
transparent=true&LAYERS=domain%3Alayer1

[1] 23594
[2] 23595
[3] 23596
[4] 23597
[5] 23598
[6] 23599
[7] 23600
[8] 23601
[9] 23602
[10] 23603
[11] 23604
[12] 23605
[13] 23606
[2]   Done                    WIDTH=1667
[3]   Done                    HEIGHT=1806
[4]   Done                    format_options=dpi%3A100
[5]   Done                    map_resolution=100
[6]   Done                    FORMAT=image%2Fpng
[7]   Done                    REQUEST=GetMap
[8]   Done                    SRS=EPSG%3A3857
[9]   Done                    VERSION=1.1.1
[10]   Done                    STYLES=
[11]   Done                    SERVICE=WMS
[12]-  Done                    DPI=100



On Thu, Dec 15, 2016 at 4:55 PM, Mauro Bartolomeoli <
maurobartolome...@gmail.com> wrote:

> Hi,
> it looks like the following url is not reachable by the server itself:
> https://www.gisdomain.com:8080/geoserver/domain/wms?
> BBOX=8187100.555667659%2C655843.5302431142%2C9245433.863162776%2C1802371.
> 2994081532&WIDTH=1667&HEIGHT=1806&format_options=dpi%3A100&
> map_resolution=100&FORMAT=image%2Fpng&REQUEST=GetMap&
> SRS=EPSG%3A3857&VERSION=1.1.1&STYLES=&SERVICE=WMS&DPI=100&
> transparent=true&LAYERS=domain%3Alayer1
>
> Is this the same geoserver where the printing service is installed. Is it
> reachable from the GeoServer host?
>
> Regards,
> Mauro
>
>
> 2016-12-15 12:00 GMT+01:00 Mahalakshmi Narayanan <mhl...@gmail.com>:
>
>> Dear All
>>
>> We get 404 - Not found errors when we try to enable print option from
>> OpenLayers / Leaflet on CentOS through Post method.  However, we are
>> getting print through Get method.
>>
>> Our environment is as follows:
>>
>> GeoServer version is 2.8 on CentOS - Tomcat 7.0.67
>> PHP - 5.5.36;  Apache with SSL
>>
>> Config.yaml for security / hosts related section are:
>>
>> ----------------------------------
>> hosts:
>>   - !localMatch
>>     dummy: true
>>
>> Security:
>>   - !basicAuth
>>     matcher: !dnsMatch
>>       host: www.gisdomain.com
>>       port: 8080
>>     username: xyz
>>     password: abcd
>>     preemptive: true
>>
>> hosts:
>>   - !dnsMatch
>>     host: www.gisdomain.com
>> ----------------------------
>>
>> Geoerver log gives the following
>>
>> ----------------------
>> 2016-11-25 17:47:17,669 WARN [yaml.CustomBeanWrapper] - Config: unknown
>> field 'Security' with value '[org.mapfish.print.config.Bas
>> icAuthSecurity@55c37192]'
>> 2016-11-25 17:47:17,674 WARN [yaml.CustomBeanWrapper] - ColumnsBlock:
>> unknown field 'height' with value '150'
>> 2016-11-25 17:47:17,681 WARN [yaml.CustomBeanWrapper] - ColumnsBlock:
>> unknown field 'height' with value '100'
>> 2016-11-25 17:47:17,702 WARN [servlet.PageNotFound] - No mapping found
>> for HTTP request with URI [/geoserver/domain/wms] in DispatcherServlet with
>> name 'dispatcher'
>> 2016-11-25 17:47:17,712 WARN [servlet.PageNotFound] - No mapping found
>> for HTTP request with URI [/geoserver/domain/wms] in DispatcherServlet with
>> name 'dispatcher'
>> 2016-11-25 17:47:17,714 ERROR [print.PDFUtils] - Server returned an error
>> for https://www.gisdomain.com:8080/geoserver/domain/wms?BBOX=818
>> 7100.555667659%2C655843.5302431142%2C9245433.863162776%2C180
>> 2371.2994081532&WIDTH=1667&HEIGHT=1806&format_options=dpi
>> %3A100&map_resolution=100&FORMAT=image%2Fpng&REQUEST=GetMap&
>> SRS=EPSG%3A3857&VERSION=1.1.1&STYLES=&SERVICE=WMS&DPI=100&
>> transparent=true&LAYERS=domain%3Alayer1: Error (status=404) while
>> reading the image from https://www.gisdomain.com:8080
>> /geoserver/domain/wms?BBOX=8187100.555667659%2C655843.530243
>> 1142%2C9245433.863162776%2C1802371.2994081532&WIDTH=1667&
>> HEIGHT=1806&format_options=dpi%3A100&map_resolution=100&FORM
>> AT=image%2Fpng&REQUEST=GetMap&SRS=EPSG%3A3857&VERSION=1.1.1&
>> STYLES=&SERVICE=WMS&DPI=100&transparent=true&LAYERS=domain%3Alayer1: Not
>> Found
>> 2016-11-25 17:47:17,715 ERROR [print.PDFCustomBlocks] - Error while
>> adding a PDF elementjava.io.IOException: Error (status=404) while reading
>> the image from https://www.gisdomain.com:8080
>> /geoserver/domain/wms?BBOX=8187100.555667659%2C655843.530243
>> 1142%2C9245433.863162776%2C1802371.2994081532&WIDTH=1667&
>> HEIGHT=1806&format_options=dpi%3A100&map_resolution=100&FORM
>> AT=image%2Fpng&REQUEST=GetMap&SRS=EPSG%3A3857&VERSION=1.1.1&
>> STYLES=&SERVICE=WMS&DPI=100&transparent=true&LAYERS=domain%3Alayer1: Not
>> Found
>> 2016-11-25 17:47:17,835 WARN [yaml.CustomBeanWrapper] - Config: unknown
>> field 'Security' with value '[org.mapfish.print.config.Bas
>> icAuthSecurity@3b55c5e7]'
>> 2016-11-25 17:47:17,841 WARN [yaml.CustomBeanWrapper] - ColumnsBlock:
>> unknown field 'height' with value '150'
>> 2016-11-25 17:47:17,852 WARN [yaml.CustomBeanWrapper] - ColumnsBlock:
>> unknown field 'height' with value '100'
>> 2016-11-25 17:47:30,536 WARN [servlet.PageNotFound] - No mapping found
>> for HTTP request with URI [/geoserver/domain/wms] in DispatcherServlet with
>> name 'dispatcher'
>>
>> ----------------------------------------
>>
>> Chennai and adjacent districts have been devasted due to Vardha
>> cyclone..  Any help to resolve the error would be highly appreciated, pls.
>>
>>
>> --
>> With kind regards,
>> Mahalakshmi Narayanan
>>
>> ------------------------------------------------------------
>> ------------------
>> Check out the vibrant tech community on one of the world's most
>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>> _______________________________________________
>> Geoserver-users mailing list
>> Geoserver-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>>
>>
>


-- 
With kind regards,
Vilasini Narayanan
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most 
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to