Skip to content

urllib2.URLError #1

@hugo-dc

Description

@hugo-dc

C:\Documents and Settings\hugo.delacruz\github\Simple-Twitter-Bot>python regist_pin.py
What is your CONSUMER_KEY? xxxxxxxxxxxxxxxx
What is your CONSUMER_SECRET? xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Traceback (most recent call last):
File "regist_pin.py", line 44, in <module>
if name == "main": main(sys.argv)
File "regist_pin.py", line 36, in main
tw = twitter()
File "regist_pin.py", line 18, in twitter
request_token = tw.getRequestToken()
File "C:\Documents and Settings\hugo.delacruz\github\Simple-Twitter-Bot\oautht
witter.py", line 201, in getRequestToken
resp = self._FetchUrl(url, no_cache=True)
File "C:\Documents and Settings\hugo.delacruz\github\Simple-Twitter-Bot\oautht
witter.py", line 109, in _FetchUrl
url_data = opener.open(url).read()
File "C:\Python26\lib\urllib2.py", line 391, in open
response = self._open(req, data)
File "C:\Python26\lib\urllib2.py", line 409, in _open
'_open', req)
File "C:\Python26\lib\urllib2.py", line 369, in _call_chain
result = func(*args)
File "C:\Python26\lib\urllib2.py", line 1169, in https_open
return self.do_open(httplib.HTTPSConnection, req)
File "C:\Python26\lib\urllib2.py", line 1136, in do_open
raise URLError(err)
urllib2.URLError: <urlopen error [Errno 1] _ssl.c:480: error:140770FC:SSL routin
es:SSL23_GET_SERVER_HELLO:unknown protocol>

C:\Documents and Settings\hugo.delacruz\github\Simple-Twitter-Bot>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions