Bug#644373: libproxy0 0.3.1-3 doesn't work with automatic proxy configuration
[Laurent Bigonville 2014-08-24] On Jessie/unstable, do you have libproxy1-plugin-mozjs or libproxy1-plugin-webkit installed? [Petter Reinholdtsen 2014-08-25] As far as I can tell from the strace output and the web server log, the proxy program do not try to connect to the web server at all. This is how I check: root@pxe-test6-pre:~/dpkg-1.17.13# dpkg -l libproxy* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-=--- ii libproxy-tools0.4.11-4 amd64automatic proxy configuration management library (tools) ii libproxy1:amd64 0.4.11-4 amd64automatic proxy configuration management library (shared) ii libproxy1-plugin-webkit:amd64 0.4.11-4 amd64automatic proxy configuration management library (Webkit plugin) root@pxe-test6-pre:~/dpkg-1.17.13# echo http://www.debian.org/ |strace proxy 21|grep connect connect(3, {sa_family=AF_LOCAL, sun_path=/var/run/nscd/socket}, 110) = -1 ENOENT (No such file or directory) connect(3, {sa_family=AF_LOCAL, sun_path=/var/run/nscd/socket}, 110) = -1 ENOENT (No such file or directory) root@pxe-test6-pre:~/dpkg-1.17.13# GET http://wpad/wpad.dat function FindProxyForURL(url, host) { return DIRECT; } root@pxe-test6-pre:~/dpkg-1.17.13# As you can see, strace show no connect to the web server, even if the libproxy1-plugin-webkit package is installed. -- Happy hacking Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#644373: libproxy0 0.3.1-3 doesn't work with automatic proxy configuration
Le Sat, 20 Sep 2014 15:32:16 +0200, Petter Reinholdtsen p...@hungry.com a écrit : [Laurent Bigonville 2014-08-24] On Jessie/unstable, do you have libproxy1-plugin-mozjs or libproxy1-plugin-webkit installed? [Petter Reinholdtsen 2014-08-25] As far as I can tell from the strace output and the web server log, the proxy program do not try to connect to the web server at all. This is how I check: root@pxe-test6-pre:~/dpkg-1.17.13# dpkg -l libproxy* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-=--- ii libproxy-tools0.4.11-4 amd64automatic proxy configuration management library (tools) ii libproxy1:amd64 0.4.11-4 amd64automatic proxy configuration management library (shared) ii libproxy1-plugin-webkit:amd64 0.4.11-4 amd64automatic proxy configuration management library (Webkit plugin) root@pxe-test6-pre:~/dpkg-1.17.13# echo http://www.debian.org/ |strace proxy 21|grep connect connect(3, {sa_family=AF_LOCAL, sun_path=/var/run/nscd/socket}, 110) = -1 ENOENT (No such file or directory) connect(3, {sa_family=AF_LOCAL, sun_path=/var/run/nscd/socket}, 110) = -1 ENOENT (No such file or directory) root@pxe-test6-pre:~/dpkg-1.17.13# GET http://wpad/wpad.dat function FindProxyForURL(url, host) { return DIRECT; } root@pxe-test6-pre:~/dpkg-1.17.13# As you can see, strace show no connect to the web server, even if the libproxy1-plugin-webkit package is installed. You should probably also install libproxy1-plugin-gsettings and/or libproxy1-plugin-networkmanager so libproxy knows about the configuration of the proxy -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#644373: libproxy0 0.3.1-3 doesn't work with automatic proxy configuration
[Laurent Bigonville] You should probably also install libproxy1-plugin-gsettings and/or libproxy1-plugin-networkmanager so libproxy knows about the configuration of the proxy It did not help. Am I doing it wrong? root@pxe-test6-pre:~/libproxy-0.4.11/libproxy# apt-get install libproxy1-plugin-networkmanager Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: libproxy1-plugin-networkmanager 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 12.6 kB of archives. After this operation, 69.6 kB of additional disk space will be used. Get:1 http://ftp.no.debian.org/debian/ jessie/main libproxy1-plugin-networkmanager amd64 0.4.11-4 [12.6 kB] Fetched 12.6 kB in 0s (797 kB/s) Selecting previously unselected package libproxy1-plugin-networkmanager:amd64. (Reading database ... 256495 files and directories currently installed.) Preparing to unpack .../libproxy1-plugin-networkmanager_0.4.11-4_amd64.deb ... Unpacking libproxy1-plugin-networkmanager:amd64 (0.4.11-4) ... root@pxe-test6-pre:~/libproxy-0.4.11/libproxy# echo http://www.debian.org/ |strace proxy 21|grep connect connect(3, {sa_family=AF_LOCAL, sun_path=/var/run/nscd/socket}, 110) = -1 ENOENT (No such file or directory) connect(3, {sa_family=AF_LOCAL, sun_path=/var/run/nscd/socket}, 110) = -1 ENOENT (No such file or directory) connect(3, {sa_family=AF_LOCAL, sun_path=/var/run/dbus/system_bus_socket}, 33) = 0 root@pxe-test6-pre:~/libproxy-0.4.11/libproxy# -- Happy hacking Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#644373: libproxy0 0.3.1-3 doesn't work with automatic proxy configuration
[Petter Reinholdtsen] It did not help. Am I doing it wrong? Apparently I am. I got some help from stormer on #libproxy over at irc.freenode.net, and he told me that libproxy no longer implement the WPAD protocol, and since version 0.4 require a configuration backend to return anything else than direct://. After some testing and reading the source, I did find a way to get the proxy command to look up the PAC script on the web server, using the KDE4 config backend. This work without a running dbus session, which the libproxy1-plugin-gsettings config backend needed. An alternative might be for debian to provide its own config backend to allow us to set the proxy configuration globally. He said SuSe had done this for their setup already. I run the program like this: KDE_FULL_SESSION=foo \ KDEDIRS=/usr/share/debian-edu/networked-kde3 \ _PX_DEBUG=1 \ proxy http://www.debian.org/ I'm setting KDE_FULL_SESSION to some bogus value to get the kde4 config backend to kick in, and set KDEDIRS to a directory with a file share/config/kioslaverc with the proxy settings I want to get WPAD enabled. The _PX_DEBUG=1 enable debug output from the program. This is the content of /usr/share/debian-edu/networked-kde3/share/config/kioslaverc: # - Make Konqueror automatically detect proxy settings # - Force proxy use through kiosk ### [Proxy Settings][$i] Proxy Config Script=http://wpad/wpad.dat ProxyType=2 When running, this is printed: Configuration extension is: 20kde_config_extension Ingored list is: Config is: pac+http://wpad/wpad.dat PAC received! Using pacrunner: 25mozjs_pacrunner_extension Pacrunner returned: DIRECT http://webcache:3128 direct:// Not the most elegant way to do it, but it seem to work the way I need it to work... To get it working, I need to install the packages libproxy1-plugin-kconfig and libproxy1-plugin-mozjs. I also install libproxy1-plugin-networkmanager to make sure libproxy do not hang when the network is unavailable. So this look like user error, triggered by features lost in libproxy since we started using it. -- Happy hacking Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#644373: libproxy0 0.3.1-3 doesn't work with automatic proxy configuration
Any clues what can be wrong? Is WPAD with proxy working for you? -- Happy hacking Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#644373: libproxy0 0.3.1-3 doesn't work with automatic proxy configuration
Control: found -1 0.4.11-4 [Petter Reinholdtsen] I experience the same problem with Debian Edu Wheezy main-server using libproxy 0.3.1-6. The wpad.dat file is in place, but proxy return direct:// all the time anyway: % GET http://wpad/wpad.dat function FindProxyForURL(url, host) { if (!isResolvable(host) || isPlainHostName(host) || dnsDomainIs(host, .intern)) return DIRECT; else return PROXY webcache:3128; DIRECT; } % echo http://www.debian.org/ | proxy direct:// % Any idea how to debug this? The same problem is also present in the current libproxy-tools package in testing/Jessie. It is unable to look up the automatic proxy configuration. Do you see it too? -- Happy hacking Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#644373: libproxy0 0.3.1-3 doesn't work with automatic proxy configuration
Le Sun, 24 Aug 2014 21:17:08 +0200, Petter Reinholdtsen p...@hungry.com a écrit : Control: found -1 0.4.11-4 [Petter Reinholdtsen] I experience the same problem with Debian Edu Wheezy main-server using libproxy 0.3.1-6. The wpad.dat file is in place, but proxy return direct:// all the time anyway: % GET http://wpad/wpad.dat function FindProxyForURL(url, host) { if (!isResolvable(host) || isPlainHostName(host) || dnsDomainIs(host, .intern)) return DIRECT; else return PROXY webcache:3128; DIRECT; } % echo http://www.debian.org/ | proxy direct:// % Any idea how to debug this? The same problem is also present in the current libproxy-tools package in testing/Jessie. It is unable to look up the automatic proxy configuration. Do you see it too? On Jessie/unstable, do you have libproxy1-plugin-mozjs or libproxy1-plugin-webkit installed? Cheers, Laurent Bigonville -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#644373: libproxy0 0.3.1-3 doesn't work with automatic proxy configuration
[Laurent Bigonville] On Jessie/unstable, do you have libproxy1-plugin-mozjs or libproxy1-plugin-webkit installed? I didn't initially, but installed first libproxy1-plugin-webkit and it did not have any effect. Next I installed libproxy1-plugin-mozjs, and it did not have any effect either. As far as I can tell from the strace output and the web server log, the proxy program do not try to connect to the web server at all. -- Happy hacking Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#644373: libproxy0 0.3.1-3 doesn't work with automatic proxy configuration
I experience the same problem with Debian Edu Wheezy main-server using libproxy 0.3.1-6. The wpad.dat file is in place, but proxy return direct:// all the time anyway: % GET http://wpad/wpad.dat function FindProxyForURL(url, host) { if (!isResolvable(host) || isPlainHostName(host) || dnsDomainIs(host, .intern)) return DIRECT; else return PROXY webcache:3128; DIRECT; } % echo http://www.debian.org/ | proxy direct:// % Any idea how to debug this? -- Happy hacking Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#644373: libproxy0 0.3.1-3 doesn't work with automatic proxy configuration
[Petter Reinholdtsen] Any idea how to debug this? I found a fix. Installing libwebkitgtk-1.0-0 causes proxy to handle the WPAD file. Found the need for this library by looking at the strace output. -- Happy hacking Petter Reinholdtsen -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#644373: libproxy0 0.3.1-3 doesn't work with automatic proxy configuration
On Wed, Oct 05, 2011 at 06:15:30PM +0200, Josselin Mouette wrote: That's not the only thing that is broken btw, the GNOME global proxy settings seem to be ignored by apps such as rhythmbox or the weather applet (those work fine in squeeze), but reverting libproxy doesn't seem to help in this case. This is a different issue, caused by a premature update of libsoup and glib-networking in unstable, while the control-center able to handle settings for these new versions is still in experimental. Hasn't this been solved yet? I'm running GNOME 3 now, but Epiphany (3.2) still doesn't use the global proxy settings. Not even Iceweasel works if I choose 'Use system proxy settings' now. Chromium appears to work fine, though. Is this a known problem? Is there a bug for it? Berto -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#644373: libproxy0 0.3.1-3 doesn't work with automatic proxy configuration
On Wed, Oct 05, 2011 at 02:11:01PM +0300, Alberto Garcia wrote: Support for the 'Automatic proxy configuration' mode (from gnome-network-properties) seems to be broken after upgrading libproxy from version 0.3.1-2. I recompiled libproxy 0.3.1-2 in my computer but the problem didn't disappear, so the thing is probably not in the libproxy code itself but in its dependencies (e.g. squeeze uses libmozjs2d whereas testing/sid uses libmozjs6d). It also FTBFS with a recent environment, btw: proxy.c: In function ‘print_proxies’: proxy.c:92:3: error: format not a string literal and no format arguments [-Werror=format-security] cc1: some warnings being treated as errors Berto -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#644373: libproxy0 0.3.1-3 doesn't work with automatic proxy configuration
Package: libproxy0 Version: 0.3.1-3 Severity: important Support for the 'Automatic proxy configuration' mode (from gnome-network-properties) seems to be broken after upgrading libproxy from version 0.3.1-2. Instead of returning the list of proxies for a given URL, it just returns 'direct://' I'm attaching a simple test case. -- System Information: Debian Release: wheezy/sid APT prefers testing APT policy: (500, 'testing') Architecture: i386 (i686) Kernel: Linux 3.0.0-1-686-pae (SMP w/2 CPU cores) Locale: LANG=pt_PT, LC_CTYPE=pt_PT (charmap=UTF-8) (ignored: LC_ALL set to pt_PT.UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages libproxy0 depends on: ii libc6 2.13-21 Versions of packages libproxy0 recommends: ii libmozjs6d 6.0.2-1 ii libwebkitgtk-1.0-0 1.4.2-2 libproxy0 suggests no packages. -- no debconf information /* gcc -o test test.c -lproxy */ #include stdio.h #include proxy.h int main (void) { char *url = http://www.debian.org/;; char **p; pxProxyFactory *factory; factory = px_proxy_factory_new (); p = px_proxy_factory_get_proxies (factory, url); for (; *p != NULL; p++) { puts(*p); } return 0; }
Bug#644373: libproxy0 0.3.1-3 doesn't work with automatic proxy configuration
On Wed, Oct 05, 2011 at 02:11:01PM +0300, Alberto Garcia wrote: Support for the 'Automatic proxy configuration' mode (from gnome-network-properties) seems to be broken after upgrading libproxy from version 0.3.1-2. That's not the only thing that is broken btw, the GNOME global proxy settings seem to be ignored by apps such as rhythmbox or the weather applet (those work fine in squeeze), but reverting libproxy doesn't seem to help in this case. Berto -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#644373: libproxy0 0.3.1-3 doesn't work with automatic proxy configuration
Le mercredi 05 octobre 2011 à 15:14 +0300, Alberto Garcia a écrit : That's not the only thing that is broken btw, the GNOME global proxy settings seem to be ignored by apps such as rhythmbox or the weather applet (those work fine in squeeze), but reverting libproxy doesn't seem to help in this case. This is a different issue, caused by a premature update of libsoup and glib-networking in unstable, while the control-center able to handle settings for these new versions is still in experimental. -- .''`. Josselin Mouette : :' : `. `' `- -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#644373: libproxy0 0.3.1-3 doesn't work with automatic proxy configuration
On Wed, Oct 05, 2011 at 06:15:30PM +0200, Josselin Mouette wrote: That's not the only thing that is broken btw, the GNOME global proxy settings seem to be ignored by apps such as rhythmbox or the weather applet This is a different issue, caused by a premature update of libsoup and glib-networking in unstable Ah, I imagined it was a different problem, but good to know that it's already known, thanks ! Berto -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org