Skip to content

Forward incoming proxy requests with ProxyPoolPlugin don't load some websites #1331

Description

@goodvanity

I have foreign proxy service and i want to forward requests through them using proxy.py and this command:
proxy --port 1090 --plugins proxy.plugin.ProxyPoolPlugin --proxy-pool username:password@proxysite.com:2222
Then some sites loaded like expected, but some sites not loaded at all.

For example:
curl --proxy 127.0.0.1:1090 https://www.reddit.com
output is html
log in proxy.py:
pid:14 [I] proxy_pool.access_log:219 - 172.26.0.1:52412 - CONNECT www.reddit.com:443 -> proxysite.com:2222 - 5130 bytes - 478.96 ms

but then i try another site, for example https://www.instagram.com
curl --proxy 127.0.0.1:1090 https://www.instagram.com
output:
curl: (56) Proxy CONNECT aborted
Chrome displays:
ERR_EMPTY_RESPONSE
log in proxy.py:
pid:20 [I] proxy_pool.access_log:219 - 172.26.0.1:55120 - CONNECT www.instagram.com:443 -> proxysite.com:2222 - 0 bytes - 10916.32 ms

I try this with docker and on the host, Windows and Linux, the result is the same. On the other hand if i use username:password@proxysite.com:2222 directly in curl or in browser then all works as expected. Sites do not change, if the site does not load, then it does not load after restart, reboot etc.

What could be the reason?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BugBug report in proxy server

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions