Skip to content

1.7.1 & Python 3.8.5: AttributeError: 'SocksiPyConnectionS' object has no attribute '_check_hostname' #149

Description

@mw46d

It looks like today, I have some problems with one httpS host:-( It worked fine yesterday, so not sure, what changed. Firefox can successfully connect to the httpS host via the same ssh/socks proxy. I can connect to other hosts via similar ssh/socks proxies.
sanitized stack trace:
resp = opener.open(req, body, timeout)
File "/usr/lib/python3.8/urllib/request.py", line 525, in open
self._send_output(message_body, encode_chunked=encode_chunked)
File "/usr/lib/python3.8/http/client.py", line 1010, in _send_output
response = self._open(req, data)
File "/usr/lib/python3.8/urllib/request.py", line 542, in _open
self.send(msg)
File "/usr/lib/python3.8/http/client.py", line 950, in send
result = self._call_chain(self.handle_open, protocol, protocol +
File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
self.connect()
File "HOME/.local/lib/python3.8/site-packages/sockshandler.py", line 75, in connect
if not self._context.check_hostname and self._check_hostname:
AttributeError: 'SocksiPyConnectionS' object has no attribute '_check_hostname'

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions