No Connection behind proxy
Since owncloud 6.x there couldn´t be connect to internet through proxy. Owncloud ignores the setting in config.php
Owncloud 5.x works fine.
@chackl Thanks a lot for reporting issues back to us!
We need some more information to properly support you with your issue!
Can I ask you to follow our guidelines for submitting bugs as described here: https://github.com/owncloud/core/blob/master/CONTRIBUTING.md
Thanks a lot!
I think i found a solution because i've got the same. In /lib/private/util.php there is a function called isInternetConnectionWorking(). Probably the programers forgot to put in the proxy check there, so i put it in manually according to this Thread from OC-Forum: https://forum.owncloud.org/viewtopic.php?f=26&t=18623
$proxy = OC_Config::getValue('proxy', '');
if($proxy <> '') {
list($proxy_host, $proxy_port) = explode(':',$proxy);
$connected = @fsockopen($proxy_host, $proxy_port, $errno, $errstr, 5);
if ($connected) {
fclose($connected);
return true;
}
\OC_Log::write('core', 'Couldn\'t connect to proxy server', \OC_log::WARN);
return false;
}
BTW: I'm new to GitHub... So i want to excuse myself for the style of write and format
This is fixed in master and will be released with the next version. Thanks for the report
@karlitschek Seems this isn't fixed in 6.0.2. Can it be back ported to 6.0.3? I see the fix in Master but not in the 6.0.2 branch...
Have a client who needs this in oC6.
@DeepDiver1975 What do you think?
Let me see if I find the related changes
here we go: https://github.com/owncloud/core/pull/6676/files
I'll backport this fix
@DeepDiver1975 Thanks. Pls let me know the pull request for the back port when it is approved so I can get a patch to the customer.
PR: https://github.com/owncloud/core/pull/8148