[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#358350: konqueror: proxy auto configuration => problem with multiple proxies



Package: konqueror
Version: 4:3.3.2-1sarge1
Severity: normal

We're using the proxy autoconfiguration to have the same proxy config on firefox and konqueror.
We have a primary proxy and a backup proxy. Both are returned by the script.

We're following the documentation at:
http://wp.netscape.com/eng/mozilla/2.0/relnotes/demo/proxy-live.html
which is also referenced in the admin documentation of the kde project.
(http://i18n.kde.org/docs/admin/admin.txt)

The Problem is that the first proxy is offlien due to hardware problems and konqueror ignores the second entry. The documentation states that it uses the next entry if the current proxy is dead. Firefox does this. konqueror complains that it's not possible to reach the first proxy and stops.

pac file looks like this:
function FindProxyForURL(url, host)
{
direct = "DIRECT";
proxy = "PROXY proxy2.math.uni-bonn.de:3128; PROXY proxy3.math.uni-bonn.de:3128;";

if (!(dnsDomainIs(host, ".math.uni-bonn.de") || isPlainHostName(host)))
                return proxy;
        else if (!isInNet(host, "131.220.120.0", "255.255.255.0"))
                return proxy;
        else
                return direct;
}

(The proxy=... row is not wrapped in our script!)

There seems to be a wrapper class for the pac stuff
(http://developer.kde.org/documentation/library/3.0-api/classref/kio/KPAC.html).
It looks like this class is broken or it's used in a wrong way in konqueror.

We tried to change the name of the first broken proxy to another computer that is turned on but has no squid running (to check if there is a difference between host offline or no port open)


-- System Information:
Debian Release: 3.1
Architecture: i386 (i686)
Kernel: Linux 2.6.8-2-686
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro (charmap=ISO-8859-15)

Versions of packages konqueror depends on:
ii  kcontrol           4:3.3.2-1sarge1       KDE Control Center
ii  kdebase-kio-plugin 4:3.3.2-1sarge1       KDE I/O Slaves
ii  kdelibs4           4:3.3.2-6.2           KDE core libraries
ii  kdesktop           4:3.3.2-1sarge1       KDE Desktop
ii  kfind              4:3.3.2-1sarge1       KDE File Find Utility
ii libart-2.0-2 2.3.17-1 Library of functions for 2D graphi ii libc6 2.3.2.ds1-22 GNU C Library: Shared libraries an ii libfam0c102 2.7.0-6sarge1 client library to control the FAM
ii  libgcc1            1:3.4.3-13            GCC support library
ii  libice6            4.3.0.dfsg.1-14sarge1 Inter-Client Exchange library
ii libidn11 0.5.13-1.0 GNU libidn library, implementation ii libjpeg62 6b-10 The Independent JPEG Group's JPEG ii libkonq4 4:3.3.2-1sarge1 Core libraries for KDE's file mana ii libpcre3 4.5-1.2sarge1 Perl 5 Compatible Regular Expressi
ii  libpng12-0         1.2.8rel-1            PNG library - runtime
ii libqt3c102-mt 3:3.3.4-3 Qt GUI Library (Threaded runtime v ii libsm6 4.3.0.dfsg.1-14sarge1 X Window System Session Management
ii  libstdc++5         1:3.3.5-13            The GNU Standard C++ Library v3
ii libx11-6 4.3.0.dfsg.1-14sarge1 X Window System protocol client li ii libxext6 4.3.0.dfsg.1-14sarge1 X Window System miscellaneous exte ii libxrender1 0.8.3-7 X Rendering Extension client libra ii xlibs 4.3.0.dfsg.1-14sarge1 X Keyboard Extension (XKB) configu
ii  zlib1g             1:1.2.2-4.sarge.2     compression library - runtime

-- no debconf information



Reply to: