jproxy problem

Upload core product.
Post Reply
jackp10
Posts: 4
Joined: Wed May 06, 2009 10:18 am

jproxy problem

Post by jackp10 »

Hi
i have been using the jfileupload for quite sometimes now, and i have came across a problem one of our customer have.
the jfileupload works fine for people with normal broadband, but does not work for those people behind a proxy.

I have configured the jfileupload to work with proxy before, but the actual server was behind the proxy itself.
The problem now has got a different scenario. the server does not use proxy, but users that uses it have probrem.
It does return the following error:
"Attention required (The ISA Server requires authorization to fullfill the request... etc etc etc)".

Could someone advice on this problem ??
thanks

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: jproxy problem

Post by support »

I would need you to enable DEBUG mode and post here the traces. See level 2 mode at:
http://www.jfileupload.com/products/jfi ... oting.html

jackp10
Posts: 4
Joined: Wed May 06, 2009 10:18 am

Re: jproxy problem

Post by jackp10 »

Dear support
Below is the java error log i have been given from the customer.

======================================================
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Internet Explorer ROOT certificate store
security: Loaded certificates from Internet Explorer ROOT certificate store
security: Loading certificates from Internet Explorer TrustedPublisher certificate store
security: Loaded certificates from Internet Explorer TrustedPublisher certificate store
security: Checking if certificate is in Deployment permanent certificate store
network: Connecting http://www.dnaassets.st-ives.com/nation ... tpimpl.jar with proxy=HTTP @ /192.168.10.20:8000
network: Connecting http://www.dnaassets.st-ives.com/nation ... tpimpl.jar with cookie "ARCHFRMT=zip; BASKETNAME=XPB-213.121.204.66-8793; controlpaneltools=off; accountcontents=on; WNPSCALEFIT=true; volumecontents=off; PHPSESSID=dd365b21c611f5b9ce8f89cc409d2335"
basic: Loading http://www.dnaassets.st-ives.com/nation ... tpimpl.jar from cache
basic: Reading cached JAR file from JRE 1.5 release
basic: Certificates for http://www.dnaassets.st-ives.com/nation ... tpimpl.jar is read from JAR cache
network: Connecting http://www.dnaassets.st-ives.com/nation ... client.jar with proxy=HTTP @ /192.168.10.20:8000
network: Connecting http://www.dnaassets.st-ives.com/nation ... client.jar with cookie "ARCHFRMT=zip; BASKETNAME=XPB-213.121.204.66-8793; controlpaneltools=off; accountcontents=on; WNPSCALEFIT=true; volumecontents=off; PHPSESSID=dd365b21c611f5b9ce8f89cc409d2335"
basic: Loading http://www.dnaassets.st-ives.com/nation ... client.jar from cache
basic: Reading cached JAR file from JRE 1.5 release
basic: Certificates for http://www.dnaassets.st-ives.com/nation ... client.jar is read from JAR cache
network: Connecting http://www.dnaassets.st-ives.com/nation ... ogging.jar with proxy=HTTP @ /192.168.10.20:8000
network: Connecting http://www.dnaassets.st-ives.com/nation ... ogging.jar with cookie "ARCHFRMT=zip; BASKETNAME=XPB-213.121.204.66-8793; controlpaneltools=off; accountcontents=on; WNPSCALEFIT=true; volumecontents=off; PHPSESSID=dd365b21c611f5b9ce8f89cc409d2335"
basic: Loading http://www.dnaassets.st-ives.com/nation ... ogging.jar from cache
basic: Reading cached JAR file from JRE 1.5 release
basic: Certificates for http://www.dnaassets.st-ives.com/nation ... ogging.jar is read from JAR cache
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Internet Explorer TrustedPublisher certificate store
security: Loaded certificates from Internet Explorer TrustedPublisher certificate store
security: Checking if certificate is in Deployment permanent certificate store
network: Connecting http://www.dnaassets.st-ives.com/PORTAL ... properties with proxy=HTTP @ /192.168.10.20:8000
network: Connecting http://www.dnaassets.st-ives.com/PORTAL ... properties with cookie "ARCHFRMT=zip; BASKETNAME=XPB-213.121.204.66-8793; controlpaneltools=off; accountcontents=on; WNPSCALEFIT=true; volumecontents=off; PHPSESSID=dd365b21c611f5b9ce8f89cc409d2335"
network: Connecting http://www.dnaassets.st-ives.com/nation ... atchui.jar with proxy=HTTP @ /192.168.10.20:8000
network: Connecting http://www.dnaassets.st-ives.com/nation ... atchui.jar with cookie "ARCHFRMT=zip; BASKETNAME=XPB-213.121.204.66-8793; controlpaneltools=off; accountcontents=on; WNPSCALEFIT=true; volumecontents=off; PHPSESSID=dd365b21c611f5b9ce8f89cc409d2335"
network: Connecting http://www.dnaassets.st-ives.com/nation ... atchui.jar with proxy=HTTP @ /192.168.10.20:8000
basic: Loading http://www.dnaassets.st-ives.com/nation ... atchui.jar from cache
basic: Reading cached JAR file from JRE 1.5 release
basic: Certificates for http://www.dnaassets.st-ives.com/nation ... atchui.jar is read from JAR cache
network: Connecting http://www.dnaassets.st-ives.com/PORTAL ... gger.class with proxy=HTTP @ /192.168.10.20:8000
network: Connecting http://www.dnaassets.st-ives.com/PORTAL ... gger.class with cookie "ARCHFRMT=zip; BASKETNAME=XPB-213.121.204.66-8793; controlpaneltools=off; accountcontents=on; WNPSCALEFIT=true; volumecontents=off; PHPSESSID=dd365b21c611f5b9ce8f89cc409d2335"
network: Connecting http://www.dnaassets.st-ives.com/PORTAL ... gger.class with proxy=HTTP @ /192.168.10.20:8000
network: Connecting http://www.dnaassets.st-ives.com/PORTAL ... gger.class with cookie "ARCHFRMT=zip; BASKETNAME=XPB-213.121.204.66-8793; controlpaneltools=off; accountcontents=on; WNPSCALEFIT=true; volumecontents=off; PHPSESSID=dd365b21c611f5b9ce8f89cc409d2335"
02-Jul-2009 12:10:41 jfileupload.upload.client.MApplet <init>
INFO: JFileUpload 2.2 Build FINAL.001
network: Connecting http://www.dnaassets.st-ives.com/nation ... properties with proxy=HTTP @ /192.168.10.20:8000
network: Connecting http://www.dnaassets.st-ives.com/nation ... properties with cookie "ARCHFRMT=zip; BASKETNAME=XPB-213.121.204.66-8793; controlpaneltools=off; accountcontents=on; WNPSCALEFIT=true; volumecontents=off; PHPSESSID=dd365b21c611f5b9ce8f89cc409d2335"
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Internet Explorer TrustedPublisher certificate store
security: Loaded certificates from Internet Explorer TrustedPublisher certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Internet Explorer TrustedPublisher certificate store
security: Loaded certificates from Internet Explorer TrustedPublisher certificate store
security: Checking if certificate is in Deployment permanent certificate store
02-Jul-2009 12:10:41 jfileupload.transfer.client.http.HTTPTransfer autoDetectProxy
INFO: Auto-detect proxy settings : host = 192.168.10.20
02-Jul-2009 12:10:41 jfileupload.transfer.client.http.HTTPTransfer autoDetectProxy
INFO: Auto-detect proxy settings : port = 8000
02-Jul-2009 12:10:41 jfileupload.transfer.client.http.HTTPTransfer init
INFO: HTTP proxy enabled : 192.168.10.20:8000
security: Loading certificates from Deployment session certificate store
security: Loaded certificates from Deployment session certificate store
security: Loading certificates from Internet Explorer TrustedPublisher certificate store
security: Loaded certificates from Internet Explorer TrustedPublisher certificate store
security: Checking if certificate is in Deployment permanent certificate store
02-Jul-2009 12:10:41 jfileupload.transfer.client.util.Conf getTransferUI
INFO: TransferUI instantiated : jfileupload.transfer.client.edesign.BatchTransferUI
02-Jul-2009 12:10:41 jfileupload.transfer.client.edesign.BatchTransferUI init
INFO: JBatchUpload 2.2 FINAL.001
network: Connecting http://www.dnaassets.st-ives.com/nation ... properties with proxy=HTTP @ /192.168.10.20:8000
network: Connecting http://www.dnaassets.st-ives.com/nation ... properties with cookie "ARCHFRMT=zip; BASKETNAME=XPB-213.121.204.66-8793; controlpaneltools=off; accountcontents=on; WNPSCALEFIT=true; volumecontents=off; PHPSESSID=dd365b21c611f5b9ce8f89cc409d2335"
02-Jul-2009 12:10:52 jfileupload.transfer.client.http.HTTPUploadTransfer transfer
INFO: Upload (POST) started : C:\Documents and Settings\beth.bethell\My Documents\Work\National Grid\Stock\NG_images_240309\NG_images_240309\NG_images_240309\PBJ43842 - 3x3 Premier (EECN).jpg
network: Connecting socket://192.168.10.20:8000 with proxy=DIRECT
02-Jul-2009 12:10:55 org.apache.commons.httpclient.auth.AuthChallengeProcessor selectAuthScheme
INFO: ntlm authentication scheme selected
02-Jul-2009 12:10:55 org.apache.commons.httpclient.HttpMethodDirector processProxyAuthChallenge
INFO: No credentials available for NTLM <any realm>@192.168.10.20:8000
02-Jul-2009 12:10:55 jfileupload.transfer.client.http.HTTPUploadTransfer transfer
INFO: Upload Status code = 407
02-Jul-2009 12:10:55 jfileupload.transfer.client.http.HTTPUploadTransfer run
INFO: Upload failed
======================================================


Hope that can help raise a possible solution.
This problem is getting close to be a serious issue for the kind of business i have.

thanks

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: jproxy problem

Post by support »

Please update to release 2.4.
Also, add the following parameter because your proxy ask for authentication:
<PARAM NAME="authentication" VALUE="auto">

Does it help ?

jackp10
Posts: 4
Joined: Wed May 06, 2009 10:18 am

Re: jproxy problem

Post by jackp10 »

I can confirm that that line solved the problem..

thank you for the quick response.

User avatar
support
Posts: 1503
Joined: Sun Jan 27, 2008 6:19 pm

Re: jproxy problem

Post by support »

Great !

Post Reply