Empathy is not working behind the proxy servers SINCE Ubuntu 11.10

Bug #893031 reported by Nithin C on 2011-11-21
134
This bug affects 25 people
Affects Status Importance Assigned to Milestone
telepathy-gabble
Unknown
Unknown
libproxy (Ubuntu)
High
Unassigned
Precise
High
Unassigned
telepathy-gabble (Ubuntu)
High
Unassigned
Precise
High
Unassigned

Bug Description

Empathy is unable to connect behind the proxy servers whatever way we try. It doesn't utilize the proxy settings given globally to the system. There is no proxy option in the program also. I tried connecting to empathy from Ubuntu 11.10 in three systems behind a proxy server and in all cases it failed.
I tried all of the following but none worked:

1. Changing settings with gconf-editor ( Walk down the tree to system -> http_proxy . Search for use_http_proxy and check it. )
Even after doing that there is no change in behaviour of empathy
2. gksudo gedit /etc/bash.bashrc
export http_proxy=http://proxyhost:port/
export ftp_proxy=http://proxyhost:port/
save and exit
This also didnt help anything
3. Using tsocks and editing its config files also.
In that case the result was:
"tsocks dbus-launch empathy" fails to retrieve the accounts list.
"tsocks empathy" launches empathy, but it is unable to connect..

Please generate a patch for this problem and release new version of the program.

Nithin C (nithin-aneesh) on 2011-11-21
Changed in empathy (Ubuntu):
status: New → Confirmed
Bilal Shahid (s9iper1) wrote :

thank you for taking time in filing the bug to make ubuntu better.
you can not confirm your own bug. some one else see this bug and he can confirm this but not you so marking it new again.

Changed in empathy (Ubuntu):
status: Confirmed → New
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in empathy (Ubuntu):
status: New → Confirmed
Prabhjot (prabhjotsbhatia) wrote :

Confirming that it affects me too. I have tried all of the above, empathy fails to connect to server.

msreekanth (sreekanth-manga) wrote :

Yes.This affects me too.

msreekanth (sreekanth-manga) wrote :

Not only empathy ,but even google chrome doesnt pick the proxy settings.Guess if you are making major changes to the way the external programs are picking up the settings, the ubuntu development should have notified the respective teams or you should have taken care not to break anything.

Ubuntu release by release is loosing its fame !!!

Nithin C (nithin-aneesh) wrote :

Not only emapthy. Ubuntu-one is also not connecting behind a proxy server. I think the proxy problem is going to kill Ubuntu if it is not solved. I am planning to switch to some other distro if tis problem persists in 12.04 also.

SueN (sue-newland) wrote :

Yes I can also confirm that empathy is not working behind my proxy.

3. Using tsocks and editing its config files also.
In that case the result was:
"tsocks dbus-launch empathy" fails to retrieve the accounts list.
"tsocks empathy" launches empathy, but it is unable to connect..

This will never do anything useful. Empathy doesn't make network connections, Telepathy does. You might get more luck out of: GABBLE_PERSIST=1 tsocks /usr/lib/telepathy/telepathy-gabble

This bug should probably be filed against either Gabble or glib-networking. A gabble debug log might help us understand what's going on here.

Run 'GABBLE_PERSIST=1 GABBLE_DEBUG=all WOCKY_DEBUG=xmpp /usr/lib/telepathy/telepathy-gabble | tee output.log' on the command line to collect a log.

Nithin C (nithin-aneesh) wrote :

@Danielle Madeley: What is Gabble or glib-networking? I didn't find anything like that in empathy settings!!!! I followed those instructions from a website and tried. All I could find finally is that no chat clients work behind proxy server in Ubuntu. Ubuntu-one doesn't work behind a proxy. This issue is very serious and is making us to hate Ubuntu.

Bilal Shahid (s9iper1) wrote :

i have reportedyour bug to the upstream so answer there if the developer require information from you
here is the upstream link https://bugzilla.gnome.org/show_bug.cgi?id=665415
thanks

Changed in empathy:
importance: Unknown → Medium
status: Unknown → New
Bilal Shahid (s9iper1) wrote :

subcribed to the upstream bug and one of you answer him there.
thanks

Changed in empathy:
status: New → Unknown
Donagh Horgan (donagh-horgan) wrote :

I'm having the same problem. I'm using Ubuntu 11.10 with GNOME 3 behind a proxy at my university. From the bugzilla report, it looks like libproxy0 needs to be updated to version 0.4.7? I'm running 0.3.1-2ubuntu6 here.

Bilal Shahid (s9iper1) on 2011-12-14
affects: empathy (Ubuntu) → libproxy (Ubuntu)
no longer affects: empathy
Changed in libproxy (Ubuntu):
importance: Undecided → High
Changed in libproxy (Ubuntu Precise):
assignee: nobody → Ken VanDine (ken-vandine)
Leo (leohardtke) wrote :

Is not work on 12.04 beta 1 with libroxy 0.4.7.

Sharkfinger (sharkfinger) wrote :

This bug also affects me. Cannot use empathy or Ubuntu One. I am able to use APT, synaptic, firefox and chrome by entering the proxy settings into each of those but they are not picked up from the system. I defined them in the system via the 'Network' applet.

Am behind an authenticated corporate squid proxy.

Running ubuntu 11.10, libproxy0 version 0.3.1-2ubuntu6.

tags: added: rls-mgr-p-tracking
Ken VanDine (ken-vandine) wrote :

libproxy has been updated to 0.4.7 and MSN accounts now work behind a squid proxy, but in my testing telepathy-gabble never even tries to talk to my squid proxy.

Ken VanDine (ken-vandine) wrote :

Marking the libproxy task as fix released, since 0.4.7 is in precise now and it functions for at least MSN accounts.

Changed in libproxy (Ubuntu Precise):
assignee: Ken VanDine (ken-vandine) → nobody
status: Confirmed → Fix Released
Changed in telepathy-gabble (Ubuntu Precise):
assignee: nobody → Ken VanDine (ken-vandine)
importance: Undecided → High
status: New → Confirmed
Ken VanDine (ken-vandine) wrote :

OK, so MSN working isn't a good test to see if libproxy is functioning properly, we are now using telepathy-haze for that which uses libpurple. libpurple is probably getting the proxy information from gsettings.

Ken VanDine (ken-vandine) wrote :

Added logs from WOCKY_DEBUG=xmpp

riddle (riddlepl) wrote :

Ubuntu 12.04. Latest updates. Still not working :/
This bug should be marked as critical for 12.04 release.

Nithin C (nithin-aneesh) wrote :

Even the beta version Ubuntu 12.04 has the same bug

Zakwan (otaconisme) wrote :

I've upgrade to 12.04 from 11.04. Got no problem before. Now cannot connect behind a proxy.

Sharkfinger (sharkfinger) wrote :

Over 6 months and still not fixed.

Not a particularly helpful comment but wanted to mention I've found a workaround for this bug... I installed Windows 7.

Ladsy (tempo1) wrote :

Hello,

I'm using actually Ubuntu 12.10.
I parameterized succefully several account bye "All Parameters / Account in ligne /" (sorry, perhaps bad translation from me .... the text of my french desktop is : "Tous les paramètres / Comptes en ligne"
- Facebook
- IRC
- SIP
- Windows Live (yes I know, it's bad ... don't hurt me for this)
All was alright and working well.

I installed squid3 (each VM on Virtualbox inside the PC can access to this local proxy cache now with IP 192.168.1.100:3128).
I parameterized this proxy via "All Parameters / Network / Proxy server " ("Tous les paramètres / Network / Serveur mandataire")
So now the parameters are :
- Method : manual
- Proxy HTTP : 127.0.0.1:3128
- Proxy HTTPS : 127.0.0.1:3128
- Proxy FTP : 127.0.0.1:3128
- Hôte Socks : 127.0.0.1:3128

All chat was working well ... until I reboot !
I saw this help : http://anupam128.blogspot.fr/2011/03/using-empathy-behind-proxy.html
I uninstalled : account-plugin-salut, account-plugin-jabber, telepathy-core, telepathy-gnome and reinstalled telepathy-haze.
No help ... no resolve ..

After, I unsetted the proxy in "All parameters / Network"
I disconnected / then reconnected.
Empathy is working well without proxy, even the manipulation of paquet suppression.

If I set proxy another time, then disconnect / reconnect ... KO impossible to have any connection on the chat.

Waiting, my only solution is to unset the proxy ...
Parameterize the /etc/apt/apt.conf.d/02proxy for have a "cache" on the PC to proxing the VMs.
Parameterize firefox ... and work without any proxy with chromium ... bad.

Thanks for your help.

Not working behind the proxy on ubuntu 12.04 (just to inform)

Changed in telepathy-gabble (Ubuntu):
assignee: Ken VanDine (ken-vandine) → nobody
Changed in telepathy-gabble (Ubuntu Precise):
assignee: Ken VanDine (ken-vandine) → nobody
Dirley Rodrigues (dirleyrls) wrote :

I can confirm this was still not fixed in Ubuntu 12.10.

description: updated
summary: - Empathy is not working behind the proxy servers in Ubuntu 11.10
+ Empathy is not working behind the proxy servers SINCE Ubuntu 11.10
david.barbion (david-barbion) wrote :

Same here. I've configured all envionment variables and nothing works...
Env vars are http_proxy https_proxy and ftp_proxy.

Nithin C (nithin-aneesh) wrote :

I can actually connect to chat accounts in Ubuntu 12.10 via Pidgin. I am using the settings described here. http://nithinaneeshsct06bt.blogspot.in/2012/12/facebook-and-gtalk-via-pidgin-in-ubuntu.html
I didn't try with empathy but it works fine with Pidgin.

I'm so surprised that nobody from the UBUNTU team can't take care of this problem which is:
- old
- confirmed
- should be a staple feature of any OS

Probably that you are busy working on mobile features that nobody use?

I'm sorry, I love free softwares, but sometimes, it is really frustrating.
Nicolas

Nithin C (nithin-aneesh) wrote :

Dear Nicholas,

      I had this problem in Ubuntu 11.10 but it is no longer there in Ubuntu 12.10 or 13.04 (beta 2). I am able to connect all programs via proxy. I think the fix was committed almost one year back.

Nithin C

Changed in telepathy-gabble (Ubuntu):
status: Confirmed → Fix Released
Dan Jared (danjaredg) wrote :

the bug affect the 13.04 version

Rui Cunha (cunha-rui) wrote :

I'm still having that problem since 12.04, currently on 13.04.

I'm running 13.04 (upgrading since 12.04) , bug still exists

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments

Remote bug watches

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