NEED URGENT HELP

33 views
Skip to first unread message

Mishra, Dolly

unread,
Sep 18, 2013, 3:50:04 AM9/18/13
to twe...@googlegroups.com

Hi,

 

I am using simple example to retrieve tweeter data in python using tweepy 2.1

When I am directly connected to net, my code works. However when I am in my office network(VPN or proxy) it doesn’t work at all.Error “.TweepError: Failed to send request: [Errno 11004] getaddrinfo failed” comes.

I have already disabled firewall. No idea what to do next to make it work in office network.

import tweepy

import dbapi

import urllib, urllib2

 

auth = tweepy.OAuthHandler(consumer_key, consumer_secret) 

auth.set_access_token(access_token, access_token_secret) 

  

api = tweepy.API(auth_handler=auth, secure=False)

print(api.me().screen_name)

 

 

Any help would be really helpful

Thanks and Kind Regards

Dolly

 

Reply all
Reply to author
Forward
0 new messages