Ubuntu one filesync not working behind proxy

Bug #987638 reported by Vinay
28
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Fix Released
Undecided
satan 666

Bug Description

After following the suggestions from (https://bugs.launchpad.net/ubuntuone-client/+bug/387308/comments/194) and installing ubuntuone-client-proxy and restarting the file sync, the fily sync is still giving AUTH_FAILED error. Login is not a problem. I am behind authenticated proxy on Ubuntu 12.04 with all updates.

-- VInay

Vinay (vinay-wagh)
description: updated
Revision history for this message
Leo Arias (elopio) wrote :

Could you please tell us which proxy server you are behind, which proxy method is being used (HTTP, HTTPS, SOCKS, etc…), and which authentication scheme is used?

tags: added: desktop+ precise u1-proxy
removed: proxy
Changed in ubuntuone-client:
assignee: nobody → Ubuntu One Desktop+ team (ubuntuone-desktop+)
status: New → Incomplete
Revision history for this message
Vinay (vinay-wagh) wrote :

Frankly speaking I dont know the server end details... I can just tell you that I have to give login password before accessing internet. The same authentication details work for http, https, ftp. I am not sure about socks.

-- VInay

Revision history for this message
Vinay (vinay-wagh) wrote :

Forgot to mention, I have already exported http_proxy, https_proxy and ftp_proxy in bashrc.
PROTOCOL_proxy = PROTOCOL://user:passwd@server:port/

-- VInay

Revision history for this message
Michele (michele-armillotta) wrote :

Hello,

on top of user proxy autentication, It would be suitable to have the possibility to setup directly the proxy server (with port) or the automatic configuration through proxy.pac script (e.g. http://<proxy_server>/proxy.pac like the browser).

Thanks a lot

Michele

Roberto Alsina (ralsina)
Changed in ubuntuone-client:
assignee: Ubuntu One Desktop+ team (ubuntuone-desktop+) → Alejandro J. Cura (alecu)
Revision history for this message
Alejandro J. Cura (alecu) wrote :

Vinay: please try installing the package named "ubuntuone-client-proxy".
Also, the environment variables "http_proxy" and others are not used for this, so make sure to configure your proxy settings in "System Settings..." -> "Network" -> "Network Proxy".

If it still does not work, please reopen this bug and attach your syncdaemon and proxy logs from the ~/.cache/ubuntuone/log/ directory.

Revision history for this message
Alejandro J. Cura (alecu) wrote :

Hi Michele, can you please expand on "setup directly the proxy server (with port)" ?

On the other hand, we currently do not have plans to support proxy.pac autoconfiguration. If this means that you have no way to use Ubuntu One, please open a different bug for .pac support, so we can gauge user interest.
Thanks!

Revision history for this message
Michele (michele-armillotta) wrote :

Hi Alejandro,

I can (manually) get from the proxy.pac script the IP:PORT good to reach Ubuntu folder even if it would need a user authentication.

Actually I need to share my folders on my W7 laptop and my Ubuntu desktop behind an authenticated proxy.

In case of Ubuntu, I can install ubuntuone-client-proxy as mentioned but I cannot set up my user/password for authentication.

In case of W7 I cannot even setup a proxy server.

Is it correct?

In case I woudl suggest the Ubuntu One support to develope an authenticated proxy management (even without proxy.pac) tool specific for Ubuntu One.

Take into account that tools like DropBox already have specific proxy management tool which perfectly work in the cases mentioned above (I attach a screenshot).

I'm happy to use Ubuntu tools so I would prefer to stay with Ubuntu one more than moving on Dropbox.

Hoping this can clarify a bit

Thanks for help

Michele

Revision history for this message
Alejandro J. Cura (alecu) wrote :

Hi Michele, thanks for your detailed explanation.

Ubuntu One uses the system proxy settings to get the host and port of the proxy server.
If the proxy server needs authentication, the username and password should be requested and saved in the system keyring when the Ubuntu One control panel is started.

Here's how to access the system proxy settings, (but I'm pretty sure you already know them):

On Ubuntu 12.04: "System settings..." -> "Network" -> "Network Proxy". Then set Method to "Manual", and fill in the HTTP and HTTPS proxy values. (If you don't have a "socks" proxy, make sure to leave that host blank).

On Windows 7: "Control panel" -> "Network and Internet" -> "Internet Options" -> "Connections" -> "LAN settings". Then uncheck "Automatic configuration" but check "Use a proxy server for your LAN" and fill in the proxy server address and port.

After configuring the system proxy settings, open the Ubuntu One control panel so your proxy credentials are requested and saved, and then the synchronization can be manually restarted. In case it does not, I'll ask you to attach to this bug your syncdaemon and proxy logs from the ~/.cache/ubuntuone/log/ directory, so I can take a further look.

Thanks!

Revision history for this message
Michele (michele-armillotta) wrote :

Hello Alejandro,

Thanks for explanations and proposed solutions.

Below some feedback after the tests:

On Windows 7: It seems that Ubuntu one automatically use Internet explorer Setting as proxy configuration which is uncomfortable for the following reasons:

1. since Ubuntu one cannot use proxy.pac, I need to get from proxy script the proxy IP:PORT for internet access. This will prevent me to reach some Company internal sites reachable only with other proxy servers (managed by proxy.pac).

2. some Internal Web sites are only compatible with IE so I cannot even use other browsers configured with proxy.pac.

3. I cannot even set Ubuntu One to get proxy setting from Mozilla in order to leave IE with proxy.pac.

However I have tried to use the suggested setting on W7 and it doesn't work reporting the error in attachment.

Sorry for OT but let me mention also that I even tried to connect to ubuntu one folders thrught the web site (IE 9) and I got problem since the web page frequently stucked while retrieving folder content list (so I couldn't event reach my folders from web). I attached a screenshot.

Considering what described above, I woudl ask if we'll heve somehow the possibility to configure proxy setting specific for Ubuntu one (as for Dropbox).

Please let me know in case of doubts

Hoping it can help somehow

Michele

Revision history for this message
Vinay (vinay-wagh) wrote :

@Alejandro:

Thanks for the suggestions. The package "ubuntuone-client-proxy" is already installed and system proxy settings are proper. As you said [ht|f]tp[s]_proxy variables are not used, so it doesnt matter even if I set them.

About the logs, I am currently away from the institute for about 2 months. I will be able to send the logs only after I am back. I hope to get the things sorted in the mean time. My current network is without proxy, so no problems so far!

Regards

VInay

Revision history for this message
Alejandro J. Cura (alecu) wrote :

@michele:

I now understand the problem you have, which is that you need to reach Company internal sites with one proxy but
Internet with another.

Unfortunately this first version of proxy support for Ubuntu One does not work right with .pac files, so it will not work in your use case. We hope to expand this support in upcoming versions of Ubuntu One, but the current version won't work like that, since it uses the system proxy settings, just like IE. And yes, there's no way to use the proxy settings from Mozilla as you suggest.

Instead we will very likely add some settings specific to Ubuntu One as detailed in bug #1002862, but we don't have a timeframe for that either. Please follow that bug for updates regarding progress and status.

Thanks!

Revision history for this message
Alejandro J. Cura (alecu) wrote :

@vinay:

I'm really intrigued by your error, so as soon as you can get back to the Institute, try again and attach the updated logs I'll take a look.

thanks!
--
alecu

Revision history for this message
Ivan (ivan-zderadicka) wrote :

Hi,
my experiences:

Mint 13 64 bit.

1) Install ubuntuone-client-proxy (not installed with the client - why?)
2) Set system proxy setting (Network Settings / Proxy - enough to set in dconf, no need to export to env variables) - must be Manual method
3) Kill daemon pkill ubuntuone
3) Start again ubuntuone client - will restart daemon now with proxy connection working

I would also vote very much for automatic proxy configuration - this is standard in many corp environments and it is convenient for notebook users. Is the specific bug somewhere for automatic proxy configuration not working?

Ivan

dobey (dobey)
Changed in ubuntuone-client:
assignee: Alejandro J. Cura (alecu) → nobody
status: Incomplete → Expired
Changed in ubuntuone-client:
status: Expired → Fix Released
assignee: nobody → satan 666 (satanic013666)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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