Elastic maps

hi i have been trying to access maps from geoserver configured on my localhost. while i can access these maps on my other GIS applications like Arc and QGIS but here i am not able to do the same
when accessed the dev options following is shown


Access to fetch at 'http://localhost:8080/geoserver/wms/project1?version=1.1.1&request=GetCapabilities&service=WMS' from origin 'http://localhost:5601' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled."


and when i try to add layer in elastic maps it gives out a message of

> failed to load metadata


Hi @Ananya_Mohiley,

Looks like CORS are not configured on your geoserver in a way that Kibana could access it.
Please make sure CORS are configured in such way that http://localhost:5601 has access.

I'd refer to geoserver documentation and looked for cors

Hope this is helpful

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.