Hi There,
I have a geoserver running in a Kubernetes cluster. The ingress is configured with the following rule:
spec:
rules:
- host: stage.***
http:
paths:
- backend:
serviceName: geoserver
servicePort: http
path: /geoserver/
The site works well, but any submissions result in a 400 bad request without any log from the geoserver. For instance clicking on the PostGIS link when adding a New Datasource results in the following message:
Any idea?
Thanks

Hi Helge,
You may need to configure the proxy URL: https://docs.geoserver.org/stable/en/user/configuration/globalsettings.html#proxy-base-url.
GeoServer uses info about its hostname to generate responses and webpages. If GeoServer doesn’t know what it ought to report its URL as, then things go poorly.
Cheers,
Jim

···
On 2/8/2021 6:24 AM, Helge Dzierzon wrote:
Hi There,
I have a geoserver running in a Kubernetes cluster. The ingress is configured with the following rule:
spec:
rules:
- host: stage.***
http:
paths:
- backend:
serviceName: geoserver
servicePort: http
path: /geoserver/
The site works well, but any submissions result in a 400 bad request without any log from the geoserver. For instance clicking on the PostGIS link when adding a New Datasource results in the following message:
![]()
Any idea?
Thanks
_______________________________________________
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#/](http://www.ianturton.com/talks/foss4g.html#/)
- The GeoServer user list posting guidelines: [http://geoserver.org/comm/userlist-guidelines.html](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](https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer)
[Geoserver-users@lists.sourceforge.net](mailto:Geoserver-users@lists.sourceforge.net)
[https://lists.sourceforge.net/lists/listinfo/geoserver-users](https://lists.sourceforge.net/lists/listinfo/geoserver-users)