sitmun / sitmun-proxy-middleware

The proxy "middleware" component of the SITMUN platform.
European Union Public License 1.2
1 stars 2 forks source link

Proxy acting as a bouncer for certain requests #9

Open RicardCots opened 2 months ago

RicardCots commented 2 months ago

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

fjlopez commented 2 months ago

This problem is likely related to https://github.com/sitmun/sitmun-proxy-middleware/issues/6. By resolving the proxy issue, this problem should also be resolved.