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.
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.
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.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.
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.
I got it to work on Ubuntu 11.10 - Ubuntu One client version 2.0.0.
Did the following:
Set the HTTP proxy in network proxy settings (Apply system wide)
Changed the line "from urlparse import urljoin" to "from urlparse import urljoin, urlparse"
Added the line "from ubuntuone.storageprotocol.proxy_tunnel import ProxyTunnelFactory" right below the line "from ubuntuone.storageprotocol.context import get_ssl_context"
Changed the following: http://pastebin.com/avKHcWeS
Changed the following: http://pastebin.com/XTSu9Hbg
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.
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.