django - urllib2.error.URLError: <urlopen error unknown url type: 'https> -
i using nginx+django+uwsgi depoy app.
now weird error https url issue
my django version 1.6, uwsgi version 2.0.4 , python version 2.7.3
i can visit https url django shell:
>>> import urllib2 >>> response=urllib2.urlopen("https://www.baidu.com") >>> data=response.read() >>> print data
it works fine!!
if start app uwsgi, error urlopen error unknown url type: https
same code
i dont know why...
Comments
Post a Comment