Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#7250 closed defect (invalid)

Bundle Python version is outdated in OSGeo4w package

Reported by: JLiang Owned by: hobu
Priority: normal Milestone:
Component: default Version: unspecified
Severity: normal Keywords: Python SSL

Description (last modified by JLiang)

Please consider upgrading Python to 2.7.10 or above in OSGeo4W

Current Python version in OSGeo4W is 2.7.5 (QGIS 2.18) However, TLSv1_2 wasn't added until Python 2.7.9.

For some API provider, like Github, they started to move to supporting TLS1.2, also requires that the Client's Hello Message carries with a server name indication (SNI), otherwise server end would reject.

Also it is likely that more and more web services will switch to TLS1.2, please consider upgrading the Python version (in the bundle package) at least to 2.7.10 or even higher.

In order to verify that, try in python console: import json, urllib2; print json.load(urllib2.urlopen('')) it is very much the same with Requests library.

It is not easy to workaround this SSL version problem, provided we continue using Python 2.7.5 in OSGeo4W.

Attachments (1)

image001.png (32.4 KB ) - added by JLiang 5 years ago.
Error output of connecting with Github API(v3)

Download all attachments as: .zip

Change History (6)

by JLiang, 5 years ago

Attachment: image001.png added

Error output of connecting with Github API(v3)

comment:1 by JLiang, 5 years ago

Description: modified (diff)

comment:2 by JLiang, 5 years ago

Description: modified (diff)

comment:3 by Jukka Rahkonen, 5 years ago

This is GDAL, not OSGeo4W issue tracker.

Try if you have rights to close your ticket as invalid yourself, otherwise I can do it for you.

comment:4 by JLiang, 5 years ago

Resolution: invalid
Status: newclosed

comment:5 by JLiang, 5 years ago

Component: PythonBindingsdefault
Note: See TracTickets for help on using tickets.