Ticket #287 (new task)

Opened 15 years ago

Last modified 14 years ago

Proxy Server Issues - FAQ entry

Reported by: kmaclean Owned by: kmaclean
Priority: major Milestone: SpeechSubmission 0.1.8
Component: SpeechSubmission Version: SpeechSubmission 0.1
Keywords: Cc:


FAQ link from Speech Submission Page to tell users how to avoid proxy server errors.

Change History

comment:1 Changed 15 years ago by kmaclean

Hi David,

I increased the Java console trace level to 2 (by pressing 2 in the
    console), which allowed me to see that the upload attempts were
    definitely going through the Web proxy server.

    I then noticed that the Java console lets me 'reload proxy
    configuration' by pressing p.  So I did so, and Java stopped using the
    proxy. My next attempt to submit speech was successful.

    In case you are interested, I've included below an excerpt of the
    console output when I first increased the trace level to 2, and I have
    attached (as success.txt.gz) the console output from the following
    successful upload without the proxy.

Thanks. I never even though there might be proxy issues. I'll have to create a note or a reference to a FAQ for people using proxies.

So to summarize, if someone is using a proxy, they need to change their Firefox and Java settings to not use the proxy. But for the change in Java to take hold, you need to go to the Java console and 'reload proxy configuration' by pressing "p" and Java will stop using the proxy.

Just to confirm what you did to disable the proxy in FireFox?, you need to go to:

  • Edit>Preferences>Network Tab>Connection Settings, and
  • click direct connection to the Internet.

How do you tell Java not to use a proxy? is this done by first disabling proxy in Firefox and then "reloading the proxy configuration" in the Java console?


comment:2 Changed 15 years ago by kmaclean

Here's my attempt at something that could be used in a FAQ:

Windows XP:

Right-click the Java icon in the system tray (this is usually near the lower-right corner of the screen while a Java application is running), and choose 'Open Control Panel' from the menu that pops up. On the General tab of the Java Control Panel, click the Network Settings button and then choose 'Direct connection' in the Network Settings dialog. Then press OK to close the Network Settings dialog and press OK again to close the Java Control Panel. Then right-click the Java icon in the system tray again, choose Open Console from the menu, and press the p key in the Java Console window to tell the console to reload the proxy configuration. (I'm not sure if this last step is necessary.)

The reason I'm not sure if the part involving the Java Console is necessary (although it seemed like it earlier this week) is that today I have been unable to reproduce the uploading problem I had earlier this week, so I haven't been able to experiment with that.

Regards, David

comment:3 Changed 15 years ago by kmaclean

  • Milestone changed from SpeechSubmission 0.1.3 to SpeechSubmission 0.1.2

comment:4 Changed 15 years ago by kmaclean

  • Milestone changed from SpeechSubmission 0.1.2 to SpeechSubmission 0.1.3

comment:5 Changed 15 years ago by kmaclean

  • Milestone changed from SpeechSubmission 0.1.3 to SpeechSubmission 0.1.4

comment:6 Changed 14 years ago by kmaclean

From this post:

The VoxForge speech submission app uses code from the poslet upload applet. There is information on the postlet site that addresses how to deal with proxies:

For users behind a proxy server, you need to ensure that Java is correctly set up on your machine.

To set the proxy server for your JRE, assuming you're using the SUN JRE, then do the following steps:

  • Open the JRE control panel. On windows this is located in the system control panel under Java (Start -> Control Panel -> Java - If this isn't visible, ensure you're using "Classic View", and not "Category View"). On Linux, this can be located by using the output of $ which java . This will likely point (after symbolic links) to something like /usr/lib/jvm/jre-1.5.0-sun/bin/java . The ControlPanel? can be executed by substituting java on the end of this with ControlPanel? .
  • Click the "General" tab, and then click the "Network Settings..." button. Enter the proxy settings as stipulated by your local systen administrator
  • Restart your web browser.
  • Postlet will now use the proxy connection settings that you have specified.

For users of other JREs, including Mac users, please refer to the supplier of your JRE for changing the above settings.

Note: See TracTickets for help on using tickets.