You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On a newly installed SDI-CC instance on a Linux desktop computer, we encountered this error whiling runing the checks on DataGrandEst full WMS service: https://www.datagrandest.fr/geoserver/ows
Unable to parse the remote OWS server: HTTPSConnectionPool(host='www.datagrandest.fr', port=443):
Max retries exceeded with url:
/geoserver/ows?SERVICE=WMS&&service=WMS&version=1.3.0&request=GetMap&layers=lbwgs1%3ALBWGS1_M_640_Nr_11997&styles=&width=10&height=10&crs=EPSG%3A4326&bbox=48.04533868591011%2C7.080232317672589%2C48.048442572946854%2C7.084768200056035&format=image%2Fpng&transparent=FALSE&exceptions=XML&bgcolor=0xFFFFFF
(Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f24bfd66f00>:
Failed to establish a new connection: [Errno 24] Too many open files'))
This kind of HTTP requests are managed with the requests library (encapsulated within owslib code) without using a requestsSession object. Therefore for each URL tested by SDI-CC a new socket is opened. Using the requestsSession class would avoid this kind of error and would improve performance.
On a newly installed SDI-CC instance on a Linux desktop computer, we encountered this error whiling runing the checks on DataGrandEst full WMS service: https://www.datagrandest.fr/geoserver/ows
This kind of HTTP requests are managed with the
requests
library (encapsulated withinowslib
code) without using arequests
Session
object. Therefore for each URL tested by SDI-CC a new socket is opened. Using therequests
Session
class would avoid this kind of error and would improve performance.Docs about the Session class : https://docs.python-requests.org/en/latest/user/advanced/#session-objects
The text was updated successfully, but these errors were encountered: