jupload 5.0rc3 error in HTTPS jupload 5.0rc3 error in HTTPS
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

jupload 5.0rc3 error in HTTPS

Started by aidanpryde, June 04, 2010, 08:01:44 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

aidanpryde

Hi,

I'm working on a video upload application using the jupload applet, and everything is working in http but when I moved the applet to production I get the following error

"00092    11:56:33.904    HttpProtocolFinderThread   [ERROR]    [java.lang.UnsupportedOperationException] The method shutdownOutput() is not supported in SSLSocket (Unable to access to the postURL: 'https://www2.interactionassociates.com/tools/adminx/video_upload.php')"

I've seen mention that this was fixed here: http://sourceforge.net/tracker/?func=detail&aid=2782690&group_id=59144&atid=490053 but I can't seem to get it working. What can I give you that will help diagnose this issue.

Cheers and thanks in advance!

Trevor West

phill104

A link to your Coppermine powered gallery would be a good start.
It is a mistake to think you can solve any major problems just with potatoes.

Joachim Müller

You should generally speaking make sure that regular http uploads work as expected before fiddling with JUpload, so basically you should do as suggested in http://coppermine-gallery.net/demo/cpg14x/docs/index.htm#upload_support This will help supporters in troubleshooting JUpload issues as well.

etienne_sf

Quote from: aidanpryde on June 04, 2010, 08:01:44 PM
I'm working on a video upload application using the jupload applet, and everything is working in http but when I moved the applet to production I get the following error

"00092    11:56:33.904    HttpProtocolFinderThread   [ERROR]    [java.lang.UnsupportedOperationException] The method shutdownOutput() is not supported in SSLSocket (Unable to access to the postURL: 'https://www2.interactionassociates.com/tools/adminx/video_upload.php')"

Hi,

  I guess you're using the applet alone, and not within the Coppermine Gallery. This forum is for the 'JUpload for Coppermine' plugin support. Support for the applet alone is given on Sourceforge forums.

  In both cases, you should:
1) Give much more information (JUpload version, OS, navigator...)
2) Post the JUpload debug output, like explained in the doc.

  Then .. Does it work in HTTP ?   Are you using a proxy.  We recently corrected a bug for https support, in proxy mode. Not released yet... but should come soon.

Etienne Gauthier

aidanpryde

Sorry about the wrong forum, I'll add a post to that forum instead, thanks for the responses.

Here's the information you asked for:
1) I'm using the base jupload
2) URL for example here https://www2.interactionassociates.com/tools/adminx/video_upload.php (yes I know it's in demo mode but the error is still visible).
3) It's Jupload 5.0rc3, on RedHat 5 enterprise, JRE 1.6.0_14
4) Yes it does work fine in http on the same server
5) Here's the debug log:
00000 22:11:03.345 wjhk.jupload2.gui.JUploadTextArea$LogMessageThread [DEBUG] Logging system is initialized00001 22:11:02.843 wjhk.jupload2.JUploadApplet [INFO] JUpload juploadContext started, with wjhk.jupload2.policies.DefaultUploadPolicy upload policy
00002 22:11:02.845 wjhk.jupload2.JUploadApplet [INFO] Debug level set to 99
00003 22:11:02.846 wjhk.jupload2.JUploadApplet [INFO] Current debug output file: C:\Users\trevorw\AppData\Local\Temp\jupload_7417559555218591668_log.txt
00004 22:11:02.846 wjhk.jupload2.JUploadApplet [INFO] lang = null, taking default language
00005 22:11:03.326 wjhk.jupload2.JUploadApplet [DEBUG] [DefaultUploadPolicy] end of constructor (serverProtocol has been set)
00006 22:11:03.326 HttpProtocolFinderThread [DEBUG] Getting serverProtocol from HEAD request
00007 22:11:03.326 wjhk.jupload2.JUploadApplet [DEBUG] uploadPolicy parameter = DefaultUploadPolicy
00008 22:11:03.327 HttpProtocolFinderThread [DEBUG] Checking protocol with URL: https://www2.interactionassociates.com/tools/adminx/video_upload.php
00009 22:11:03.328 wjhk.jupload2.JUploadApplet [DEBUG] uploadPolicy = wjhk.jupload2.policies.DefaultUploadPolicy
00010 22:11:03.328 wjhk.jupload2.JUploadApplet [DEBUG] =======================================================================
00011 22:11:03.328 wjhk.jupload2.JUploadApplet [DEBUG] ======= Parameters managed by DefaultUploadPolicy
00012 22:11:03.328 HttpProtocolFinderThread [DEBUG] [initByteArrayEncoder] proxy=DIRECT, proxy.type=DIRECT, useProxy=false, url.host=www2.interactionassociates.com, url.port=-1
00013 22:11:03.328 wjhk.jupload2.JUploadApplet [INFO] JUpload applet, version 5.0.0rc3 [SVN-Rev: Unknown revision (please use the build.xml ant script)] on Unknown build date (please use the build.xml ant script) (compiled: Unknown build date (please use the build.xml ant script)), available at http://jupload.sourceforge.net/
00014 22:11:03.329 HttpProtocolFinderThread [DEBUG] [onAppendHeader] Start
00015 22:11:03.329 wjhk.jupload2.JUploadApplet [DEBUG] Java version: 1.6.0_20
00016 22:11:03.329 HttpProtocolFinderThread [DEBUG] [onAppendHeader] Header appended; Cookie: SESSdbe09bce5f10a38276d21a4a5b4fdf4c=tht0c7uafbhqtk9p32v172hit5; __utmz=130671625.1275673993.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); PHPSESSID=t75o8cb1p45v9bh5khhv5u1260; has_js=1; __utma=130671625.1502639503.1275673993.1275673993.1275969830.2; __utmc=130671625; __utmb=130671625.2.10.1275969830; my_collections_widget_open=false; collections_widget_open=false; open_collection_ids=; add_collection_select_value=0; community_collections_widget_open=false; community_open_collection_ids=
00017 22:11:03.330 wjhk.jupload2.JUploadApplet [DEBUG] List of all applet parameters:
00018 22:11:03.330 HttpProtocolFinderThread [DEBUG] [onAppendHeader] Header appended; User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.70 Safari/533.4
00019 22:11:03.330 wjhk.jupload2.JUploadApplet [DEBUG]   language: en
00020 22:11:03.330 HttpProtocolFinderThread [DEBUG] [onAppendHeader] End
00021 22:11:03.331 wjhk.jupload2.JUploadApplet [DEBUG]   country:
00022 22:11:03.331 HttpProtocolFinderThread [DEBUG] [HTTPConnectionHelper append]
00023 22:11:03.331 HttpProtocolFinderThread [DEBUG] Before sendRequest()
00024 22:11:03.332 wjhk.jupload2.JUploadApplet [DEBUG] afterUploadURL: https://www2.interactionassociates.com/tools/adminx/after_upload.php
00025 22:11:03.332 HttpProtocolFinderThread [DEBUG] Using SSL socket, direct connection
00026 22:11:03.332 wjhk.jupload2.JUploadApplet [DEBUG] allowHttpPersistent: false
00027 22:11:03.333 wjhk.jupload2.JUploadApplet [DEBUG] allowedFileExtensions: null
00028 22:11:03.333 wjhk.jupload2.JUploadApplet [DEBUG] browsingDirectory (current value): null
00029 22:11:03.333 wjhk.jupload2.JUploadApplet [DEBUG] debugLevel: 99
00030 22:11:03.334 wjhk.jupload2.JUploadApplet [DEBUG]   (debugfile: C:\Users\trevorw\AppData\Local\Temp\jupload_7417559555218591668_log.txt)
00031 22:11:03.334 wjhk.jupload2.JUploadApplet [DEBUG] fileChooserIconFromFileContent: 0
00032 22:11:03.334 wjhk.jupload2.JUploadApplet [DEBUG] fileChooserIconSize: 20
00033 22:11:03.335 wjhk.jupload2.JUploadApplet [DEBUG] filenameEncoding: null
00034 22:11:03.335 wjhk.jupload2.JUploadApplet [DEBUG] formdata: null
00035 22:11:03.335 wjhk.jupload2.JUploadApplet [DEBUG] ftpCreateDirectoryStructure: false
00036 22:11:03.336 wjhk.jupload2.JUploadApplet [DEBUG] ftpTransfertBinary: true
00037 22:11:03.336 wjhk.jupload2.JUploadApplet [DEBUG] ftpTransfertPassive: true
00038 22:11:03.336 wjhk.jupload2.JUploadApplet [DEBUG] httpUploadParameterName: File
00039 22:11:03.337 wjhk.jupload2.JUploadApplet [DEBUG] httpUploadParameterType: array
00040 22:11:03.337 wjhk.jupload2.JUploadApplet [DEBUG] lang: null
00041 22:11:03.337 wjhk.jupload2.JUploadApplet [DEBUG] maxChunkSize: 500000
00042 22:11:03.338 wjhk.jupload2.JUploadApplet [INFO] maxFileSize: 2147483648
00043 22:11:03.338 wjhk.jupload2.JUploadApplet [DEBUG] nbFilesPerRequest: 1
00044 22:11:03.338 wjhk.jupload2.JUploadApplet [DEBUG] postURL: https://www2.interactionassociates.com/tools/adminx/video_upload.php
00045 22:11:03.338 wjhk.jupload2.JUploadApplet [DEBUG] readCookieFromNavigator: true
00046 22:11:03.339 wjhk.jupload2.JUploadApplet [DEBUG] readUserAgentFromNavigator: true
00047 22:11:03.339 wjhk.jupload2.JUploadApplet [DEBUG] retryMaxNumberOf: 1
00048 22:11:03.339 wjhk.jupload2.JUploadApplet [DEBUG] retryNbSecondsBetween: 30
00049 22:11:03.340 wjhk.jupload2.JUploadApplet [DEBUG] serverProtocol: HTTP/1.1
00050 22:11:03.340 wjhk.jupload2.JUploadApplet [DEBUG] showLogWindow: true
00051 22:11:03.340 wjhk.jupload2.JUploadApplet [DEBUG] showStatusbar: true
00052 22:11:03.341 wjhk.jupload2.JUploadApplet [DEBUG] specificHeaders: null
00053 22:11:03.341 wjhk.jupload2.JUploadApplet [DEBUG] Headers that will be added to the POST request:
00054 22:11:03.341 wjhk.jupload2.JUploadApplet [DEBUG] Cookie: SESSdbe09bce5f10a38276d21a4a5b4fdf4c=tht0c7uafbhqtk9p32v172hit5; __utmz=130671625.1275673993.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); PHPSESSID=t75o8cb1p45v9bh5khhv5u1260; has_js=1; __utma=130671625.1502639503.1275673993.1275673993.1275969830.2; __utmc=130671625; __utmb=130671625.2.10.1275969830; my_collections_widget_open=false; collections_widget_open=false; open_collection_ids=; add_collection_select_value=0; community_collections_widget_open=false; community_open_collection_ids=
00055 22:11:03.342 wjhk.jupload2.JUploadApplet [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.70 Safari/533.4
00056 22:11:03.342 wjhk.jupload2.JUploadApplet [DEBUG] stringUploadError: ERROR: (.*)
00057 22:11:03.342 wjhk.jupload2.JUploadApplet [DEBUG] stringUploadSuccess: SUCCESS
00058 22:11:03.343 wjhk.jupload2.JUploadApplet [DEBUG] stringUploadWarning: ^WARNING: (.*)$
00059 22:11:03.343 wjhk.jupload2.JUploadApplet [DEBUG] urlToSendErrorTo: null
00060 22:11:03.343 wjhk.jupload2.JUploadApplet [DEBUG]
00061 22:11:03.344 wjhk.jupload2.JUploadApplet [DEBUG] After UploadPolicyFactory.getUploadPolicy(this)
00062 22:11:03.344 wjhk.jupload2.JUploadApplet [DEBUG] Before this.logWindow.setUploadPolicy(this.uploadPolicy)
00063 22:11:03.344 wjhk.jupload2.JUploadApplet [DEBUG] Before new JUploadPanelImpl(this.logWindow,this.uploadPolicy)
00064 22:11:03.359 wjhk.jupload2.JUploadApplet [DEBUG] Before rootPaneContainer.setContentPane(this.jUploadPanel);
00065 22:11:03.366 wjhk.jupload2.JUploadApplet [DEBUG] Before new JavascriptHandler(this.uploadPolicy, this.jUploadPanel)
00066 22:11:03.367 wjhk.jupload2.JUploadApplet [DEBUG] Before new Properties();
00067 22:11:03.369 wjhk.jupload2.JUploadApplet [DEBUG] Mime types list loaded Ok (/conf/mimetypes.properties)
00068 22:11:03.369 wjhk.jupload2.JUploadApplet [DEBUG] End of DefaultJUploadContext.init()
00069 22:11:03.370 thread applet-wjhk.jupload2.JUploadApplet-5 [INFO] JUploadApplet is now initialized.
00070 22:11:03.377 thread applet-wjhk.jupload2.JUploadApplet-5 [INFO] JUploadApplet is now started.
00071 22:11:03.415 HttpProtocolFinderThread [DEBUG] After sendRequest()
00072 22:11:03.785 HttpProtocolFinderThread [DEBUG] -------------------------------------------------------------------------
00073 22:11:03.787 HttpProtocolFinderThread [DEBUG] -----------------   HEAD message sent (start)  --------------------------
00074 22:11:03.787 HttpProtocolFinderThread [DEBUG] -------------------------------------------------------------------------
00075 22:11:03.788 HttpProtocolFinderThread [DEBUG] HEAD /tools/adminx/video_upload.php HTTP/1.1
00075 22:11:03.788 HttpProtocolFinderThread [DEBUG] Host: www2.interactionassociates.com
00075 22:11:03.788 HttpProtocolFinderThread [DEBUG] Accept: */*
00075 22:11:03.788 HttpProtocolFinderThread [DEBUG] Accept-Encoding: identity
00075 22:11:03.788 HttpProtocolFinderThread [DEBUG] Connection: close
00075 22:11:03.788 HttpProtocolFinderThread [DEBUG] Cookie: SESSdbe09bce5f10a38276d21a4a5b4fdf4c=tht0c7uafbhqtk9p32v172hit5; __utmz=130671625.1275673993.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none); PHPSESSID=t75o8cb1p45v9bh5khhv5u1260; has_js=1; __utma=130671625.1502639503.1275673993.1275673993.1275969830.2; __utmc=130671625; __utmb=130671625.2.10.1275969830; my_collections_widget_open=false; collections_widget_open=false; open_collection_ids=; add_collection_select_value=0; community_collections_widget_open=false; community_open_collection_ids=
00075 22:11:03.788 HttpProtocolFinderThread [DEBUG] User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.70 Safari/533.4
00075 22:11:03.788 HttpProtocolFinderThread [DEBUG]
00076 22:11:03.789 HttpProtocolFinderThread [DEBUG] -------------------------------------------------------------------------
00077 22:11:03.789 HttpProtocolFinderThread [DEBUG] -----------------   HEAD message sent (end) -----------------------------
00078 22:11:03.792 HttpProtocolFinderThread [DEBUG] -------------------------------------------------------------------------
00079 22:11:03.792 HttpProtocolFinderThread [DEBUG] -------- Response Headers Start --------
00080 22:11:03.879 HttpProtocolFinderThread [DEBUG] HTTP/1.1 200 OK
00081 22:11:03.879 HttpProtocolFinderThread [DEBUG] Date: Tue, 08 Jun 2010 04:07:02 GMT
00082 22:11:03.879 HttpProtocolFinderThread [DEBUG] Server: Apache/2.2.3 (Red Hat)
00083 22:11:03.880 HttpProtocolFinderThread [DEBUG] X-Powered-By: PHP/5.1.6
00084 22:11:03.880 HttpProtocolFinderThread [DEBUG] Expires: Thu, 19 Nov 1981 08:52:00 GMT
00085 22:11:03.880 HttpProtocolFinderThread [DEBUG] Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
00086 22:11:03.880 HttpProtocolFinderThread [DEBUG] Pragma: no-cache
00087 22:11:03.880 HttpProtocolFinderThread [DEBUG] Connection: close
00088 22:11:03.880 HttpProtocolFinderThread [DEBUG] Content-Type: text/html; charset=UTF-8
00089 22:11:03.880 HttpProtocolFinderThread [DEBUG]
00090 22:11:03.880 HttpProtocolFinderThread [DEBUG] --------- Response Headers End ---------
00091 22:11:03.880 HttpProtocolFinderThread [DEBUG] This is a HEAD request: we don't care about the bytearrayResponseBody
00092 22:11:05.522 HttpProtocolFinderThread [ERROR] [java.lang.UnsupportedOperationException] The method shutdownOutput() is not supported in SSLSocket (Unable to access to the postURL: 'https://www2.interactionassociates.com/tools/adminx/video_upload.php')
00093 22:11:05.523 HttpProtocolFinderThread java.lang.UnsupportedOperationException: The method shutdownOutput() is not supported in SSLSocket
00093 22:11:05.523 HttpProtocolFinderThread at com.sun.net.ssl.internal.ssl.BaseSSLSocketImpl.shutdownOutput(Unknown Source)
00093 22:11:05.523 HttpProtocolFinderThread at wjhk.jupload2.upload.helper.HTTPConnectionHelper.dispose(HTTPConnectionHelper.java:378)
00093 22:11:05.523 HttpProtocolFinderThread at wjhk.jupload2.upload.helper.HTTPConnectionHelper.readHttpResponse(HTTPConnectionHelper.java:683)
00093 22:11:05.523 HttpProtocolFinderThread at wjhk.jupload2.upload.helper.HttpConnect.getProtocol(HttpConnect.java:291)
00093 22:11:05.523 HttpProtocolFinderThread at wjhk.jupload2.upload.helper.HttpProtocolFinderThread.run(HttpProtocolFinderThread.java:98)


Thanks in advance,

Trevor

etienne_sf

Hi,

  You can try this pre-version of 5.0.0rc4. The bug is now corrected.

Etienne


LOCKING THIS THREAD, AS IT IS OUT OF TOPIC