Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Proxy problem #568

Closed
joaomeirelles opened this issue Feb 25, 2015 · 3 comments
Closed

Proxy problem #568

joaomeirelles opened this issue Feb 25, 2015 · 3 comments
Labels
Need Follow-Up This needs to be followed up on to be actionable No Reproduction This is not reproducible Stale This is inactive, outdated, too old, or no longer applicable

Comments

@joaomeirelles
Copy link

Hi, facing some problems to use under proxy (v.3.3)
I've my http_proxy and https_proxy environmental variables already set
But still: (Caused by ProxyError('Cannot connect to proxy.'

does anyone know what could it be?

thanks,
JM

@gtors
Copy link

gtors commented Aug 12, 2015

Try HTTP_PROXY and HTTPS_PROXY (in upper case)

For check purpose you can run this code:

# python 3
from urllib.request import getproxies
print(getproxies())

# python 2
from urllib import getproxies
print(getproxies())

@pike007
Copy link

pike007 commented Apr 21, 2016

@joaomeirelles @gtors please help to make this code work under proxy
If you have some code or steps to solve this problem. will be great help

@Harmon758
Copy link
Member

Are you able to connect to the proxies at all through other means?
Connecting to proxies is handled by requests, so this is unlikely to be an issue with Tweepy.

@Harmon758 Harmon758 added Need Follow-Up This needs to be followed up on to be actionable No Reproduction This is not reproducible labels Jan 25, 2022
@Harmon758 Harmon758 added the Stale This is inactive, outdated, too old, or no longer applicable label Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Need Follow-Up This needs to be followed up on to be actionable No Reproduction This is not reproducible Stale This is inactive, outdated, too old, or no longer applicable
Projects
None yet
Development

No branches or pull requests

4 participants