Opened 6 years ago
Closed 6 years ago
#3648 closed defect (worksforme)
Error when using WMS on Windows
Reported by: | annakrat | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | 7.6.0 |
Component: | Python | Version: | unspecified |
Keywords: | WMS | Cc: | |
CPU: | Unspecified | Platform: | MSWindows 8 |
Description
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.
Note:
See TracTickets
for help on using tickets.
Can't reproduce this anymore, closing.