[GRASS-dev] [GRASS GIS] #3648: Error when using WMS on Windows

#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&gt;
GRASS GIS <https://grass.osgeo.org>

#3648: Error when using WMS on Windows
--------------------------+-------------------------
  Reporter: annakrat | Owner: grass-dev@…
      Type: defect | Status: closed
  Priority: normal | Milestone: 7.6.0
Component: Python | Version: unspecified
Resolution: worksforme | Keywords: WMS
       CPU: Unspecified | Platform: MSWindows 8
--------------------------+-------------------------
Changes (by annakrat):

* status: new => closed
* resolution: => worksforme

Comment:

Can't reproduce this anymore, closing.

--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3648#comment:1&gt;
GRASS GIS <https://grass.osgeo.org>