#3648: Error when using WMS on Windows -------------------------+------------------------- Reporter: annakrat | Owner: grass-dev@… Type: defect | Status: new Priority: normal | Milestone: 7.6.0 Component: Python | Version: unspecified Keywords: WMS | CPU: Unspecified Platform: MSWindows 8 | -------------------------+------------------------- When using r.in.wms (through the GUI or directly), I get:
`Errno 10054 An existing connection was forcibly closed by the remote host.` The wms service is: `https://services.nationalmap.gov/arcgis/services/USGSNAIPPlus/MapServer/WMSServer?` Looking at the code in wms_base.py (https://trac.osgeo.org/grass/browser/grass/trunk/scripts/r.in.wms/wms_base.py#L270) it boils down to: {{{ >>> from urllib2 import urlopen >>> urlopen('https://services.nationalmap.gov/arcgis/services/USGSNAIPPlus/MapServer/WMSServer?&SERVICE=WMS&REQUEST=GetCapabilities&VERSION=1.3.0') }}} which gives the error. When you paste the URL to browser, it works. Also r.in.wms with this wms service works on linux. -- Ticket URL: <https://trac.osgeo.org/grass/ticket/3648> GRASS GIS <https://grass.osgeo.org>
_______________________________________________ grass-dev mailing list grass-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/grass-dev