Re: [Geoserver-users] Getting Http 400 bad request in Geoserver-UI

2020-04-21 Thread sulu
Ok. Got it.

One hat to add a whitelist for CRSF-Protection in
[Path-to-Geoserver]geoserver/WEB-INF/web.xml

e.g.


  GEOSERVER_CSRF_WHITELIST
  someserver.xx.yy.zz





--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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


Re: [Geoserver-users] Getting Http 400 bad request in Geoserver-UI

2020-04-21 Thread sulu
vfonseca.

Intersting idea. But we have Geonetwork running on the same Tomcat and it
doesnt shows any Code 400. 
I think it has something to do with Geoserver-Config. 

After turning off GEOSERVER_CSRF_Protection everything works again.


   GEOSERVER_CSRF_DISABLED
   true



So. How to turn it on again, but without it blocking the Web-Server?

Andy






--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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


Re: [Geoserver-users] Getting Http 400 bad request in Geoserver-UI

2020-04-21 Thread Vitor Fonseca
maybe you could also add a filter to tomcat configuration

 
  CorsFilter
  org.apache.catalina.filters.CorsFilter
  
cors.allowed.origins
http://

  


  CorsFilter
  /*


sulu  escreveu no dia terça, 21/04/2020 à(s)
10:38:

> Ok.
>
> I added
>
> 
>  Application 2.3//EN
> http://java.sun.com/dtd/web-app_2_3.dtd;>
> 
> GeoServer
> 
> GEOSERVER_CSRF_WHITELIST
> 10.176.0.178
> 
> 
>
>
> to my web.xml
>
> But it GS refuses to cooperate Bad request 400 .
>
> 10.176.0.178 - - [21/Apr/2020:11:04:32 +0200] "POST
>
> /geoserver/web/wicket/bookmarkable/org.geoserver.web.data.workspace.WorkspaceEditPage?6-1.IFormSubmitListener-form=ausprobieren
> HTTP/1.1" *400* 1186
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> Sent from:
> http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
>
>
> ___
> Geoserver-users mailing list
>
> Please make sure you read the following two resources before posting to
> this list:
> - Earning your support instead of buying it, but Ian Turton:
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines:
> http://geoserver.org/comm/userlist-guidelines.html
>
> If you want to request a feature or an improvement, also see this:
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
>
>
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users
>


-- 

www.vfonsecaz.pt
___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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


Re: [Geoserver-users] Getting Http 400 bad request in Geoserver-UI

2020-04-21 Thread sulu
Ok.

I added 


http://java.sun.com/dtd/web-app_2_3.dtd;>

GeoServer

GEOSERVER_CSRF_WHITELIST
10.176.0.178




to my web.xml

But it GS refuses to cooperate Bad request 400 .

10.176.0.178 - - [21/Apr/2020:11:04:32 +0200] "POST
/geoserver/web/wicket/bookmarkable/org.geoserver.web.data.workspace.WorkspaceEditPage?6-1.IFormSubmitListener-form=ausprobieren
HTTP/1.1" *400* 1186








 




--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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


Re: [Geoserver-users] Getting Http 400 bad request in Geoserver-UI

2020-04-21 Thread sulu
Hi Russ.

Interesting setup.
Load balacing might become an agenda hiere because of INSPIRE-Harmonization
demands.

But i think for my trouble this is most relevant.

  GEOSERVER_CSRF_WHITELIST
  IP OF MY APACHE/PHYSICAL SERVER
 

I'll put this with the IP of my Apache in web.xml an give ist a go.

Thanks to all off you!
I didnt expect such a response 


Andy



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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


Re: [Geoserver-users] Getting Http 400 bad request in Geoserver-UI

2020-04-21 Thread Russ Hore
As a learning exercise I also have another physical box running three VMs each 
with Tomcat/Geoserver

Apache on the second physical server has the following in the site.conf file



  

ProxyRequests Off

ProxyPass /geoserver balancer://gscluster stickysession=JSESSIONID
ProxyPassReverse /geoserver balancer://gscluster stickysession=JSESSIONID

RequestHeader set Authorization "Basic EncryptedUsername:Password"


  BalancerMember http://IP of 1st VM on SECOND physical 
server:8080/geoserver route=1
  BalancerMember http://IP of 2nd VM on SECOND physical 
server:8080/geoserver route=2
  BalancerMember http://IP of 3rd VM on SECOND physical 
server:8080/geoserver route=3
  BalancerMember http://IP of FIRST physical server/geoserver route=4


  Order allow,deny
  Allow from all
  ProxyPass balancer://gscluster


  




> On 21 Apr 2020, at 09:30, sulu  wrote:
> 
> Hi Russ
> 
> Yes, Proxy base url is set.
> 
> Do you use something similar to
> ProxyPass /geoserver http://:8900/geoserver
> to redirect Geoserver-Requests from Apache to Tomcat?
> 
> Andy
> 
> 
> 
> 
> 
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
> 
> 
> ___
> Geoserver-users mailing list
> 
> Please make sure you read the following two resources before posting to this 
> list:
> - Earning your support instead of buying it, but Ian Turton: 
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: 
> http://geoserver.org/comm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: 
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
> 
> 
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users

___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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


Re: [Geoserver-users] Getting Http 400 bad request in Geoserver-UI

2020-04-21 Thread Russ Hore
Hi Sulu,

I have a couple of VMs running tomcat/geoserver. Apache runs on the physical 
server and load balances between the two VMs. I know it might not be the best 
set up but it is something for me to learn from.

In each VMs geoserver web.xml I have


  GEOSERVER_CSRF_WHITELIST
  IP OF MY APACHE/PHYSICAL SERVER

If I understand it all correctly, as far as each geoserver is concerned, this 
is the IP the requests are coming from

In my sites-enables/site.conf I have


  

ProxyRequests Off

ProxyPass /geoserver balancer://gscluster stickysession=JSESSIONID
ProxyPassReverse /geoserver balancer://gscluster stickysession=JSESSIONID
RequestHeader set Authorization "Basic encryptedpassword"


  BalancerMember http://IPADDRESS1:8080/geoserver route=1
  BalancerMember http://IPADDRESS2:8080/geoserver route=2


  Order allow,deny
  Allow from all
  ProxyPass balancer://gscluster


  


Russ

> On 21 Apr 2020, at 09:30, sulu  wrote:
> 
> Hi Russ
> 
> Yes, Proxy base url is set.
> 
> Do you use something similar to
> ProxyPass /geoserver http://:8900/geoserver
> to redirect Geoserver-Requests from Apache to Tomcat?
> 
> Andy
> 
> 
> 
> 
> 
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
> 
> 
> ___
> Geoserver-users mailing list
> 
> Please make sure you read the following two resources before posting to this 
> list:
> - Earning your support instead of buying it, but Ian Turton: 
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: 
> http://geoserver.org/comm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: 
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
> 
> 
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users



___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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


Re: [Geoserver-users] Getting Http 400 bad request in Geoserver-UI

2020-04-21 Thread sulu
Hi Russ

Yes, Proxy base url is set.

Do you use something similar to
ProxyPass /geoserver http://:8900/geoserver
to redirect Geoserver-Requests from Apache to Tomcat?

Andy





--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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


Re: [Geoserver-users] Getting Http 400 bad request in Geoserver-UI

2020-04-21 Thread sulu
Hi Russ.

Thanks for your suggestion.

Do you mean:
General settings/OGC Services/Service Settings/Proxy URL ?

I have set that to: 
http://[hostname]/geoserver


Andy





--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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


Re: [Geoserver-users] Getting Http 400 bad request in Geoserver-UI

2020-04-21 Thread Russ Hore
Have you set the BaseProxy in Geoserver?

I have GS in Tomcat  9 behind Apache and some forms do not work unless you set 
the base proxy.

Russ

> On 21 Apr 2020, at 07:10, sulu  wrote:
> 
> Hmmm.
> 
> I found something in localhost_access_log.
> All Submit-calls have a problem if not called directly from Tomcat.
> Is there a security-setting for submits i am not aware of?
> 
> Example:
> My local IP: 1.1.1.1
> Apache Ip: 2.2.2.2
> 
> Geoserver ist called from my local IP 1.1.1.1
> 
> Call via Apache leads to Code 400.
> 2.2.2.2 - - [21/Apr/2020:07:58:51 +0200] "POST
> /geoserver/web/wicket/bookmarkable/org.geoserver.web.data.layer.LayerPage?9-1.IBehaviorListener.0-table-filterForm-submit
> HTTP/1.1" 400 1186
> 
> Bypassing Apache leads to Code 200
> 1.1.1.1 - - [21/Apr/2020:07:59:33 +0200] "POST
> /geoserver/web/wicket/bookmarkable/org.geoserver.web.data.layer.LayerPage?9-2.IBehaviorListener.0-table-filterForm-submit
> HTTP/1.1" 200 1629
> 
> 
> 
> 
> 
> 
> 
> --
> Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html
> 
> 
> ___
> Geoserver-users mailing list
> 
> Please make sure you read the following two resources before posting to this 
> list:
> - Earning your support instead of buying it, but Ian Turton: 
> http://www.ianturton.com/talks/foss4g.html#/
> - The GeoServer user list posting guidelines: 
> http://geoserver.org/comm/userlist-guidelines.html
> 
> If you want to request a feature or an improvement, also see this: 
> https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer
> 
> 
> Geoserver-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geoserver-users



___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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


Re: [Geoserver-users] Getting Http 400 bad request in Geoserver-UI

2020-04-21 Thread sulu
Hmmm.

I found something in localhost_access_log.
All Submit-calls have a problem if not called directly from Tomcat.
Is there a security-setting for submits i am not aware of?

Example:
My local IP: 1.1.1.1
Apache Ip: 2.2.2.2

Geoserver ist called from my local IP 1.1.1.1

Call via Apache leads to Code 400.
2.2.2.2 - - [21/Apr/2020:07:58:51 +0200] "POST
/geoserver/web/wicket/bookmarkable/org.geoserver.web.data.layer.LayerPage?9-1.IBehaviorListener.0-table-filterForm-submit
HTTP/1.1" 400 1186

Bypassing Apache leads to Code 200
1.1.1.1 - - [21/Apr/2020:07:59:33 +0200] "POST
/geoserver/web/wicket/bookmarkable/org.geoserver.web.data.layer.LayerPage?9-2.IBehaviorListener.0-table-filterForm-submit
HTTP/1.1" 200 1629







--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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


Re: [Geoserver-users] Getting Http 400 bad request in Geoserver-UI

2020-04-20 Thread Humphries, Graham
I wouldn't worry about it. We have all been there

-Original Message-
From: sulu [mailto:andreas.sie...@vorarlberg.at]
Sent: Tuesday, 21 April 2020 3:27 PM
To: geoserver-users@lists.sourceforge.net
Subject: Re: [Geoserver-users] Getting Http 400 bad request in Geoserver-UI

Sometimes i have to wonder about myself.

Just too stupid!

GS is then published via ProxyPass in Apache.
ProxyPass /geonetwork http://localhost:8900/geoserver ProxyPassReverse 
/geonetwork http://localhost:8900/geoserver



--
Sent from: 
https://aus01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fosgeo-org.1560.x6.nabble.com%2FGeoServer-User-f3786390.htmldata=02%7C01%7CGraham.Humphries%40stategrowth.tas.gov.au%7C66c1877576c64aa6d1e208d7e5b4dd0c%7C64ebab8accf44b5ca2d32b4e972d96b2%7C0%7C0%7C637230437303005424sdata=%2FnG7W9oCRCb8785MxF9xrboseHgch2ozW1kmkpE4hrA%3Dreserved=0


___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
https://aus01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ianturton.com%2Ftalks%2Ffoss4g.html%23%2Fdata=02%7C01%7CGraham.Humphries%40stategrowth.tas.gov.au%7C66c1877576c64aa6d1e208d7e5b4dd0c%7C64ebab8accf44b5ca2d32b4e972d96b2%7C0%7C0%7C637230437303005424sdata=atwiv7KKdjb0Hv04SFo6TI5ZorKJKET8LEkRE72KScE%3Dreserved=0
- The GeoServer user list posting guidelines: 
https://aus01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgeoserver.org%2Fcomm%2Fuserlist-guidelines.htmldata=02%7C01%7CGraham.Humphries%40stategrowth.tas.gov.au%7C66c1877576c64aa6d1e208d7e5b4dd0c%7C64ebab8accf44b5ca2d32b4e972d96b2%7C0%7C0%7C637230437303005424sdata=uIayG9IgETTxGcERiukohYB7kSolUXdt2GwQBnVHGY8%3Dreserved=0

If you want to request a feature or an improvement, also see this: 
https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgeoserver%2Fgeoserver%2Fwiki%2FSuccessfully-requesting-and-integrating-new-features-and-improvements-in-GeoServerdata=02%7C01%7CGraham.Humphries%40stategrowth.tas.gov.au%7C66c1877576c64aa6d1e208d7e5b4dd0c%7C64ebab8accf44b5ca2d32b4e972d96b2%7C0%7C0%7C637230437303005424sdata=OJPN5FMu9TSm%2BaR3tpbTjdZ7gHnuU1q2TRZbluIezf4%3Dreserved=0


Geoserver-users@lists.sourceforge.net
https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fgeoserver-usersdata=02%7C01%7CGraham.Humphries%40stategrowth.tas.gov.au%7C66c1877576c64aa6d1e208d7e5b4dd0c%7C64ebab8accf44b5ca2d32b4e972d96b2%7C0%7C0%7C637230437303005424sdata=hSsVFgaJy1yPvPOdVPZrhrzmWVKbP9VJHVeuQkv7SnQ%3Dreserved=0



CONFIDENTIALITY NOTICE AND DISCLAIMER
The information in this transmission may be confidential and/or protected by 
legal professional privilege, and is intended only for the person or persons to 
whom it is addressed. If you are not such a person, you are warned that any 
disclosure, copying or dissemination of the information is unauthorised. If you 
have received the transmission in error, please immediately contact this office 
by telephone, fax or email, to inform us of the error and to enable 
arrangements to be made for the destruction of the transmission, or its return 
at our cost. No liability is accepted for any unauthorised use of the 
information contained in this transmission.


___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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


Re: [Geoserver-users] Getting Http 400 bad request in Geoserver-UI

2020-04-20 Thread sulu
Sometimes i have to wonder about myself.

Just too stupid!

GS is then published via ProxyPass in Apache.
ProxyPass /geonetwork http://localhost:8900/geoserver
ProxyPassReverse /geonetwork http://localhost:8900/geoserver



--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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


Re: [Geoserver-users] Getting Http 400 bad request in Geoserver-UI

2020-04-20 Thread Humphries, Graham
Geoserver would never see a request coming via HTTPD (Apache) ie 
http:///geonetwork

If you have to add the tomcat port to your request then you are bypassing HTTPD 
altogether and hitting Tomcat directly. So I suspect there is a problem with 
your HTTPD configuration.

It seems unusual (to me) to use localhost in your httpd.conf, presumably that 
will work if HTTPD is installed on the same machine as Tomcat.

Good luck

-Original Message-
From: sulu [mailto:andreas.sie...@vorarlberg.at]
Sent: Tuesday, 21 April 2020 2:25 PM
To: geoserver-users@lists.sourceforge.net
Subject: [Geoserver-users] Getting Http 400 bad request in Geoserver-UI

Hi.

Maybe this shown my ignorance but i cannot find a fox fo this.

Geoserver ist deployed via WAR-File in Tomcat.
Tomcat-Port is 8900.

GS is then published via ProxyPass in Apache.
ProxyPass /geonetwork http://localhost:8900/geonetwork ProxyPassReverse 
/geonetwork http://localhost:8900/geonetwork

Interactive Windows like "Layers" dont work as expected or if i want to save a 
change in a datastore for example directly lead to a HTTP 400 bad request 
error. This does not happen if the Tomcat-Port is added to the URL.

I never had that problem before GS Verion 14 (iirc).

So. Is there something new to put in the Geoserver/Tomcat-Setup to prevent this 
behavior?

Thanks
Andy










--
Sent from: 
https://aus01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fosgeo-org.1560.x6.nabble.com%2FGeoServer-User-f3786390.htmldata=02%7C01%7CGraham.Humphries%40stategrowth.tas.gov.au%7C4e5b6a5455b145ee550108d7e5ac96eb%7C64ebab8accf44b5ca2d32b4e972d96b2%7C0%7C0%7C637230402031064693sdata=yM0nQPshY%2BcVQzo0jJY%2F0DYzxPPL%2Fk6B%2FxVxeMjQB4E%3Dreserved=0


___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
https://aus01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.ianturton.com%2Ftalks%2Ffoss4g.html%23%2Fdata=02%7C01%7CGraham.Humphries%40stategrowth.tas.gov.au%7C4e5b6a5455b145ee550108d7e5ac96eb%7C64ebab8accf44b5ca2d32b4e972d96b2%7C0%7C0%7C637230402031064693sdata=2pHBbRRy2yavQYlw1lush1PnsCv%2FuNf5uGvonrg1Rek%3Dreserved=0
- The GeoServer user list posting guidelines: 
https://aus01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fgeoserver.org%2Fcomm%2Fuserlist-guidelines.htmldata=02%7C01%7CGraham.Humphries%40stategrowth.tas.gov.au%7C4e5b6a5455b145ee550108d7e5ac96eb%7C64ebab8accf44b5ca2d32b4e972d96b2%7C0%7C0%7C637230402031074689sdata=Oix%2FywGHC2CigSrRFp83I4s2AlwAI6kf3DNF2lPEak4%3Dreserved=0

If you want to request a feature or an improvement, also see this: 
https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fgeoserver%2Fgeoserver%2Fwiki%2FSuccessfully-requesting-and-integrating-new-features-and-improvements-in-GeoServerdata=02%7C01%7CGraham.Humphries%40stategrowth.tas.gov.au%7C4e5b6a5455b145ee550108d7e5ac96eb%7C64ebab8accf44b5ca2d32b4e972d96b2%7C0%7C0%7C637230402031074689sdata=qMQ1ChutuWrAx0LCTGxAzySqE7otDHg8UvsLfPPn7ec%3Dreserved=0


Geoserver-users@lists.sourceforge.net
https://aus01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fgeoserver-usersdata=02%7C01%7CGraham.Humphries%40stategrowth.tas.gov.au%7C4e5b6a5455b145ee550108d7e5ac96eb%7C64ebab8accf44b5ca2d32b4e972d96b2%7C0%7C0%7C637230402031074689sdata=se0c5njpp6wpmKnsKmZSIP%2FU1%2Bfu5EnFVVkKoqVYTVw%3Dreserved=0



CONFIDENTIALITY NOTICE AND DISCLAIMER
The information in this transmission may be confidential and/or protected by 
legal professional privilege, and is intended only for the person or persons to 
whom it is addressed. If you are not such a person, you are warned that any 
disclosure, copying or dissemination of the information is unauthorised. If you 
have received the transmission in error, please immediately contact this office 
by telephone, fax or email, to inform us of the error and to enable 
arrangements to be made for the destruction of the transmission, or its return 
at our cost. No liability is accepted for any unauthorised use of the 
information contained in this transmission.


___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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


[Geoserver-users] Getting Http 400 bad request in Geoserver-UI

2020-04-20 Thread sulu
Hi.

Maybe this shown my ignorance but i cannot find a fox fo this.

Geoserver ist deployed via WAR-File in Tomcat.
Tomcat-Port is 8900.

GS is then published via ProxyPass in Apache.
ProxyPass /geonetwork http://localhost:8900/geonetwork
ProxyPassReverse /geonetwork http://localhost:8900/geonetwork

Interactive Windows like "Layers" dont work as expected or if i want to save
a change in a datastore for example directly lead to a HTTP 400 bad request
error. This does not happen if the Tomcat-Port is added to the URL.

I never had that problem before GS Verion 14 (iirc).

So. Is there something new to put in the Geoserver/Tomcat-Setup to prevent
this behavior?

Thanks
Andy










--
Sent from: http://osgeo-org.1560.x6.nabble.com/GeoServer-User-f3786390.html


___
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


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