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 #72

Open
mohammadhoseinazaddel opened this issue Nov 12, 2024 · 2 comments
Open

proxy #72

mohammadhoseinazaddel opened this issue Nov 12, 2024 · 2 comments
Labels
bug Something isn't working feature New feature or request

Comments

@mohammadhoseinazaddel
Copy link

i wanted to use proxy on it to connect through it but I got
Exception: Using SOCKS proxy, but the 'socksio' package is not installed. Make sure to install httpx using pip install httpx[socks].
Type: ImportErrorMessage: Using SOCKS proxy, but the 'socksio' package is not installed. Make sure to install httpx using pip install httpx[socks].
Traceback: File "httpx_client.py", line 705, in init
File "httpx_client.py", line 708, in
File "httpx_client.py", line 762, in _init_proxy_transport
File "httpx_transports\default.py", line 178, in init
in windows desktop
I set HTTP_PROXY=socks5://127.0.0.1:2080 and HTTsP_PROXY=socks5://127.0.0.1:2080
image

@szczyglis-dev
Copy link
Owner

szczyglis-dev commented Nov 15, 2024

In version 2.4.12 (2024-11-15):

  • httpx-socks has been integrated into the compiled versions (Windows and Linux) - enabling support for HTTP/SOCKS proxies.
  • proxy settings have been added under: Config -> Settings -> Proxy URL, or you can use the environment variables: HTTP_PROXY, HTTPS_PROXY.

@szczyglis-dev szczyglis-dev added question Further information is requested feature New feature or request bug Something isn't working and removed question Further information is requested feature New feature or request labels Nov 15, 2024
@mohammadhoseinazaddel
Copy link
Author

In version 2.4.12 (2024-11-15):

  • httpx-socks has been integrated into the compiled versions (Windows and Linux) - enabling support for HTTP/SOCKS proxies.
  • proxy settings have been added under: Config -> Settings -> Proxy URL, or you can use the environment variables: HTTP_PROXY, HTTPS_PROXY.

Thnk you man thank youuu i will try it soon and give you feedback dor your attempt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants