[Bug 1222912] Re: Error parsing proxy.pac
Michael Greene
mgreene at securityinnovation.com
Wed Sep 23 19:15:15 UTC 2015
I'm having a very similar issue here.
If I tell Firefox to use a proxy file (i.e. set
network.proxy.autoconfig_url = file:///etc/proxy.pac and
network.proxy.type = 2), and that pacfile exists, everything works fine,
even if returning two proxies.
If I then rename or remove that proxy.pac, firefox goes along on its way
merrily, but the IcedTea plugin fails. Running firefox from the cli
yields the following output:
java version "1.7.0_79"
OpenJDK Runtime Environment (IcedTea 2.5.6) (7u79-2.5.6-0ubuntu1.12.04.1)
OpenJDK Client VM (build 24.79-b02, mixed mode, sharing)
Unable to use Firefox's proxy settings. Using "DIRECT" as proxy type.
(plugin-container:4609): GLib-WARNING **: Invalid UTF-8 passed to g_io_channel_write_chars().
/bui/dbuildd/icedtea-web-1.2.3/build7/../plugin/icedteanp/IcedTeaNPPlugin.cc:1859: thread 0xb1f2b560: Error: Failed to write bytes to output channel: Invalid byte sequence in conversion input
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to icedtea-web in Ubuntu.
https://bugs.launchpad.net/bugs/1222912
Title:
Error parsing proxy.pac
Status in icedtea-web package in Ubuntu:
New
Bug description:
Ubuntu 12.04.3 LTS 32-bit up-to-date
When using the following proxy.pac, IcedTea doesn't open embedded java
applets in Firefox or Chromium:
function FindProxyForURL(url, host) {
return "PROXY 192.168.1.3:8080; DIRECT";
}
I had to change to:
function FindProxyForURL(url, host) {
return "PROXY 192.168.1.3:8080";
}
There is some problem passing & parsing proxy.pac configurations.
I tried using proxy.pac using system proxy configuration, browser
proxy configuration and IcedTea Web Control Panel.
My conclusion is that proxy.pac only work if they return one proxy
possibility (as my above example).
Similar to:
https://bugs.launchpad.net/ubuntu/+source/firefox/+bug/1091926
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/icedtea-web/+bug/1222912/+subscriptions
More information about the foundations-bugs
mailing list