Browser and system proxy settings are ignored

Bug #274360 reported by David O'Callaghan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
icedtea-gcjwebplugin (Ubuntu)
Won't Fix
Undecided
Unassigned
openjdk-6 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: icedtea-gcjwebplugin

Package: icedtea-gcjwebplugin 1.0-0ubuntu5
Description: Ubuntu 8.04.1
Release: 8.04

My desktop PC is behind a non-transparent web proxy and I have this configured in my browser and system preferences.

When attempting to load an applet (e.g. from http://www.java.com/en/download/help/testvm.xml) the browser status changes to "starting applet..." but I see only a grey box. The log shows "netx: Initialization Error: Could not initialize applet. (java.lang.ClassNotFoundException testvmDynamicJavaComPopUp819)"

To work around this I set up Squid as a transparent proxy and configured iptables to redirect web traffic to it. When this is enabled the applet loads successfully.

I would expect the plugin to use the system or browser proxy settings for downloading class files. Instead it assumes a direct connection to the web.

Revision history for this message
Matthias Klose (doko) wrote :

works with icedtea6-plugin in the openjdk PPA (and the ca-certficates-java package installed)

Changed in icedtea-gcjwebplugin:
status: New → In Progress
Revision history for this message
Matthias Klose (doko) wrote :

fixed in 6b12~pre2

Changed in openjdk-6:
status: New → Fix Released
Changed in icedtea-gcjwebplugin:
status: In Progress → Won't Fix
Revision history for this message
David O'Callaghan (david-ocallaghan) wrote :

Not working for me with icedtea6-plugin from the openjdk PPA or the latest release in Intrepid.

I can't use applets through proxy settings configured in browser/system. I've tested this with firefox in a clean profile in safe mode. It only works if I set up squid as a transparent proxy and set iptables to redirect traffic on port 80 to the proxy. http_proxy env variable is set and proxy is also config'd for Gnome.

I'm happy to supply more information on request.

Tested with:
icedtea6-plugin
    6b12-1ubuntu1~ppa10
    6b12-0ubuntu6

firefox
    3.0.3+nobinonly-0ubuntu2

Revision history for this message
David O'Callaghan (david-ocallaghan) wrote :

I don't believe the fix works: see my comment from 2008-11-03.

Revision history for this message
borov (borov) wrote :

Any chance what problem with proxy will be solved in 8.04.3 LTS?

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.