Bug 3885 - (int-98432/int-127036) RSS Reader Fails to Read HTTPS RSS Webpages
(int-98432/int-127036)
: RSS Reader Fails to Read HTTPS RSS Webpages
Status: NEW
Product: RSS feed reader
General
: 5.0-beta
: N810 Maemo
: Low major with 3 votes (vote)
: ---
Assigned To: unassigned
: rss-feed-reader-bugs
:
:
:
:
  Show dependency tree
 
Reported: 2008-11-21 19:52 UTC by johndoe32102002
Modified: 2010-12-12 00:20 UTC (History)
8 users (show)

See Also:


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description johndoe32102002 (reporter) 2008-11-21 19:52:22 UTC
SOFTWARE VERSION:
(Control Panel > General > About product)

STEPS TO REPRODUCE THE PROBLEM: Feed an HTTPS/SSL RSS URL, such as
https://www.democracynow.org/podcast.xml, into RSS Reader

EXPECTED OUTCOME: Should import RSS feed into RSS Reader

ACTUAL OUTCOME: URL for RSS feed fails to load

REPRODUCIBILITY: always
(always/sometimes/once)

EXTRA SOFTWARE INSTALLED:

OTHER COMMENTS: Please fix

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1.17)
Gecko/20080921 SUSE/2.0.0.17-0.1 Firefox/2.0.0.17
Comment 1 Andre Klapper maemo.org 2008-11-23 17:30:17 UTC
This description is vague. Exact steps to reproduce welcome...

STEPS TO REPRODUCE:
1. Start RSS feed reader
2. Click on Add icon
3. Add feed https://www.democracynow.org/podcast.xml

ACTUAL OUTCOME:
Error message: "Unable to add feed. Address invalid."

Is this the same as your issue? Which webbrowser URL is this linked from?
Comment 2 Andre Klapper maemo.org 2008-11-25 17:02:31 UTC
Johndoe: *ping* - Can you answer my questions?
Comment 3 johndoe32102002 (reporter) 2008-11-30 04:07:39 UTC
(In reply to comment #2)
> Johndoe: *ping* - Can you answer my questions?
> 

Yes, the steps you mentioned are correct.  When trying any HTTPS URL, the RSS
Reader fails to parse the data.  Maybe the protocol was not built in the
program and left out?
Comment 4 Quim Gil nokia 2009-01-18 00:52:59 UTC
(In reply to comment #1)
> This description is vague. Exact steps to reproduce welcome...
> 
> STEPS TO REPRODUCE:
> 1. Start RSS feed reader
> 2. Click on Add icon
> 3. Add feed https://www.democracynow.org/podcast.xml
> 
> ACTUAL OUTCOME:
> Error message: "Unable to add feed. Address invalid."

These steps and result can be reproduced in Fremantle.
Comment 5 Quim Gil nokia 2009-01-18 01:04:39 UTC
Please look at Bug 1142 Comment #5 for a possible dependency or even duplicate.
Comment 6 Quim Gil nokia 2009-01-18 01:05:35 UTC
Sorry for spamming you but I just thought that perhaps this is not literally a
bug but an enhancement request...
Comment 7 johndoe32102002 (reporter) 2009-01-18 02:51:47 UTC
Websites are considered HTTP and HTTPS.  If RSS is not supported in both, that
means the RSS reader does not read all feeds on websites.

Your thoughts?
Comment 8 Quim Gil nokia 2009-05-18 22:56:54 UTC
*** Bug 1142 has been marked as a duplicate of this bug. ***
Comment 9 Andre Klapper maemo.org 2009-06-04 17:24:30 UTC
*** Bug 2807 has been marked as a duplicate of this bug. ***
Comment 10 Andre Klapper maemo.org 2009-07-07 16:48:32 UTC
This will NOT be fixed in Fremantle as it's too late in the development cycle
as it needs an update for the entire RSS engine.
Current Fremantle RSS reader is based on liferea 0.6.x which did not support
HTTPS feeds.
Hopefully the engine can be updated for Harmattan.
Comment 11 Lucas Maneos 2009-07-07 17:13:54 UTC
(In reply to comment #10)
> Current Fremantle RSS reader is based on liferea 0.6.x which did not support
> HTTPS feeds.

Uhm, are you sure about that?  0.6 was back in 2004 and 1.6 (the current
development version) handles https URLs fine.  Just checking in case it's a
typo (I suppose it's possible it hasn't been updated since OS2005).
Comment 12 Andre Klapper maemo.org 2009-07-07 17:17:54 UTC
(In reply to comment #11)
> Uhm, are you sure about that?

Yes.
Comment 13 Lucas Maneos 2009-07-07 18:51:52 UTC
Ok, the liferea version may actually be a red herring.  An osso_rss_feed_reader
(Diablo version) built with DEBUG_GLIB breaks down here:

osso_rss_feed_reader[13793]: GLIB MESSAGE default - Entering
download_start_request with: https://www.democracynow.org/podcast.xml
osso_rss_feed_reader[13793]: GLIB MESSAGE default - URI is NULL!!!
osso_rss_feed_reader[13793]: GLIB MESSAGE default - Entering download_call_end

and the code in question is (src/net/download.c):

    uri = gnome_vfs_uri_new(url);
    if (!uri) {
        g_message("URI is NULL!!!");
        ...
        return FALSE;
    }

ie, looks like a gnome-vfs issue (https unsupported?) and it could be made to
work even with the 0.6 liferea base.
Comment 14 Lucas Maneos 2009-07-07 19:39:02 UTC
Definitely gvfs.  Using the sample code from
<http://maemo.org/api_refs/4.1/osso-gnomevfs2-2.16.3/gnome-vfs-first-steps.html#id2505748>:

[sbox-DIABLO_X86: ~] > ./gvfstest http://maemo.org /proc/self/fd/1 
<?xml version="1.0"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
    <head>
        <title>maemo.org - maemo.org: Home of the M

but:

[sbox-DIABLO_X86: ~] > ./gvfstest https://maemo.org /proc/self/fd/1 
Error Invalid URI occured opening location https://maemo.org
Comment 15 Lucas Maneos 2009-07-07 21:39:34 UTC
osso-gnome-vfs2-2.16.3 (both Diablo and Fremantle beta versions) contains this
in debian/rules:

DEB_CONFIGURE_EXTRA_FLAGS := --enable-samba --disable-gnutls --disable-openssl
\

After rebuilding with --enable-openssl, installing the resulting packages and
adding:

https: http

to /etc/gnome-vfs-2.0/modules/default-modules.conf osso-rss-reader works as
expected (but media - bug 626 - still doesn't).
Comment 16 Jason Byrne 2010-12-12 00:20:17 UTC
Just BTW, I was just searching for bugs related to adding Google Calendar XML
URLs (can't add them) to the RSS reader, and found this bug.

I don't know if this is related to the HTTPS issues mentioned here, or if
there's an additional issue with Google Calendar XML URLs that the Fremantle's
RSS reader doesn't like.

I did notice that HTTP requests for the Google Calendar XML URL I tried are
redirected to HTTPS, so I'm guessing it's also an HTTPS issue w/Fremantle's RSS
reader.