GNOME Bugzilla – Bug 77734
GNOME Dictionary doesn't handle proxy at all
Last modified: 2021-06-10 11:22:56 UTC
Using beta3 on Solaris 8, gnome dictionary version 1.102.0 having set the http_proxy, gnome dictionary is still unable to lookup words yet gives no error message and no output when run through dbx.
Hmm, how did you set the proxy? I suspect gnome-dictionary doesn't handle proxy setups at all :(
I set the proxy as an env variable from a terminal and then run the gnome-dictionary application from that terminal, gnome-dictionary & applet show status Looking up word .... but never complete's.
Kevin: does it use gnome-vfs for info fetching or no? I'm guessing not. So... this is a borderline case: it's either a very bad bug or a big missing feature. I'm going to punt and land on the side of 'feature' unless anyone feels strongly about that.
*** Bug 78254 has been marked as a duplicate of this bug. ***
I have been looking at this on a nightly from 12th April. gDict will give the *appearance* of looking up a word/checking a spelling if run through runsocks (to bypass the firewall) BUT it seems to just sit there and do nothing. AFAICT it locks up and has to be killed from the command line. I tried to get some debug by trussing the running process but nothing of use was returned - won't run through dbx because it is already running through runsocks. It almost appears as though gDict is actaully looking for a word definition but I let it run for 15 minutes and it didn't return anything.
I got gdict working by using runsocks as Shane described, but yeah, it should probably be using some sort of proxy from gnome-vfs. This is *not* going to make the 2.0 deadline. Now, I guess someone in Sun is going to have decide whether this is important enough to work on, or not.
Okay, non-2.0 although this is different for Sun.
Recategorizing...I've added sun_patches even though there isn't a patch ready...just so it stays on the radar
*** Bug 80796 has been marked as a duplicate of this bug. ***
dict uses Dict protocol. There has to be new gnome-vfs module written to handle proxy stuff.
gdict works fine WHEN the lookup server is changed from its default (gdict.org) to "toolkit.central" on port 2628 (same as for gdict.org) The default lookup server is gdict.org and this does not work. I would suggest that the default lookup server be changed from gdict.org to something that works (or is it only me that it doesn't work for?)..:)
that's cause toolkit.central is a locally defined dict source, hence you don't need a proxy/socks
ahhh, now - how stupid do i feel...?? didn't know that - sorry
After my initial analysis and discussions in gnome-devel-list, I feel that this enhancement bug can not make it to GNOME-2.0, for the reasons outlined below. 1. Issues in implementing http proxy support: Dict.org at port 2628 does not support HTTP requests. Another problem is some http proxies may not allow connections to ports other than 443. So this is not a feasible option. 2. Issues in implementing SOCKS proxy support: SOCKS support means client application needs to be socksfied with support from some socks libraries. Gnet gives some socket/socks support for GNOME. But the socks support given so far is experimental and it is not complete. May be we will get full support by GNOME-2.2 release. There are some third party socks libraries which have full support for socksification. But it is not desirable to use a third party library. 3. Issues in giving dict commands as http requests through http proxy: www.dict.org gives a form where we can POST queries as http requests. So we basically POST dict commands as http requests and display the results which are parsed with gtkhtml. A simple spell request(exact MATCH) for word 'care' looks like: http://www.dict.org/bin/Dict?Form=Dict1&Query=care&Strategy=exact&Database=* For this we can make use of existing gnome-vfs 'http module' implementation. But POST support is not provided in gnome-vfs, and it may be ready by GNOME-2.2. What do others think about the issues mentioned above.?? It may be possible to provide proxy support by GNOME-2.2.
POST might work - it seems an easier option to implement but you might not have the same level of control over databases and search strategies.
*** Bug 122080 has been marked as a duplicate of this bug. ***
If finally evolution-data-server is on the desktop, we would get also libsuop, that implements easy-to-use http POST method (but remember it should get http proxy from gconf keys!). So marking this for 2.7
the new gnome-dictionary code handles multiple transports (implementations of the GdictContext interface). i could add a GdictHttpContext, using libsoup, in order to connect to a dictionary server using HTTP.
re-assigning to the libgdict component
Any update on this? It would be nice if the dictionary worked from behind a firewall.
*** Bug 529757 has been marked as a duplicate of this bug. ***
GNOME is going to shut down bugzilla.gnome.org in favor of gitlab.gnome.org. As part of that, we are mass-closing older open tickets in bugzilla.gnome.org which have not seen updates for a longer time (resources are unfortunately quite limited so not every ticket can get handled). If you can still reproduce the situation described in this ticket in a recent and supported software version of gnome-dictionary, then please follow https://wiki.gnome.org/GettingInTouch/BugReportingGuidelines and create a ticket at https://gitlab.gnome.org/GNOME/gnome-dictionary/-/issues/ Thank you for your understanding and your help.