After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 703854 - GProxyResolver doesn't report error when PAC fails due to missing PAC module
GProxyResolver doesn't report error when PAC fails due to missing PAC module
Status: RESOLVED OBSOLETE
Product: glib
Classification: Platform
Component: network
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: gtkdev
gtkdev
: 751370 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-07-09 09:42 UTC by Felix
Modified: 2018-05-29 06:42 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Felix 2013-07-09 09:42:28 UTC
When configuring system wide proxy settings with an Proxy Auto-Config-File (.pac), proxy servers in the .pac file are not used.

Reproducible on Arch Linux.
Comment 1 Frédéric Parrenin 2015-01-19 09:08:36 UTC
I have the same problem on debian jessie.
When I configure the proxy manually, epiphany works.
When I configure the proxy automatically using the .pac file, it does not work.
Note that when using firefox and configuring the proxy automatically using the same .pac file, it *does* work.
Comment 2 Michael Catanzaro 2015-06-02 17:18:29 UTC
Hi, how do you "configure system wide proxy settings with an Proxy Auto-Config-File?" Please provide specific steps.
Comment 3 Frédéric Parrenin 2015-06-02 17:49:29 UTC
In gnome settings, choose "network", then "proxy" and "automatic". Then enter the address of the .pac file.
Comment 4 Michael Catanzaro 2015-06-02 19:05:29 UTC
OK... Epiphany doesn't have anything to do with that. I will move this to libsoup to be conservative, but I guess it's an enhancement request for gio.
Comment 5 Dan Winship 2015-06-21 15:44:55 UTC
PAC works fine on Fedora... does glib-pacrunner get started after you set "automatic" proxy mode and then try to connect to something?

I'm guessing probably the problem is that you don't have either of the two libproxy pacrunner modules installed (eg, on Fedora 21, /usr/lib64/libproxy/0.4.11/modules/pacrunner_mozjs.so). Presumably due to how the libproxy package is split up on arch/debian.

Can you confirm that installing either the mozjs or the webkit libproxy pacrunner module fixes things? If so, we need to figure out some way to get an error message out here rather than just failing silently...
Comment 6 Frédéric Parrenin 2015-06-22 17:11:10 UTC
On my debian jessie system, I just remarked that the libproxy1-plugin-webkit and libproxy1-plugin-gsettings packages are not installed. Maybe this is the reason why epiphany does not work with automatic proxy configuration?
Sorry, I cannot test the software before September, since I am out of my lab for the summer.
Comment 7 Frédéric Parrenin 2015-06-22 21:16:31 UTC
Actually, I was able to test the proxy configuration using VPN.
So I confirm that now, on my debian Jessie system, epiphany works with an automatic proxy configuration after I installed libproxy1-plugin-webkit. Therefore, I will report this problem to debian. Thanks for the help.
Comment 8 Dan Winship 2015-06-22 21:19:05 UTC
OK. It's still a glib bug too though because we really ought to be able to report this error in some way... Maybe just have gnome-control-center check for it...
Comment 9 Michael Catanzaro 2015-06-23 13:39:05 UTC
*** Bug 751370 has been marked as a duplicate of this bug. ***
Comment 10 Frédéric Parrenin 2015-06-23 17:19:34 UTC
The corresponding debian bug has been reported here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=789630
Comment 11 Dan Winship 2015-07-19 17:27:11 UTC
Unfortunately, libproxy doesn't return any error in this case (and in fact, has no way to return errors in its API).

So this will likely stay broken until bug 659857 is implemented.
Comment 12 GNOME Infrastructure Team 2018-05-24 15:30:07 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib/issues/728.
Comment 13 Michael Catanzaro 2018-05-25 16:36:05 UTC
Reopening. This bug was migrated to https://gitlab.gnome.org/GNOME/glib, but it should have been migrated to https://gitlab.gnome.org/GNOME/glib-networking.
Comment 14 Christoph Reiter (lazka) 2018-05-29 06:42:34 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/glib-networking/issues/22.