client icon indicating copy to clipboard operation
client copied to clipboard

System Proxy not always detected

Open apramhaas opened this issue 12 years ago • 8 comments

Expected behaviour

Proxy should be used if one is configured in system.

2014-03-28 14_35_35-owncloud

Actual behaviour

ownCloud Client does not always detects the system proxy (no static configuration -> automatic recognition and configuration script is used on my workstation). These settings are deployed with the Windows AD group policy and can not be changed permanently. I didn't find a way to reproduce it but sometimes the client tries to connects directly to the OC server. Sometimes it helps to restart the client, sometimes I have to remove the check box for automatic recognition in the Internet Explorer settings.

2014-03-28 14_34_00-einstellungen fr lokales netzwerk

Browser access (IE, Firefox, Chrome) is working all the time. So I will exclude the possibility of a general system misconfiguration.

Steps to reproduce

I don't know.

Client configuration

Client version: 1.5.3 (build 2523) Operating system: Windows 7 SP1 x64 OS language: English

Logs

I don't see proxy related data in the log file.

apramhaas avatar Apr 07 '14 09:04 apramhaas

Can you try with 1.6.0 beta1?

danimo avatar Apr 09 '14 12:04 danimo

I made a short test with 1.6.0 beta1 but with this client I have sync problems so I cant use it currently on my production machine. Syncing new files fails with "unknown error" and the client is constantly syncing (every second) all existing files which causes local CPU load and server load. Logwindow is permanent in front (all OC windows) and it cannot be minimized. So no chance for testing now with this 1.6.0 version. If i have time the next days I'll investigate the mentioned problems.

apramhaas avatar Apr 09 '14 19:04 apramhaas

I'm having the same problem but on linux Kubuntu 14.04 (and 13.10). KDE System settings includes the proxy settings. This is not respected by Owncloud. If I start it from the command line with http_proxy environment variables, then it works. Launching through normal KDE launcher doesn't. Log file does not include any statement regarding an effort to check if there's a proxy, it just tries to connect to the server directly and of course fails. void Mirall::AbstractNetworkJob::slotFinished() 4 "Socket operation timed out"

Is there any change in the 1.6 on this? I can try if there was any change.

erenoglu avatar Apr 21 '14 14:04 erenoglu

I still sometimes have this problem with 1.6.0 (build 3082). Also when I move between different networks without rebooting the machine. Example: I'm in the company network with web proxy, connection is OK. I hibernate the machine, move to the home office (without web proxy), wake up and the ownCloud client cannot connect anymore to the server. I have to quit and restart the client. Same thing the other way round.

apramhaas avatar Jun 16 '14 09:06 apramhaas

(related https://github.com/owncloud/mirall/issues/1381 )

guruz avatar Jun 19 '14 13:06 guruz

I can confirm: changing the system proxy won't be detected by the sync client. restarting the client is required to reestablish the connection.

doomi avatar Aug 17 '14 07:08 doomi

I also have the issue, that the owncloud client under Windows 8.1 doesn't detect a change of the system proxy settings. I'm using the latest client version 1.6.3 build 3721. Would be great when the client can check if the proxy settings change.

odin81 avatar Sep 24 '14 20:09 odin81

Ok, there are two different issues here:

  1. System proxy settings are not respected at all on Ubuntu: This is a Qt issue (the distro needs to provide packages with Qt using libproxy). I am not sure if this feature is available for Qt 4, but some distros have chosen to backport it. Ideally, they should migrate to Qt 5. This is tracked in https://github.com/owncloud/client/issues/2486.
  2. Is a Windows-specific bug: Because Proxy auto-detection can take quite a long time, the result gets cached locally. This is tracked in https://github.com/owncloud/client/issues/2695.

This this bug is a duplicate, and mixing both issues, I'll cose it. Please track the respective dedicated reports.

danimo avatar Jan 13 '15 12:01 danimo