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

issue with proxychains #56

Closed
fenopa opened this issue Dec 17, 2021 · 7 comments
Closed

issue with proxychains #56

fenopa opened this issue Dec 17, 2021 · 7 comments

Comments

@fenopa
Copy link

fenopa commented Dec 17, 2021

when I want to use it with proxychains, getting "can't satisfy CONNECT request: bad responce from upstream proxy server: 403 bad port" error with HTTP links, but works fine with HTTPS links.

basically same issue like this: rofl0r/proxychains-ng#263
also this: openbullet/OpenBullet2#333

I see you rejected socks support here: #47
but wondering if socks support would solve this issue?

@fenopa
Copy link
Author

fenopa commented Dec 17, 2021

well, no issue with windscribe-proxy and proxychains. is it because hola only allows https traffic? that's weird.

@Snawoot
Copy link
Owner

Snawoot commented Dec 17, 2021

Hello,

Hola allows CONNECT method only for HTTPS. And also they allow plain HTTP requests with absolute URI (it's how it normally HTTP goes through proxy). CONNECT to any port other than 443 is not allowed AFAIK.

But for chaining you need to have proxy just for TCP connection to another proxy, hence CONNECT method is used for chaining.

The only way of chaining possible now (and supported by hola-proxy natively) is to access Hola proxies via some another proxy, not vice versa. See -proxy option in command line arguments.

@Snawoot Snawoot closed this as completed Dec 17, 2021
@fenopa
Copy link
Author

fenopa commented Dec 17, 2021

Hi, thank you for your reply, appreciate it. But I still don't understand why your other tool windscribe-proxy does not have an issue?

I mean, I do this with windscribe-proxy:
proxychains4 curl icanhazip.com
and all fine

I do same with hola-proxy and it only works with https://icanhazip.com

@Snawoot
Copy link
Owner

Snawoot commented Dec 17, 2021

Because windscribe-proxy uses windscribe servers which have no such restrictions as hola servers.

@fenopa
Copy link
Author

fenopa commented Dec 18, 2021

Right, all clear, I felt stupid now (had read your first sentence as "Hola-proxy allows CONNECT method only for HTTPS", but you were talking about limitation of the service, sorry for taking your time and thanks for all explanations.

@Snawoot
Copy link
Owner

Snawoot commented Dec 18, 2021

No problem!

@ghost
Copy link

ghost commented Jun 14, 2022

For anyone interested, pproxy with this patch and the httponly:// scheme can tunnel both HTTP and HTTPS connections to hola-proxy (although it's a hacky solution hardcoding port 443): https://github.com/nyuszika7h/python-proxy/commit/23a1854e84a6a0a21ab0e92adc3eebafc86e3ad3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants