[Geoserver-users] Reg Help for Secured layers printing from public ip

Hi,

In GeoEXT mapfish print i get an error like this when using public ip in config.yaml

Error while generating PDF:
org.mapfish.print.InvalidJsonValueException: spec.layers[0].baseURL has an invalid value: http://hostname:port/geoserver/cmdagis/wms (spec.layers[0].baseURL has an invalid value: http://hostname:port/geoserver/workspace/wms)


Security:

  • !basicAuth
    Matcher: !dnsMatch

host: public ip
port: 80
username: abc
password: def
preemptive: true

what i have to change in config.yaml anything i missed out…when i give local ip it works fine for me…


Hi,
This may be better placed on the MapFish Print mailing list.
That said, I’ve never seen reference to a variable called “public ip” - and if there was one I’d expect it to have an underscrore and probably be:
${public_ip}

Cheers,
Jonathan

This transmission is intended for the named addressee(s) only and may contain confidential, sensitive or personal information and should be handled accordingly. Unless you are the named addressee (or authorised to receive it for the addressee) you may not copy or use it, or disclose it to anyone else. If you have received this transmission in error please notify the sender immediately. All email traffic sent to or from us, including without limitation all GCSX traffic, may be subject to recording and/or monitoring in accordance with relevant legislation.

···

On 13 May 2014 11:23, geo gis <gisgeoserver@anonymised.com> wrote:

Hi,

In GeoEXT mapfish print i get an error like this when using public ip in config.yaml

Error while generating PDF:
org.mapfish.print.InvalidJsonValueException: spec.layers[0].baseURL has an invalid value: http://hostname:port/geoserver/cmdagis/wms (spec.layers[0].baseURL has an invalid value: http://hostname:port/geoserver/workspace/wms)


Security:

  • !basicAuth
    Matcher: !dnsMatch

host: public ip
port: 80
username: abc
password: def
preemptive: true

what i have to change in config.yaml anything i missed out…when i give local ip it works fine for me…



“Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free.”
http://p.sf.net/sfu/SauceLabs


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users