Bug 3712 - (int-128109) RSS reader uses proxy settings even when proxy disabled
(int-128109)
: RSS reader uses proxy settings even when proxy disabled
Status: RESOLVED FIXED
Product: RSS feed reader
General
: 5.0/(1.2009.41-10)
: N900 Maemo
: Medium normal with 1 vote (vote)
: 5.0/(10.2010.19-1)
Assigned To: unassigned
: rss-feed-reader-bugs
:
:
:
: 3783
  Show dependency tree
 
Reported: 2008-09-15 17:28 UTC by Paul M
Modified: 2011-01-17 21:41 UTC (History)
4 users (show)

See Also:


Attachments


Note

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


Description Paul M (reporter) 2008-09-15 17:28:38 UTC
SOFTWARE VERSION:
diablo

STEPS TO REPRODUCE THE PROBLEM:
disconnect from wireless access point. edit the wireless settings to add an
http proxy and port. save it. go back in, disable the proxy but leave the host
and port completed.

fire up the RSS reader application and refresh feeds.

EXPECTED OUTCOME:
RSS reader will connect directly to the appropriate servers

ACTUAL OUTCOME:
RSS reader attempts to contact the proxy and fails to update feeds.

REPRODUCIBILITY:
always

EXTRA SOFTWARE INSTALLED:

OTHER COMMENTS:
I have marked this as medium high because the RSS reader gives NO indication
that it is attempting to use a proxy, and I only realised what it was doing
when I logged into the tablet and used "netstat -an | grep tcp" and found a
bunch of SYN_SENT hanging sockets to the non-existent proxy, a non-technical
person would never know why RSS reader was failing!
Comment 1 Andre Klapper maemo.org 2008-09-15 17:56:18 UTC
Paul, is this a duplicate of bug 304?

> SOFTWARE VERSION:
> diablo

That is vague. Please tell us the exact version (4.2008.23-14 or 4.2008.30-2
for example).
Comment 2 Paul M (reporter) 2008-09-15 18:21:14 UTC
my product version is 4.2008.23-14
I am running with all the latest patches, for some reason it hasn't upgraded
the version. 
Linux mytablet 2.6.21-omap1 #2 Wed Jun 11 15:00:15 EEST 2008 armv6l unknown
Comment 3 ioan 2008-10-04 00:36:41 UTC
I had same problem. I enabled the proxy for the Privoxy. After uninstalling
Privoxy, I disabled the proxy but I left 127.0.0.1 in the proxy address fields.
The RSS *AND* Application Manager failed to connect to the internet until I
deleted the 127.0.0.1 from the proxy settings.
Comment 4 ioan 2008-10-04 00:40:06 UTC
(In reply to comment #3)
N800 with 4.1.2 (4.2008.36-5) here.
Comment 5 Paul M (reporter) 2008-10-04 13:43:17 UTC
I have updated to the newest release of Diablo 4.2008.36-5, problem still
exists AFAICT.
Comment 6 Lucas Maneos 2008-10-04 20:58:10 UTC
Confirmed on N810/4.2008.36-5.  With a proxy set but disabled I can see the
requests in my squid logs.

I think the real bug may be in the connectivity settings GUI not updating gconf
when the "Use proxy" checkbox is switched off:

$ gconftool-2 -g /system/http_proxy/use_http_proxy
true

#998, #3110(?) & #3402 may possibly be different manifestations of the same
issue.
Comment 7 Lucas Maneos 2008-10-05 19:18:56 UTC
Hm, scratch that.  GConf *is* updated, I was just looking at the wrong place.

Apparently applications are supposed to check /system/proxy/mode (or use
Libconic's con_ic_connection_get_proxy_mode) first.  Looking at the source,
neither osso-rss-feed-reader nor hildon-application-manager do this (don't know
about mediaplayer).
Comment 8 Paul M (reporter) 2009-04-18 01:10:35 UTC
is this or the parent bug going to be looked at, or should we simply assume
people are going to find this out the hard way and get annoyed and frustrated?
Comment 9 Andre Klapper maemo.org 2009-04-28 12:39:39 UTC
(In reply to comment #8)
> is this or the parent bug going to be looked at

It currently looks like this only has a low priority for Nokia unfortunately.
Comment 10 Andre Klapper maemo.org 2009-07-14 15:57:15 UTC
DIABLO 5.2008.43-7:
1. Set up some fake proxy in Connection Settings > Advanced
2. In Terminal, run "gconftool-2 --get /system/proxy/mode". Get "manual".
3. Go to Connection Settings > Advanced
4. Disable "Use proxy"
5. In Terminal, run "gconftool-2 --get /system/proxy/mode". Still get "manual".
Wrong.


Current Fremantle:
1. Set up some fake proxy in Connection Settings > Advanced
2. In Terminal, run "gconftool-2 --get /system/proxy/mode". Get "manual".
3. Go to Connection Settings > Advanced
4. Disable "Use proxy"
5. In Terminal, run "gconftool-2 --get /system/proxy/mode". Get "none".
Correct.

I also tested this with the User Interface of course and RSS feed reader could
access the feeds.
Bug 304 is about the RSS feed reader in Fremantle completely ignoring the
global Proxy.
Hence I could say that testing this bug depends on bug 304, but as the gconf
key clearly behaves differently in Diablo and Fremantle I consider this FIXED
in the internal Fremantle version.

Unfortunately this issue itself described in this bug report is a WONTFIX for
Diablo as Diablo is in maintenance mode and Nokia will only provide bugfixes
for critical issues if at all.
For your interest the Mer project aims to provide a community backport of
Fremantle for N8x0 devices. See http://wiki.maemo.org/Mer for more information.
Comment 11 Lucas Maneos 2009-10-18 03:35:47 UTC
Nope, still not fixed:

1. Configure a proxy for the current internet connection.
2. Start watching the proxy logs on the server.
3. Start RSS reader, refresh a feed or two: logs show requests going through
proxy as expected.
4. Disable the proxy for the current internet connection.  Verify
/system/proxy/mode is now "none" (it is). Optionally, restart RSS reader (makes
no difference).
5. Refresh a feed again.  Logs still show the requests going through the proxy.
6. Stop the proxy and refresh again. Refresh fails.

(In reply to comment #10)
> Bug 304 is about the RSS feed reader in Fremantle completely ignoring the
> global Proxy. Hence I could say that testing this bug depends on bug 304

Not really, as that one's about not honouring an autoconfig proxy setting (as
in <http://en.wikipedia.org/wiki/Proxy_auto-config>).  The summary was a bit
misleading though.
Comment 12 Esko M 2010-02-08 15:12:33 UTC
(In reply to comment #6)
> Confirmed on N810/4.2008.36-5.  With a proxy set but disabled I can see the
> requests in my squid logs.
> 
> I think the real bug may be in the connectivity settings GUI not updating gconf
> when the "Use proxy" checkbox is switched off:
> 
> $ gconftool-2 -g /system/http_proxy/use_http_proxy
> true
> 
> #998, #3110(?) & #3402 may possibly be different manifestations of the same
> issue.
> 

Untill this gets fixed, using command

$ gconftool-2 --set /system/http_proxy/use_http_proxy --type bool 0

disables proxy usage. After restarting RSS reader it can update feeds again!
Tested on N900 PR1.1.
Comment 13 Andre Klapper maemo.org 2011-01-17 21:41:04 UTC
"In 10.2010.19-1, feed is not added when Proxy connection is enabled and
previously added feed contents are not deleted, it is displayed when selected.
"unable to add feed, address is invalid" info banner is displayed when user try
to add valid feed also. Hence FIXED (The info banner displaying is not correct,
it should display about netconnection, but that is another issue).