← Back to team overview

touch-packages team mailing list archive

[Bug 1365746] [NEW] Some URLS produce gnutls_handshake() failed: Illegal parameter error, but others do not

 

Public bug reported:

#I wrote a script that can turn on and off the crashing behavior of
gnutls.  Hopefully this will help someone debug it.  Using curl #from
the command line on the same machine fetches the URL's okay, so it seems
like a pycurl thing...  Many thanks to the devs!

#!/usr/bin/python
import pycurl
c = pycurl.Curl()
# Uncomment this one and it will crash gnutls
#c.setopt(c.URL, 'https://mobile.tdameritrade.com/wireless/landingProspectAction.action')
# Uncomment this one and it will crash gnutls
c.setopt(c.URL, 'https://invest.ameritrade.com/grid/m/login')
# This url will work if you uncomment it
#c.setopt(c.URL, 'https://www.discovercard.com/cardmembersvcs/mobile/app/loginlogout/auth')
print("About to go to TDAmeritrade (and crash)")
c.perform()

#curl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
#Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smtp smtps telnet tftp
#Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP
#python-pycurl version 7.19.3-0ubuntu
#

** Affects: pycurl (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pycurl in Ubuntu.
https://bugs.launchpad.net/bugs/1365746

Title:
  Some URLS produce gnutls_handshake() failed: Illegal parameter error,
  but others do not

Status in “pycurl” package in Ubuntu:
  New

Bug description:
  #I wrote a script that can turn on and off the crashing behavior of
  gnutls.  Hopefully this will help someone debug it.  Using curl #from
  the command line on the same machine fetches the URL's okay, so it
  seems like a pycurl thing...  Many thanks to the devs!

  #!/usr/bin/python
  import pycurl
  c = pycurl.Curl()
  # Uncomment this one and it will crash gnutls
  #c.setopt(c.URL, 'https://mobile.tdameritrade.com/wireless/landingProspectAction.action')
  # Uncomment this one and it will crash gnutls
  c.setopt(c.URL, 'https://invest.ameritrade.com/grid/m/login')
  # This url will work if you uncomment it
  #c.setopt(c.URL, 'https://www.discovercard.com/cardmembersvcs/mobile/app/loginlogout/auth')
  print("About to go to TDAmeritrade (and crash)")
  c.perform()

  #curl 7.35.0 (x86_64-pc-linux-gnu) libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
  #Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smtp smtps telnet tftp
  #Features: AsynchDNS GSS-Negotiate IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP
  #python-pycurl version 7.19.3-0ubuntu
  #

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


Follow ups

References