sitmun/sitmun-proxy-middleware

Proxy acting as a bouncer for certain requests

Opened this issue · 1 comments

Describe the bug
The proxy performance hinders some requests to external web services. An example is the request to obtain the legend image using the URL specified by the WMS capabilities. But there may be other cases.

It is also observed that certain requests to WMTS services is slower in SITMUN than in a non-SITMUN APISITNA client. Could this be due to the proxy?

To Reproduce
Steps to reproduce the behavior:

  1. Go to SITMUN admin and configure the service 'https://servicios.idee.es/wms/copernicus-landservice-spain?' and add the services layers to a tree/aplications
  2. Once everything configured, open the viewer and try to load one layer belonging to that service
  3. See error

Expected behavior
SITMUN viewer, being able to receive all necessary URLs, without being interrupted by the proxy.

On the other hand, it would greatly simplify some things if SITMUN could be configured so that only certain services would go through the proxy.

Screenshots

image

This problem is likely related to #6. By resolving the proxy issue, this problem should also be resolved.