[Bug 965371] Re: HTTPS requests fail on some sites on Ubuntu 12.04

Pablo Almeida 965371 at bugs.launchpad.net
Thu Mar 29 05:41:26 UTC 2012


If this is the intended behaviour, it sure will break a lot of programs.


Anyone knows if there's a way to force Python's urllib2.urlopen().read() to
use TLS1?

2012/3/29 Steve Langasek <steve.langasek at canonical.com>

> This may be the intended behavior, but we should determine for sure.
>
> ** Changed in: openssl (Ubuntu Precise)
>   Importance: Undecided => High
>
> ** Changed in: openssl (Ubuntu Precise)
>     Assignee: (unassigned) => Colin Watson (cjwatson)
>
> ** Tags added: rls-p-tracking
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/965371
>
> Title:
>  HTTPS requests fail on some sites on Ubuntu 12.04
>
> Status in “openssl” package in Ubuntu:
>   Confirmed
> Status in “openssl” source package in Precise:
>  Confirmed
>
> Bug description:
>  This week, HTTPS connections from a Python script I wrote started
>  giving me this error:
>
>  urllib2.URLError: <urlopen error [Errno 8] _ssl.c:497: EOF occurred in
>  violation of protocol>
>
>  This used to work up until some three days ago and still works on
>  other Ubuntu versions, but not in other Python versions on Precise. I
>  was suspecting this was a bug in Python, but a guy on AskUbuntu (
>  http://askubuntu.com/questions/116020/python-https-requests-urllib2
>  -to-some-sites-fail-on-ubuntu-12-04-without-proxy/116059#116059 )
>  found out this happens using the openssl command line tool too:
>
>  $ openssl s_client -connect www.mediafire.com:443
>
>  But succeeds if forcing TLS 1 with the -tls1 argument.
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/965371/+subscriptions
>


-- 
Pablo Almeida
http://www.google.com/profiles/pabloalmeidaff9

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to openssl in Ubuntu.
https://bugs.launchpad.net/bugs/965371

Title:
  HTTPS requests fail on some sites on Ubuntu 12.04

Status in “openssl” package in Ubuntu:
  Confirmed
Status in “openssl” source package in Precise:
  Confirmed

Bug description:
  This week, HTTPS connections from a Python script I wrote started
  giving me this error:

  urllib2.URLError: <urlopen error [Errno 8] _ssl.c:497: EOF occurred in
  violation of protocol>

  This used to work up until some three days ago and still works on
  other Ubuntu versions, but not in other Python versions on Precise. I
  was suspecting this was a bug in Python, but a guy on AskUbuntu (
  http://askubuntu.com/questions/116020/python-https-requests-urllib2
  -to-some-sites-fail-on-ubuntu-12-04-without-proxy/116059#116059 )
  found out this happens using the openssl command line tool too:

  $ openssl s_client -connect www.mediafire.com:443

  But succeeds if forcing TLS 1 with the -tls1 argument.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openssl/+bug/965371/+subscriptions




More information about the foundations-bugs mailing list