Re: Issue2365, pip SSLException: handshake timed out

Jim Baker <[email protected]>
Newsgroups gmane.comp.lang.jython.devel
Message-ID <CAOhO=aN=DDaEP9CM7Z4AEdr=b_U9B-YEktqH-NqThq5wAmaf+w@mail.gmail.com>
Works for me, per my response on http://bugs.jython.org/issue2365:

$ ~/jython2.7.0/bin/pip install requests
Downloading/unpacking requests
  Downloading requests-2.7.0-py2.py3-none-any.whl (470kB): 470kB downloaded
Installing collected packages: requests
Successfully installed requests
Cleaning up...

There are a number of ways the SSL handshake could go wrong, and we almost
certainly need to provide better diagnostic information when it does fail.
We could start by systematically testing failures that we can induce, such
as testing with a bad CA certificate.

It would be helpful if anyone who has seen SSL handshake errors to comment
on #2365 so we can systematically determine what failures can be seen. One
that I have seen is SSLEngine failures with nonverified certs - this is
correct in the sense that it should not work, but it should report a better
error. (The solution in that case is to add the cert to the trust store in
Java, or to pass it explicitly in the wrap_socket function.)

- Jim

On Wed, Jun 3, 2015 at 9:55 AM, Alex G.S. <[email protected]> wrote:
>
> Dev List,
>
> Recently I found about Jython and having done some Java in the past was
instantly interested.  However upon setting up the JAR file, it appears
that pip is not functional due to an SSLException.  I've posted a bug about
this on the tracker [1].  Is this known issue or is this a configuration
issue or a step that I'm missing in setting this up?
>
> Thank you for whatever assistance you can provide!
>
> Regards,
> Alex
>
> [1] http://bugs.jython.org/issue2365
>



--
- Jim

jim.baker@{colorado.edu|python.org|rackspace.com|zyasoft.com}
twitter.com/jimbaker
github.com/jimbaker
bitbucket.com/jimbaker

------------------------------------------------------------------------------

_______________________________________________
Jython-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jython-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.