[Geoserver-users] Error related to Geoserver

while working with geoserver when i’m making changes in web.xml for cross origin and uncommenting cross origin filters to remove this error as under:
Cross-Origin Read Blocking (CORB) blocked cross-origin response with MIME type application/vnd.ogc.se_xml. See for more details.
Cross-Origin Read Blocking (CORB) blocked cross-origin response…
i am getting the error as:
HTTP ERROR: 503 Problem accessing /geoserver/. Reason: Service Unavailable Powered by Jetty://

and it’s not running the geoserver website.

so both of these things are contradicting. Please resolve the issue if possible attaching the web.xml please make changes in that file and comment where you have made changes so that i get to know what is there that we can do with those types of errors.

web.xml (10.2 KB)

···

Thanks & Regards
Ujwal Singh Vohra

Can you please share web.xml changes you have made?

Thank you,
Krishna G. Lodha
Personal email : me@anonymised.com
Office email : krishna@anonymised.com
On 12 Jul 2023 at 19:36 +0530, Ujwal Vohra <ujwalvohra42452@anonymised.com>, wrote:

while working with geoserver when i'm making changes in web.xml for cross origin and uncommenting cross origin filters to remove this error as under:
Cross-Origin Read Blocking (CORB) blocked cross-origin response <URL> with MIME type application/vnd.ogc.se_xml. See <URL> for more details.
Cross-Origin Read Blocking (CORB) blocked cross-origin response........
i am getting the error as:
HTTP ERROR: 503 Problem accessing /geoserver/. Reason: Service Unavailable Powered by Jetty://
and it's not running the geoserver website.

so both of these things are contradicting. Please resolve the issue if possible attaching the web.xml please make changes in that file and comment where you have made changes so that i get to know what is there that we can do with those types of errors.
--
Thanks & Regards
Ujwal Singh Vohra

_______________________________________________
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: Earning Your Support Instead of Buying it
- The GeoServer user list posting guidelines: User group posting guidelines

If you want to request a feature or an improvement, also see this: Successfully requesting and integrating new features and improvements in GeoServer · geoserver/geoserver Wiki · GitHub

Geoserver-users@lists.sourceforge.net
geoserver-users List Signup and Options

I assume you are following the instructions here: https://docs.geoserver.org/latest/en/user/production/container.html#enable-cors

These instructions are quite clear, your error message seems to indicate you are running Jetty.

Looking at your attached web.xml the instructions have not been followed, and the folllowing is stilled commented out:

And also:

It does appear the documentation is out of date, as the jetty section no longer has stuff for allowedOrigins and allowedMethods.

···


Jody Garnett

Thanks & Regards
Ujwal Singh Vohra

I trust you got his working, I made a minor documentation fix for the broken links https://github.com/geoserver/geoserver/pull/7034

If you are still having trouble consider reading the jetty manual directly https://eclipse.dev/jetty/documentation/jetty-9/index.html#cross-origin-filter

···


Jody Garnett


Jody Garnett

Thanks & Regards
Ujwal Singh Vohra