Hi Guys,

I need some help out here. Whenever i try to download a file through my download button in my application, it works fine if I'm connected via network cable. But if I'm connected through VPN over wireless, It gives me a Connection Reset error. In the applet console I get the following stacktrace:

java.io.IOException: Server returned HTTP response code: 413 for URL: http://qatemp-harmony.platts.mcgraw-hill.com/alfresco/service/harmony/downloadpackagecontent?alf_ticket=TICKET_f8b1fe2764207f8f112dba4376111ad9a9d607ae&packageInstanceId=1353073
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
    at com.platts.harmony.applet.download.DownloadContentApplet$1.run(DownloadContentApplet.java:68)
    at com.platts.harmony.applet.download.DownloadContentApplet$1.run(DownloadContentApplet.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.platts.harmony.applet.download.DownloadContentApplet.downloadContent(DownloadContentApplet.java:37)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at sun.plugin.javascript.invoke.JSInvoke.invoke(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at sun.plugin.javascript.JSClassLoader.invoke(Unknown Source)
    at sun.plugin.com.MethodDispatcher.invoke(Unknown Source)
    at sun.plugin.com.DispatchImpl.invokeImpl(Unknown Source)
    at sun.plugin.com.DispatchImpl$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin.com.DispatchImpl.invoke(Unknown Source)

In my application I have used HttpURLConnection to connect to a remote server and get the inputstream from it. We have used applet utility to provide the download feature. Its weird that it works without VPN connectivity but with VPN over wireless, it gives errors.

Please help me ASAP if you have any solutions to this.