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

Bug #1365746 reported by Matt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pycurl (Ubuntu)
Expired
Undecided
Unassigned

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
#

Revision history for this message
Barry Warsaw (barry) wrote :

I've tested all of these urls against pycurl 7.19.5-2ubuntu1 which should be uploaded to Utopic as soon as the FFE is approved. None of them have any trouble. If you notice the problem again when the new version is available, please re-open this bug.

Changed in pycurl (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for pycurl (Ubuntu) because there has been no activity for 60 days.]

Changed in pycurl (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.