Discussion:
[Check_mk (english)] [bug] Python requests version outdated
(too old to reply)
Scott Haddin
2018-06-12 03:51:37 UTC
Permalink
Raw Message
Hi,

Upon attempting to create a ticketing engine to integrate with the Asana API it was discovered the packaged version of python is using an outdated version of requests [2.13] module, the old version of requests is creating issues with SSLerrors.
Is it possible to have "requests" module updated to 2.18 or is there a requirement to use v2.13?

Regards,
Scott
Andreas Döhler
2018-06-12 08:25:21 UTC
Permalink
Raw Message
Hi Scott,

this is more question for the developers in Munich. But from my side I had
no problem until now with this included requests version.
How does your SSL problem looks like?

best regards
Andreas
Post by Scott Haddin
Hi,
Upon attempting to create a ticketing engine to integrate with the Asana
API it was discovered the packaged version of python is using an outdated
version of requests [2.13] module, the old version of requests is creating
issues with SSLerrors.
Is it possible to have “requests” module updated to 2.18 or is there a
requirement to use v2.13?
Regards,
Scott
_______________________________________________
checkmk-en mailing list
Manage your subscription or unsubscribe
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Scott Haddin
2018-06-13 06:22:46 UTC
Permalink
Raw Message
Hi Andreas,

Thanks for the response. Unfortunately we only receive a generic unknown SSL Error
/requests/adapters.py", line 497, in send raise SSLError(e, request=request)
requests.exceptions.SSLError: unknown error (_ssl.c:2941)

Implementing a workaround for requests
/requests/adapters.py", line 440, in send timeout=timeout

.
pyOpenSSL-16.2.0-py2.7.egg/OpenSSL/_util.py", line 48, in exception_from_error_queue OpenSSL.SSL.Error: []
It appears as though multiple packaged libraries/modules cannot deal with the SSL error.

We believe it is probably something to do with the strengthening of SSL certificates in the past couple of years. I’m still trying to get confirmation but it looks like this current packaged version of requests does not like TLSv1/SSLv3 encryption.
The (Asana) client api that we are trying to integrate with even states that it has a minimum version requirement of requests 2.14.0. Looking at the changes to Requests for version 2.14.0+ there were also an update with the bundles urllib3 so it could be possible that the underlying cause also stems from urllib3 components.

I’ll provide some feedback to the developers and hopefully the modules can be updated.

Regards,
Scott

From: Andreas Döhler [mailto:***@gmail.com]
Sent: Tuesday, 12 June 2018 6:25 PM
To: Scott Haddin <***@cqg.com>
Cc: checkmk-***@lists.mathias-kettner.de
Subject: Re: [Check_mk (english)] [bug] Python requests version outdated

Hi Scott,

this is more question for the developers in Munich. But from my side I had no problem until now with this included requests version.
How does your SSL problem looks like?

best regards
Andreas

Scott Haddin <***@cqg.com<mailto:***@cqg.com>> schrieb am Di., 12. Juni 2018 um 05:52 Uhr:
Hi,

Upon attempting to create a ticketing engine to integrate with the Asana API it was discovered the packaged version of python is using an outdated version of requests [2.13] module, the old version of requests is creating issues with SSLerrors.
Is it possible to have “requests” module updated to 2.18 or is there a requirement to use v2.13?

Regards,
Scott

_______________________________________________
checkmk-en mailing list
checkmk-***@lists.mathias-kettner.de<mailto:checkmk-***@lists.mathias-kettner.de>
Manage your subscription or unsubscribe
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Andreas Döhler
2018-06-13 08:14:30 UTC
Permalink
Raw Message
Hi Scott,

only one point to check - as your script is under the site user, is it also
starting with "#!/usr/bin/env python"
If not such nasty errors can also happen.

best regards
Andreas
Post by Scott Haddin
Hi Andreas,
Thanks for the response. Unfortunately we only receive a generic unknown SSL Error
*/requests/adapters.py", line 497, in send raise SSLError(e,
request=request)*
*requests.exceptions.SSLError: unknown error (_ssl.c:2941)*
Implementing a workaround for requests
/requests/adapters.py", line 440, in send timeout=timeout

.
pyOpenSSL-16.2.0-py2.7.egg/OpenSSL/_util.py", line 48, in
exception_from_error_queue OpenSSL.SSL.Error: []
It appears as though multiple packaged libraries/modules cannot deal with the SSL error.
We believe it is probably something to do with the strengthening of SSL
certificates in the past couple of years. I’m still trying to get
confirmation but it looks like this current packaged version of requests
does not like TLSv1/SSLv3 encryption.
The (Asana) client api that we are trying to integrate with even states
that it has a minimum version requirement of requests 2.14.0. Looking at
the changes to Requests for version 2.14.0+ there were also an update with
the bundles urllib3 so it could be possible that the underlying cause also
stems from urllib3 components.
I’ll provide some feedback to the developers and hopefully the modules can be updated.
Regards,
Scott
*Sent:* Tuesday, 12 June 2018 6:25 PM
*Subject:* Re: [Check_mk (english)] [bug] Python requests version outdated
Hi Scott,
this is more question for the developers in Munich. But from my side I had
no problem until now with this included requests version.
How does your SSL problem looks like?
best regards
Andreas
Hi,
Upon attempting to create a ticketing engine to integrate with the Asana
API it was discovered the packaged version of python is using an outdated
version of requests [2.13] module, the old version of requests is creating
issues with SSLerrors.
Is it possible to have “requests” module updated to 2.18 or is there a
requirement to use v2.13?
Regards,
Scott
_______________________________________________
checkmk-en mailing list
Manage your subscription or unsubscribe
http://lists.mathias-kettner.de/mailman/listinfo/checkmk-en
Loading...