UIKit0 / newsbeuter

Automatically exported from code.google.com/p/newsbeuter
0 stars 0 forks source link

some HTTPS feeds fail #280

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. echo "https://blog.fefe.de/rss.xml?html" > $HOME/.newsbeuter/urls
2. newsbeuter -l 6 -d newsbeuter-https.log -x reload

What is the expected output?
feed getting refreshed

What do you see instead?
Debug log:
ERROR: rsspp::parser::parse_url: curl_easy_perform returned err 35: SSL connect 
error
USERERROR: Error while retrieving https://blog.fefe.de/rss.xml?html: SSL 
connect error

man libcurl-errors:
CURLE_SSL_CONNECT_ERROR (35)
A problem occurred somewhere in the SSL/TLS handshake. You really want the 
error buffer and read the message there as it pinpoints the problem slightly 
more. Could be certificates (file formats, paths, permissions), passwords, and 
others. 

CURLOPT_ERRORBUFFER:
gnutls_handshake() failed: A TLS packet with unexpected length was received.

What version of the product are you using?
Tried both newsbeuter 2.4 release and current git.

On what operating system?
Ubuntu Oneirc. libcurl is 7.21.6,  GnuTLS 2.10.5

Please provide any additional information below.
Debugged this with yitz_ on IRC. His Archlinux with curl 7.22 and GnuTLS 3.0.7 
works.

Original issue reported on code.google.com by i...@zeromail.org on 12 Nov 2011 at 6:40

GoogleCodeExporter commented 9 years ago
Remembered some more information from debugging on IRC:

While libcurl fails, curl itself works.

It may be one of the different options between curl and libcurl.

We tried "CURLOPT_SSL_VERIFYHOST 0", but that wasn't it.

Original comment by i...@zeromail.org on 14 Nov 2011 at 1:59

GoogleCodeExporter commented 9 years ago
From the IRC debugging session, this appears to be a curl/gnutls issue which 
can potentially be worked around with the correct curl settings. Under gnutls 
3.0.8 the problem vanishes.

Original comment by IsaacG...@gmail.com on 6 Dec 2011 at 8:51