infra-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Chris Lambertus (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (INFRA-16785) InsecurePlatformWarning/SNIMissingWarning on jenkins when using installed python
Date Mon, 30 Jul 2018 03:24:00 GMT

    [ https://issues.apache.org/jira/browse/INFRA-16785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16561386#comment-16561386
] 

Chris Lambertus commented on INFRA-16785:
-----------------------------------------

I am unclear why this would have suddenly become a problem. Has something changed in your
build? Could you please try pinning your build to the 'xenial' (ubuntu 16.04) label? This
may be related to the version of python/pyOpenSSL that ships with trusty (14.04.)

> InsecurePlatformWarning/SNIMissingWarning on jenkins when using installed python
> --------------------------------------------------------------------------------
>
>                 Key: INFRA-16785
>                 URL: https://issues.apache.org/jira/browse/INFRA-16785
>             Project: Infrastructure
>          Issue Type: Bug
>          Components: Jenkins
>            Reporter: Patrick Hunt
>            Assignee: Chris Lambertus
>            Priority: Major
>
> When using the installed version of python on Jekins slaves the following warnings are
being generated:
> {noformat}
> /usr/local/lib/python2.7/dist-packages/urllib3/util/ssl_.py:339: SNIMissingWarning: An
HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not
available on this platform. This may cause the server to present an incorrect TLS certificate,
which can cause validation failures. You can upgrade to a newer version of Python to solve
this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
>   SNIMissingWarning
> /usr/local/lib/python2.7/dist-packages/urllib3/util/ssl_.py:137: InsecurePlatformWarning:
A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately
and may cause certain SSL connections to fail. You can upgrade to a newer version of Python
to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
>   InsecurePlatformWarning
> /usr/local/lib/python2.7/dist-packages/urllib3/util/ssl_.py:137: InsecurePlatformWarning:
A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately
and may cause certain SSL connections to fail. You can upgrade to a newer version of Python
to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
>   InsecurePlatformWarning
> {noformat}
> Here's an example job/result:
> https://builds.apache.org/view/S-Z/view/ZooKeeper/job/ZooKeeper-Find-Flaky-Tests
> https://builds.apache.org/view/S-Z/view/ZooKeeper/job/ZooKeeper-Find-Flaky-Tests/455/console



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message