Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Latest releases have issues when run in OpenShift #62

Open
adamagnew opened this issue Jan 17, 2020 · 2 comments
Open

Latest releases have issues when run in OpenShift #62

adamagnew opened this issue Jan 17, 2020 · 2 comments

Comments

@adamagnew
Copy link

It appears these images are written with docker in mind, not necessarily Openshift/kubernetes. That said, I've found that while the GN-2.10.1 release works well in Openshift, the 2.15.3 and 2.15.4 releases do not. In the latest releases, many pages (specifically add datastore -> PostGIS) throw this error when the page is loaded through the loadbalancer. If you reach the pages from a locally running web browser, it still works. I've tried a few generic solutions suggested on the web, such as CorsFilter, with no success so far.

HTTP Status 400 – Bad Request
Type Status Report

Message Origin does not correspond to request

Description The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).

Apache Tomcat/9.0

@ghost
Copy link

ghost commented Jul 17, 2020

This is long in the tooth, but I came across a similar error. It was a result of there being an underscore docker service name for the geoserver. In my case removing the underscore, stopped the error. In versions 2.15.2 the error was as described, but in later releases of geoserver (2.17) the error is as below.

The server cannot or will not process the request due to something that is perceived to be a client error (e.g., malformed request syntax, invalid request message framing, or deceptive request routing).

Exception

java.lang.IllegalArgumentException: The character [_] is never valid in a domain name.

@afabiani
Copy link
Member

@steverwohl can you elaborate a bit more the solution you found? We can fix it if needed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants