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

Fix/remove wpull.proxy.proxy_test.TestProxySSL #8

Open
ivan opened this issue Oct 5, 2018 · 1 comment
Open

Fix/remove wpull.proxy.proxy_test.TestProxySSL #8

ivan opened this issue Oct 5, 2018 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@ivan
Copy link
Contributor

ivan commented Oct 5, 2018

======================================================================
ERROR: test_basic_requests (wpull.proxy.proxy_test.TestProxySSL)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/grab/gs-venv/lib/python3.7/site-packages/tornado/testing.py", line 136, in __call__
    result = self.orig_method(*args, **kwargs)
  File "/home/grab/wpull/thematrix/wpull/testing/async_.py", line 29, in wrapper
    loop=self.event_loop)
  File "/home/grab/.pyenv/versions/3.7.0/lib/python3.7/asyncio/base_events.py", line 568, in run_until_complete
    return future.result()
  File "/home/grab/.pyenv/versions/3.7.0/lib/python3.7/asyncio/tasks.py", line 412, in wait_for
    return fut.result()
  File "/home/grab/wpull/thematrix/wpull/proxy/proxy_test.py", line 33, in test_basic_requests
    response = yield from session.start(Request(self.get_url('/')))
  File "/home/grab/wpull/thematrix/wpull/protocol/http/client.py", line 82, in start
    connection = yield from self._acquire_request_connection(request)
  File "/home/grab/wpull/thematrix/wpull/protocol/abstract/client.py", line 80, in _acquire_request_connection
    connection = yield from self._acquire_connection(host, port, use_ssl, tunnel)
  File "/home/grab/wpull/thematrix/wpull/protocol/abstract/client.py", line 90, in _acquire_connection
    tunnel=tunnel)
  File "/home/grab/wpull/thematrix/wpull/proxy/client.py", line 88, in acquire_proxy
    yield from self._establish_tunnel(connection, (host, port))
  File "/home/grab/wpull/thematrix/wpull/proxy/client.py", line 150, in _establish_tunnel
    wpull.string.printable_str(response.reason))
wpull.errors.NetworkError: Proxy does not support CONNECT: 501 CONNECT is intentionally not supported
@HeliosLHC
Copy link
Collaborator

Looks like CONNECT was removed via this commit: 5613807

@HeliosLHC HeliosLHC added the bug Something isn't working label Jan 7, 2024
@HeliosLHC HeliosLHC self-assigned this Jan 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants