Closed Bug 96624 Opened 24 years ago Closed 24 years ago

Problems loading zip through socks V4 firewall

Categories

(Core Graveyard :: Plug-ins, defect)

x86
Windows NT
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: David_B13, Assigned: bbaetz)

References

Details

Using Navigator 4.x or IE the Java applet at this URL works: <http://spaceflight.nasa.gov/realdata/tracking/index.html> Trying that with Netscape 6.0 and even Mozilla 0.9.3 does not work. (Build ID 2001081703). The Mozilla preferences have been set to use Socks V4 and there is no trouble accessing outside sites. Java is set up to use browser proxy settings. Mozilla is the default browser for the system. Here is the output from the Java console: java.lang.NullPointerException at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source) at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source) at java.net.HttpURLConnection.getResponseCode(Unknown Source) at sun.applet.AppletClassLoader.getBytes(Unknown Source) at sun.applet.AppletClassLoader.access$100(Unknown Source) at sun.applet.AppletClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at sun.applet.AppletClassLoader.findClass(Unknown Source) at sun.plugin.security.PluginClassLoader.findClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at sun.applet.AppletClassLoader.loadCode(Unknown Source) at sun.applet.AppletPanel.createApplet(Unknown Source) at sun.plugin.AppletViewer.createApplet(Unknown Source) at sun.applet.AppletPanel.runLoader(Unknown Source) at sun.applet.AppletPanel.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Here is what shows up in the applet window of the browser --my proxy host name has been masked as xxx.yyy.zzz by me in this excerpt. Sorry for any typos as I can't cut and paste from that window: Loading Java Applet... Sending events to applet. LOAD Sending events to applet. INIT Sending events to applet. START Opening http://spaceflight.nasa.gov/realdata/tracking/usa/live/map.class connecting http://spaceflight.nasa.gov/realdata/tracking/usa/live/map.class with proxy=xxx.yyy.zzz:1080
qa:pmac
QA Contact: shrir → pmac
ed: I think this is a good answer to what happens when we tell java the wrong thing.... Currently mozilla tells the plugin that it is using an http proxy, even if it is actually using a socks one. This is fixed as part of my patch to bug 89500. Confirming, since I've seen the code in the plugin glue which does this.
Status: UNCONFIRMED → NEW
Depends on: 89500
Ever confirmed: true
oh, and ->plugins.
Assignee: edburns → av
Component: OJI → Plug-ins
QA Contact: pmac → shrir
-->OJI
Assignee: av → edburns
Component: Plug-ins → OJI
No, back -> plugins (and I'll take this) - the bad code is in nsPluginHostImpl.cpp, in FindProxyForUrl (Think thats the name; I don't have that file open ATM)
Assignee: edburns → bbaetz
Component: OJI → Plug-ins
reporter, can you please confirm that this is fixed with today's (or later) nightly builds? It should have been, I think.
Sadly, there is still the same behavior. I am testing the Build ID 2001091003.
No, that build is from the 10th, and this only went in last night. You need a build dated after 2001091300.
Absolutely wonderful!
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
v
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.