Socket.Error [Errno 10061] No connection could be made

116 views
Skip to first unread message

Osh

unread,
Mar 10, 2014, 9:08:45 PM3/10/14
to twe...@googlegroups.com
Hi, 

I get this error when I try to connect to the streaming API:

  File "build\bdist.win32\egg\tweepy\streaming.py", line 287, in sample
  File "build\bdist.win32\egg\tweepy\streaming.py", line 236, in _start
  File "build\bdist.win32\egg\tweepy\streaming.py", line 157, in _run
  File "C:\Python27\lib\httplib.py", line 1172, in connect
    self.timeout, self.source_address)
  File "C:\Python27\lib\socket.py", line 571, in create_connection
    raise err
socket.error: [Errno 10061] No connection could be made because the target machine actively refused it

I have set the secure flag to true in Streaming/Stream so it uses https instead of http. 
I'm in the office network in Windows platform.

Any Ideas?

Thanks!



Aaron Hill

unread,
Mar 20, 2014, 6:27:11 AM3/20/14
to twe...@googlegroups.com
This is most likely a problem with your connection to Twitter. Can you connect to Twitter through their website?
Reply all
Reply to author
Forward
0 new messages