Hot answers tagged

6 votes
Accepted

GeoServer behind Nginx: web admin crashes

I was able to get it working with the following Nginx settings: location / { proxy_pass http://127.0.0.1:8080/geoserver/; proxy_pass_header Set-Cookie; proxy_set_header Host $host; ...
user avatar
5 votes
Accepted

Leaflet: Map tile request, hidden key/secret via proxy

Basically you just need a PHP script that acts as a middle man and does the fetching for you, then returns what it gets directly to the client. I converted your JS snippet above into the relevant ...
user avatar
  • 6,140
4 votes

reverse proxy on geoserver

From http://permalink.gmane.org/gmane.comp.gis.geoserver.user/42219 Put content of this archive http://shanbe.hezoun.com/cors.zip into the \webapps\geoserver\WEB-INF\classes folder. use <filter-...
user avatar
4 votes

Web Application and ArcGIS server are two different machines and unable to load layers using rest services

Yes this is possible! There are multiple approaches for this. You can install Apache http server from here and you have to configure modjk module in this using modJk configuration (You will define ...
user avatar
  • 1,027
4 votes
Accepted

Shiny leaflet click-event returns NULL when clicked again

The problem is caused because you are drawing a new version of the selected polygon when the click event happens. Then, when you think you are clicking on the original polygon for the second time you'...
user avatar
  • 106
3 votes

Configuring Geoserver to use a proxy when accessing external services?

You need to set the http proxy variables either using a system environment variable or through a JVM property set in catalina.sh. There are detailed steps on how to do this on the WFS Store page. In ...
user avatar
  • 75.1k
3 votes
Accepted

Controlling proxy for WMS using QGIS?

In Options -> Network, you can type addresses in "Exclude URLs" to bypass the proxy.
user avatar
  • 2,077
3 votes
Accepted

XML Parsing Error: error in WFS request with Openlayers?

There a two or three possible reasons that come to my mind: Option1: your Webserver is not configured properly: What happens for example if you try to access this site(presuming that you put your ...
user avatar
  • 6,350
3 votes

Cannot ProxyPass to geoserver if source name is anything other than /geoserver

The issue is to do with the Tomcat settings and not with any settings of GeoServer. Note the Tomcat docs tell us: It should be noted that it is not recommended to use a reverse proxy to change the ...
user avatar
  • 11.9k
3 votes

Switch QGIS proxy settings programatically

Changing these keys changed the settings in both the GUI and the Windows Registry of QGIS 2.14 Essen using your code above in the Python Console: u'proxy/proxyEnabled', u'proxy/proxyExcludedUrls', u'...
user avatar
3 votes

Web map server won't connect

That server was deprecated in 2016. https://www.usgs.gov/news/usgs-national-map-orthoimagery-map-services-transition-and-other-map-service-changes The official announcement includes links to the ...
user avatar
  • 3,897
3 votes
Accepted

How to Handle Proxies within Carto's Python Import API framework

CARTO Python SDK uses requests library, which follows a pretty standard practice to honor proxies declared as environment variable so maybe you should try to export HTTP_PROXY and HTTPS_PROXY. Example ...
user avatar
  • 2,595
3 votes

OSGeo4W Shell set proxy

You need to set environment variables http_proxy and https_proxy. You can read about some alternative ways to set them for example from https://superuser.com/questions/949560/how-do-i-set-system-...
user avatar
  • 52.5k
3 votes

Sending requests including headers via PyQGIS by using QGIS Proxysettings

Using the QgsNetworkAccessManager you can do something like this: url = "your.url.xyz" # a string headers = {b"Accept":b"application/x-zip-compressed"} # a ...
user avatar
  • 2,607
3 votes
Accepted

PyQGIS: the requests library fails to handle proxies

With requests, you can pass an object to specify proxies e.g https://stackoverflow.com/questions/8287628/proxies-with-python-requests-module. The issue you will hit with QGIS is that users will set ...
user avatar
  • 28.7k
2 votes

How to configure Geoserver ProxyBaseUrl serving multiple other proxies

Non trivial solution for standalone geoserver If your reverse proxies set the X-Forwarded-* headers right, you can use the ForwardedHeaderFilter (in Spring Framework since 4.3.0) Add this to the ...
user avatar
2 votes

Accessing QGIS Plugin repositories from behind Proxy

On your QGIS go to settings >> options >>network Then check the "Use proxy for web access" box set the proxy type to be defaultProxy to use the system proxy That way, whatever proxy ...
user avatar
2 votes

ArcGIS JavaScript API Proxy page

my best bet is that adding other layers from the same ArcGIS Server instance is triggering a CORS check by the JSAPI and that since both the server and your browser support CORS, the proxy isn't ...
user avatar
  • 5,053
2 votes
Accepted

Configuring Geoserver to use a proxy when accessing external services?

I figured out that is impossible to do it for now until geoserver give us a way to use secured proxy. The definitive solution is to use MapProxy to cascade WMS layers.
user avatar
  • 1,846
2 votes

What does it mean to access a WMS using a proxy?

Typically we use proxies to appear to be someone else or somewhere else. As a regular internet user connecting to a server, very little is known about me (IP, rough location, browser details, etc...) ...
user avatar
  • 289
2 votes

Openlayers: error 405 (Method not allowed) while attempting to add a WFS-T layer

Ok, I found the solution by myself. Basically, my webapp wasn't registered in the applicationhost.config, under the tag. After I put it there, it worked. :D <site name="sitename" id="2063751141"&...
user avatar
2 votes

Unable to connect ArcGIS Server - Error: Proxy server got bad address from remote server

The issue may be that your trying to access an older version that isn't compatible, administrative connections can only be made with ArcGIS Server and ArcGIS Desktop products that are on the same ...
user avatar
  • 11.9k
2 votes

Using proxy with ArcGIS API for JavaScript?

GitHub doesn't let you host server side applications, so you cannot run your proxy there. https://stackoverflow.com/questions/15718649/how-to-publish-a-website-made-by-node-js-to-github-pages
user avatar
  • 5,053
2 votes
Accepted

Arcgis Javascript API WMTS Layer don't use the configured proxy

This is the expected result - the getCapabilities request goes via the proxy as it could be prevented by the browser as a Cross Origin Request. As the tiles themselves are loaded as images these ...
user avatar
  • 986
2 votes
Accepted

Switch QGIS proxy settings programatically

Problem solved. QgsNetworkAccessManager had to be set to the new values: from qgis.core import * from PyQt4.QtCore import * from PyQt4.QtNetwork import QNetworkRequest, QNetworkProxy my_settings={"...
user avatar
2 votes
Accepted

Accessing WFS data through proxy in QGIS

From this post : https://gis.stackexchange.com/a/214915/93097, just add the following code for, according to the QgsNetworkAccessManager class instructions, setup the NetworkAccessManager according to ...
user avatar
  • 12.5k
2 votes

Using Esri Proxy for Javascript API?

The ESRI Documentation is great, but so generic in this chapter from my point of view. You have always 2 possibilities, either to use a proxy url, your first solution; or define some proxy rules, ...
user avatar
  • 1,006
2 votes

GeoServer behind Nginx: web admin crashes

This is a known issue and is due to an (unplanned) increase in security when Spring was upgraded. One suggested work around is to add <session-config> <tracking-mode>COOKIE</...
user avatar
  • 75.1k
2 votes
Accepted

Configure specific GeoServer workspace in NGINX reverse proxy

At the bottom of the manual page is this note: The rule of thumb is that resources (layers, styles, etc …) belonging to an isolated workspace can only be retrieved when using that workspaces ...
user avatar
  • 75.1k
2 votes

Using qgis-server docker behind reverse proxy

Use a docker-compose environment. To simplify things, work on the same host as your QGIS server docker. We will be using an off-the-shelf solution, provided by JWilder. The nginxreverse-proxy will: ...
user avatar

Only top scored, non community-wiki answers of a minimum length are eligible