Results 1 to 7 of 7
- 02-08-2011, 01:35 AM #1
Member
- Join Date
- Feb 2011
- Posts
- 3
- Rep Power
- 0
connection with authentication proxy
Hi all,
I am in an environment to access internet using authentication proxy. My browser is working properly after setting the proxy. However, when I try to access a page using java and the java console will show the error message.
network: Connecting http://[url]:80/ with proxy=DIRECT
In the network settings of java control panel, the 'use browser settings' is checked. I also try to choose use proxy server with proper setting. But both results are the same.
Does anyone can help give me some hints to solve the problem?
Below is the full log from java console.
Thanks, ango
-----
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal .bind.,com.sun.imageio.,com.sun.javaws,com.sun.dep loy,com.sun.jnlp
security: property package.definition value null
security: property package.definition new value com.sun.javaws
security: property package.definition value com.sun.javaws
security: property package.definition new value com.sun.javaws,com.sun.deploy
security: property package.definition value com.sun.javaws,com.sun.deploy
security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.access value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal .bind.,com.sun.imageio.,com.sun.javaws,com.sun.dep loy,com.sun.jnlp
security: property package.access new value sun.,com.sun.xml.internal.ws.,com.sun.xml.internal .bind.,com.sun.imageio.,com.sun.javaws,com.sun.dep loy,com.sun.jnlp,org.mozilla.jss
security: property package.definition value com.sun.javaws,com.sun.deploy,com.sun.jnlp
security: property package.definition new value com.sun.javaws,com.sun.deploy,com.sun.jnlp,org.moz illa.jss
basic: Added progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressList ener@100ab23
basic: Plugin2ClassLoader.addURL parent called for http://abc.homeip.net/application.jar
network: Cache entry not found [url: http://abc.homeip.net/application.jar, version: null]
network: Connecting http://abc.homeip.net/application.jar with proxy=HTTP @ gglisa01/111.11.11.11:8080
network: Cache entry not found [url: http://abc.homeip.net/application.jar, version: null]
network: Connecting http://abc.homeip.net/application.jar with proxy=HTTP @ gglisa01/111.11.11.11:8080
network: Cache entry not found [url: http://abc.homeip.net/application.jar, version: null]
network: Cache entry not found [url: http://abc.homeip.net/application.jar, version: null]
network: Connecting http://abc.homeip.net/application.jar with proxy=HTTP @ gglisa01/111.11.11.11:8080
network: Downloading resource: http://abc.homeip.net/application.jar
Content-Length: 40,266
Content-Encoding: null
security: Blacklist revocation check is enabled
network: Cache entry not found [url: http://abc.homeip.net/application.jar, version: null]
network: Cache entry not found [url: http://abc.homeip.net/application.jar, version: null]
network: Cache entry not found [url: http://abc.homeip.net/application.jar, version: null]
network: Cache entry not found [url: http://abc.homeip.net/application.jar, version: null]
security: Loading Root CA certificates from C:\Program Files\Java\jre6\lib\security\cacerts
security: Loaded Root CA certificates from C:\Program Files\Java\jre6\lib\security\cacerts
security: Loading Deployment certificates from C:\Documents and Settings\peter chan\Application Data\Sun\Java\Deployment\security\trusted.certs
security: Loaded Deployment certificates from C:\Documents and Settings\peter chan\Application Data\Sun\Java\Deployment\security\trusted.certs
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: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment permanent certificate store
network: Cache entry not found [url: http://abc.homeip.net/application.jar, version: null]
network: Cache entry not found [url: http://abc.homeip.net/application.jar, version: null]
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: Validate the certificate chain using CertPath API
security: Obtain certificate collection in Root CA certificate store
security: Obtain certificate collection in Root CA certificate store
security: No timestamping info available
security: Found jurisdiction list file
security: No need to checking trusted extension for this certificate
security: The CRL support is disabled
security: The OCSP support is disabled
security: This OCSP End Entity validation is disabled
security: Checking if certificate is in Deployment denied certificate store
security: Checking if certificate is in Deployment permanent certificate store
security: Checking if certificate is in Deployment permanent certificate store
network: Cache entry not found [url: http://abc.homeip.net/application.jar, version: null]
basic: Plugin2ClassLoader.getPermissions CeilingPolicy allPerms
basic: Applet loaded.
basic: Applet resized and added to parent container
basic: PERF: AppletExecutionRunnable - applet.init() BEGIN ; jvmLaunch dt 166263 us, pluginInit dt 2562452 us, TotalTime: 2728715 us
network: Cache entry not found [url: http://abc.homeip.net/, version: null]
basic: Loaded image: http://abc.homeip.net/jpg/alarm.jpg
basic: Applet initialized
basic: Removed progress listener: sun.plugin.util.GrayBoxPainter$GrayBoxProgressList ener@100ab23
basic: Applet made visible
basic: Starting applet
basic: completed perf rollup
basic: Applet started
basic: Told clients applet is started
login run
First-login
network: Connecting http://abc.homeip.net:80/ with proxy=DIRECT
- 02-08-2011, 03:05 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
- 02-08-2011, 03:30 AM #3
Member
- Join Date
- Feb 2011
- Posts
- 3
- Rep Power
- 0
Standard Edition
Version 6 update 23 (build 1.6.0_23-b05) mentioned as the latest version.
ango
- 02-09-2011, 12:08 PM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Oh yes, then you don't want to worry about that.
- 02-09-2011, 12:16 PM #5
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Do you have multiple Java installations? Check with the Java console.
- 02-10-2011, 02:08 AM #6
Member
- Join Date
- Feb 2011
- Posts
- 3
- Rep Power
- 0
I have only one Java installation. It keeps connecting to url with proxy=direct no matter I set network proxy settings to use browser settings or manually input proxy server in java control panel.
First-login
network: Connecting socket://[url]:80 with proxy=DIRECT
Error:java.net.ConnectException: Connection timed out: connect
First-login
network: Connecting socket://[url]:80 with proxy=DIRECT
Error:java.net.ConnectException: Connection timed out: connect
First-login
network: Connecting socket://[url]:80 with proxy=DIRECT
- 02-15-2011, 01:05 AM #7
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
If you have a connection timeout, have to check several things.
1. Too many requests overloading the server. Check all your requests and see how the requests are open.
2. A firewall may block packets without let it know to the sender.
3. Packet loos due to wrong configurations.
4. If you are using multiple threads to request simultaneously, they can hang up. Careful with multiple threads.
Bu the time, did you try to increase the connection timeout?
Similar Threads
-
Proxy authentication using HttpClient 4.0.3
By Jsharma in forum Advanced JavaReplies: 0Last Post: 01-21-2011, 03:33 AM -
Java client - proxy connection
By ragnonerodocet in forum NetworkingReplies: 0Last Post: 03-10-2010, 06:21 PM -
Connection failure due to proxy problems
By thalupularavi in forum NetworkingReplies: 2Last Post: 03-10-2010, 02:52 PM -
Basic authentication without a secure connection
By Tokajac in forum Web FrameworksReplies: 0Last Post: 04-23-2009, 07:33 PM -
Proxy Authentication - Cannot login as multiple users
By Dikla in forum Advanced JavaReplies: 1Last Post: 08-05-2008, 10:18 AM


LinkBack URL
About LinkBacks
Reply With Quote

Bookmarks