[Geoserver-users] Clustered GeoServer on tomcat with load balance on IIS

Hello List,

I tried to make such GeoServer High Availability Set as in this link: http://goo.gl/Hd6F5

Everything works ok except tiled layers .

I tried with default sample layer topp:tasmania_cities.

On separate instances this tiled layer is displayed with no problems.

http://192.168.1.17:8080/geoserver/gwc/demo/topp:tasmania_cities?gridSet=EPSG:4326&format=image/png

http://192.168.1.17:8081/geoserver/gwc/demo/topp:tasmania_cities?gridSet=EPSG:4326&format=image/png

But if I try to view this layer through load balanced on IIS

http://192.168.1.17/geoserver/gwc/demo/topp:tasmania_cities?gridSet=EPSG:4326&format=image/png

I get

Server Error in ‘/’ Application.

A potentially dangerous Request.Path value was detected from the client (:).

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: A potentially dangerous Request.Path value was detected from the client (:).

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): A potentially dangerous Request.Path value was detected from the client (:).]

System.Web.HttpRequest.ValidateInputIfRequiredByConfig() +710

System.Web.PipelineStepManager.ValidateHelper(HttpContext context) +184

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

If I try a group layer (request does not contains „:“) everything work fine too.

I tried to put the following config to web.config of jakarta virtual directory, but no success.

<system.web>

</system.web>

Maybe I missed something?

Thank you for any help.

Sincerely,

Paulius Litvinas

GIS Projects Consultant, “InfoEra” JSC


Mobile: +370 656 10089

Phone: (+370 5) 278 84 56

Fax: (+370 5) 278 47 23

paulius@anonymised.com

S. Zukausko str. 17, LT-08234,

Vilnius, Lithuania

cid:image001.jpg@anonymised.com

www.infoera.com

Ciao Paulius,
I honestly never saw that error myself.
I guess you’ll have to fiddle with the IIS configuration and its security settings.

image001.jpg

···

Regards,
Simone Giannecchini

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

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


On Thu, Aug 29, 2013 at 9:32 AM, Paulius Litvinas <paulius@anonymised.com> wrote:

Hello List,

I tried to make such GeoServer High Availability Set as in this link: http://goo.gl/Hd6F5

Everything works ok except tiled layers .

I tried with default sample layer topp:tasmania_cities.

On separate instances this tiled layer is displayed with no problems.

http://192.168.1.17:8080/geoserver/gwc/demo/topp:tasmania_cities?gridSet=EPSG:4326&format=image/png

http://192.168.1.17:8081/geoserver/gwc/demo/topp:tasmania_cities?gridSet=EPSG:4326&format=image/png

But if I try to view this layer through load balanced on IIS

http://192.168.1.17/geoserver/gwc/demo/topp:tasmania_cities?gridSet=EPSG:4326&format=image/png

I get

Server Error in ‘/’ Application.

A potentially dangerous Request.Path value was detected from the client (:).

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: A potentially dangerous Request.Path value was detected from the client (:).

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): A potentially dangerous Request.Path value was detected from the client (:).]

System.Web.HttpRequest.ValidateInputIfRequiredByConfig() +710

System.Web.PipelineStepManager.ValidateHelper(HttpContext context) +184

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

If I try a group layer (request does not contains „:“) everything work fine too.

I tried to put the following config to web.config of jakarta virtual directory, but no success.

<system.web>

</system.web>

Maybe I missed something?

Thank you for any help.

Sincerely,

Paulius Litvinas

GIS Projects Consultant, “InfoEra” JSC


Mobile: +370 656 10089

Phone: (+370 5) 278 84 56

Fax: (+370 5) 278 47 23

paulius@anonymised.com

S. Zukausko str. 17, LT-08234,

Vilnius, Lithuania

cid:image001.jpg@anonymised.com

www.infoera.com


Learn the latest–Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk


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

I found the problem – it was due to .NET version for DefaulAplication pool as virtual directory inherits it from Aplication. I changed it to 2.0 and this solved the problem.

Paul

From: Simone Giannecchini [mailto:simone.giannecchini@anonymised.com]
Sent: Thursday, August 29, 2013 1:07 PM
To: Paulius Litvinas
Cc: geoserver-users
Subject: Re: [Geoserver-users] Clustered GeoServer on tomcat with load balance on IIS

Ciao Paulius,

I honestly never saw that error myself.

I guess you’ll have to fiddle with the IIS configuration and its security settings.

Regards,
Simone Giannecchini

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

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


On Thu, Aug 29, 2013 at 9:32 AM, Paulius Litvinas <paulius@anonymised.com> wrote:

Hello List,

I tried to make such GeoServer High Availability Set as in this link: http://goo.gl/Hd6F5

Everything works ok except tiled layers .

I tried with default sample layer topp:tasmania_cities.

On separate instances this tiled layer is displayed with no problems.

http://192.168.1.17:8080/geoserver/gwc/demo/topp:tasmania_cities?gridSet=EPSG:4326&format=image/png

http://192.168.1.17:8081/geoserver/gwc/demo/topp:tasmania_cities?gridSet=EPSG:4326&format=image/png

But if I try to view this layer through load balanced on IIS

http://192.168.1.17/geoserver/gwc/demo/topp:tasmania_cities?gridSet=EPSG:4326&format=image/png

I get

Server Error in ‘/’ Application.

A potentially dangerous Request.Path value was detected from the client (:).

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: A potentially dangerous Request.Path value was detected from the client (:).

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): A potentially dangerous Request.Path value was detected from the client (:).]

System.Web.HttpRequest.ValidateInputIfRequiredByConfig() +710

System.Web.PipelineStepManager.ValidateHelper(HttpContext context) +184

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

If I try a group layer (request does not contains „:“) everything work fine too.

I tried to put the following config to web.config of jakarta virtual directory, but no success.

<system.web>

</system.web>

Maybe I missed something?

Thank you for any help.

Sincerely,

Paulius Litvinas

GIS Projects Consultant, “InfoEra” JSC


Mobile: +370 656 10089

Phone: (+370 5) 278 84 56

Fax: (+370 5) 278 47 23

paulius@anonymised.com

S. Zukausko str. 17, LT-08234,

Vilnius, Lithuania

cid:image001.jpg@anonymised.com

www.infoera.com


Learn the latest–Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk


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

Ciao Paulius,
thanks for reporting this to the list.

image001.jpg

···

Regards,
Simone Giannecchini

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

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


On Mon, Sep 2, 2013 at 1:47 PM, Paulius Litvinas <paulius@anonymised.com> wrote:

I found the problem – it was due to .NET version for DefaulAplication pool as virtual directory inherits it from Aplication. I changed it to 2.0 and this solved the problem.

Paul

From: Simone Giannecchini [mailto:simone.giannecchini@anonymised.com]
Sent: Thursday, August 29, 2013 1:07 PM
To: Paulius Litvinas
Cc: geoserver-users
Subject: Re: [Geoserver-users] Clustered GeoServer on tomcat with load balance on IIS

Ciao Paulius,

I honestly never saw that error myself.

I guess you’ll have to fiddle with the IIS configuration and its security settings.

Regards,
Simone Giannecchini

Our support, Your Success! Visit http://opensdi.geo-solutions.it for more information.

Ing. Simone Giannecchini
@simogeo
Founder/Director

GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 333 8128928

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


On Thu, Aug 29, 2013 at 9:32 AM, Paulius Litvinas <paulius@anonymised.com> wrote:

Hello List,

I tried to make such GeoServer High Availability Set as in this link: http://goo.gl/Hd6F5

Everything works ok except tiled layers .

I tried with default sample layer topp:tasmania_cities.

On separate instances this tiled layer is displayed with no problems.

http://192.168.1.17:8080/geoserver/gwc/demo/topp:tasmania_cities?gridSet=EPSG:4326&format=image/png

http://192.168.1.17:8081/geoserver/gwc/demo/topp:tasmania_cities?gridSet=EPSG:4326&format=image/png

But if I try to view this layer through load balanced on IIS

http://192.168.1.17/geoserver/gwc/demo/topp:tasmania_cities?gridSet=EPSG:4326&format=image/png

I get

Server Error in ‘/’ Application.

A potentially dangerous Request.Path value was detected from the client (:).

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Web.HttpException: A potentially dangerous Request.Path value was detected from the client (:).

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:

[HttpException (0x80004005): A potentially dangerous Request.Path value was detected from the client (:).]

System.Web.HttpRequest.ValidateInputIfRequiredByConfig() +710

System.Web.PipelineStepManager.ValidateHelper(HttpContext context) +184

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

If I try a group layer (request does not contains „:“) everything work fine too.

I tried to put the following config to web.config of jakarta virtual directory, but no success.

<system.web>

</system.web>

Maybe I missed something?

Thank you for any help.

Sincerely,

Paulius Litvinas

GIS Projects Consultant, “InfoEra” JSC


Mobile: +370 656 10089

Phone: (+370 5) 278 84 56

Fax: (+370 5) 278 47 23

paulius@anonymised.com

S. Zukausko str. 17, LT-08234,

Vilnius, Lithuania

cid:image001.jpg@anonymised.com

www.infoera.com


Learn the latest–Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk


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


Learn the latest–Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk


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