Forums

Tweepy [Errno 111] Connection refused Hacker Subscription

I have a paid up sub (Hacker) and have a Errno 111. Can anyone help? Thanks in advance.

execfile('tweets.py') ; Traceback (most recent call last): File "<stdin>", line 1, in <module> File "tweets.py", line 56, in <module> twitterStream.filter(track=keywords,languages=["en"]) File "/usr/local/lib/python2.7/dist-packages/tweepy/streaming.py", line 316, in filter self._start(async) File "/usr/local/lib/python2.7/dist-packages/tweepy/streaming.py", line 237, in _start self._run() File "/usr/local/lib/python2.7/dist-packages/tweepy/streaming.py", line 157, in _run conn.connect() File "/usr/lib/python2.7/httplib.py", line 1172, in connect self.timeout, self.source_address) File "/usr/lib/python2.7/socket.py", line 571, in create_connection raise err socket.error: [Errno 111] Connection refused

Are you running the code in a console that you had open prior to upgrading? Or is it in a web app that you haven't reloaded since then? If so, try it from a new console, or reload the web app -- the unrestricted Internet access only works with new processes.

Thanks I will give it a try

Thanks, thats what it was. Very much appeciated!!

Excellent, thanks for confirming!