Linked Questions

6
votes
4answers
4k views

geoserver xml header for cors xmlhttprequest [duplicate]

I'm running geoserver-2.5.2. From an external server i would like to call it as a wfs source with ol3. For this I would like to allow this external server to access the data. It seams I need a header ...
5
votes
2answers
2k views

Can't access GeoServer after CORS filter [duplicate]

To enable CORS filter I added the following in web.xml file in webapps/Geoserver/WEB-INF <filter> <filter-name>cross-origin</filter-name> <filter-class>org.eclipse.jetty....
1
vote
4answers
1k views

WMSGetFeatureInfo not returning results [duplicate]

I am having a problem getting the results back from a WMSGetFeatureInfo call to my GeoServer. Using OpenLayers 2.12, GeoServer 2.4.0, Windows Server2008, and Microsoft IIS 7.5 with Application Request ...
2
votes
0answers
1k views

Enable CORS in Geoserver not working [duplicate]

I installed GeoServer 2.12.1 on windows 8.1 x64 and I am trying to design a custom "login" form using AngularJS5 with Node.js, but when I make a request to geoserver it rejected by CORS, and get the ...
1
vote
0answers
1k views

Cross Origin Request Blocked [duplicate]

My Gis Client Program, using OpenLayers, and my GeoServer were running on the same server, everything worked fine. Now, I started a new instance of My Gis Client Program on another server. There, I ...
1
vote
0answers
789 views

Geoserver GetCapabilities and CORS [duplicate]

Using WMS I do a GetCapabilities request on a GeoServer instance. This works in FireFox, but not in Chrome, Safari, and Internet Explorer. The point is that in the web.xml from the server I did add: ...
0
votes
0answers
566 views

Why getting 403 error in geoserver 2.10.2 [duplicate]

I know this question asked many times (e.g. OpenLayers 3: Cross-Origin Request Blocked: The Same Origin Policy disallows and Enabling CORS in geoserver 2.8.2 or how to use JSONP in geoserver?) but ...
0
votes
0answers
257 views

Jetty Version for GeoServer 2.13.0 [duplicate]

GeoServer 2.13.0 is running on our server and I want to add some CORS headers to it. Which version of Jetty does it use so that I can install the correct jetty-serverlet JAR? Found: http://osgeo-org....
1
vote
0answers
198 views

CORS issue with OpenLayers3 getGetFeatureInfoUrl [duplicate]

In an Angular directive I'm trying to create an Information tool with OpenLayers 3 using the getGetFeatureInfoUrl method. I've set up a function which is using $http to return the info as JSON: //...
0
votes
0answers
32 views

Fail show shape attribute [duplicate]

When I click on area, GeoNetwork show the next problem: "No matching records found". In geoserver, the information if it is shown. What is the problem?
0
votes
0answers
14 views

CORS Error while fetching data from GeoSever [duplicate]

I am trying get data from GeoSever WMS layer using GetFeatureInfo it returns HTML format data. In browser I am getting response, but when I am trying fetch from application getting CORS error. Below ...
0
votes
0answers
9 views

How can I put the jetty-servlets.jar file onto the CLASSPATH [duplicate]

I want to implement popup for WMS layer in Leaflet but I encountered a 'Access-Control-Allow-Origin' problem so I searched in the Internet I found that I have to add this to web.xml : <web-app> ...
1
vote
4answers
2k views

Setting GeoServer x-frame-options?

I'm trying to use an i-frame to show the attributes from a Geoserver WFS layer. The Geoserver is hosted on example.com:8080/geoserver, and the page that is trying to access it (and server the i-frame) ...
0
votes
1answer
436 views

Enabling CORS in GeoServer 2.8.2 or how to use JSONP in GeoServer?

I want to identify number of layers in to workspace in GeoServer for that I am using below REST API: http://admin:geoserver@localhost:8080/geoserver/rest/workspaces/gisc/featuretypes.json?callback=? ...
0
votes
1answer
420 views

OpenGeo Suite 4.8 - service unavailable after enable CORS edits and restart (Jetty) [closed]

I have Open Geo Suite 4.8 installed on a server. I tried to enable CORS by following the guide given here. I have the jetty-servlets file in the directory given in the Boundless instructions. After ...

15 30 50 per page