Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am behind a web proxy server at work (no authentication) and I have set it up in Gnome (configuration applied system-wide).

It works fine for accessing internet with a browser, but numerous applications do not make use of this setting (Empathy, Gwibber or Ubuntu One to say a few) and cannot connect.

alt text
The question here will be specific to Ubuntu One which is for me more critical.

How did you manage to connect to Ubuntu One when behind a proxy? The easiest solution will be preferred ;-)

Have you used some tools to tunnel the data? Corkscrew? Proxychains? If you have done that sucessfully can you share your experience and configuration instructions?

Note: for those interested, here is the Ubuntu One bug report.

The Ubuntu One is currently (20111031) conducting a user survey on the topic of proxy access. If you are also behind a proxy, please fill up their survey to help them address this problem: Ubuntu One Tweet for User Survey.

share|improve this question
up vote 16 down vote accepted

As of the version 3 of the Ubuntu One client (currently in 12.04, soon to be released for Windows and backported to older Ubuntu versions), connecting through a proxy should work in most situations. In Ubuntu you need to ensure ubuntuone-client-proxy is installed (it isn’t installed by default), and proxy settings should be picked up automatically.

share|improve this answer

Apparently, some parts of Ubuntu One (i.e. Tomboy notes) should already work behind a proxy, but unfortunately not the most important part, file sync.

I've come across a number of work-a-rounds for this via the ubuntu-one-users listserve. The most promising one seems to be this wiki entry. It requires the installation of the connect-proxy package and a manual edit of your ~/.config/ubuntuone/syncdaemon.conf file.

Alan Pope has another work-a-round in this blog post.

share|improve this answer

Well, I have to say until this is fixed, you are better off using Dropbox which work's perfectly behind a proxy.

This feature is really needed, and it is a big surprise having tried to just connect from behind a proxy that it hasn't been in the utility from day one.

share|improve this answer

I got it to work on Ubuntu 11.10 - Ubuntu One client version 2.0.0.

Did the following:

  1. Set the HTTP proxy in network proxy settings (Apply system wide)

    sudo vim /usr/share/pyshared/ubuntuone-client/ubuntuone/syncdaemon/
  2. Changed the line "from urlparse import urljoin" to "from urlparse import urljoin, urlparse"

  3. Added the line "from ubuntuone.storageprotocol.proxy_tunnel import ProxyTunnelFactory" right below the line "from ubuntuone.storageprotocol.context import get_ssl_context"

  4. Changed the following:

    sudo vim /usr/lib/python2.7/dist-packages/ubuntuone-storage-protocol/ubuntuone/storageprotocol/
  5. Changed the following:

share|improve this answer

In the network proxy settings (System > Preferences > Network Proxy) after you enter your proxy, hit Apply System-Wide.

It should work, I never tried it, but I remember fixing such an issue with my friend.

share|improve this answer
Nope it does not work. I had already this setup (though with an automatic proxy configuration script) and applied system wide. I've just tried to configure the proxy manually and applying it also system wide with the same results. See the bug report, it is not fixed even in 10.10. – Huygens Oct 14 '10 at 9:28
Yeah I just saw the report, that must suck pretty bad! Thank god I don't have a proxy on my network =) – Saifallah Oct 15 '10 at 13:00

If this is a known bug and people are working on it. The easiest way is to wait for someone to release a patch and that this patch is integrated in a update.

share|improve this answer
Someone in the bug report was mentioning proxychains. I know there is also corkscrew. Both are utilities to access the internet via a proxy or firewall even if the application does not support it. I'm hoping someone has details instructions on how to use this tools (or another) to access Ubuntu One. – Huygens Oct 14 '10 at 20:10

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.