06-04-2013 05:38 AM - edited 03-11-2019 06:52 PM
Hello,
I have problem with Cisco ASDM proxy settings. I need to connect directly without proxy. I turned off proxy in Java settings and also in Internet explorer, but ASDM is still connecting via proxy. I didn't find any proxy settings in ASDM. Any suggestion? Thx
ASDM version 7.0(2), Windows 7 x64
06-04-2013 11:28 AM
How do you know you're connecting via the proxy ? Changing Internet Explorer settings should be enough because that's what Java is using by default.
What happens when you open a command prompt and do a "telnet ASA_IP 443" ? Do you get a connection ?
06-05-2013 12:17 AM
I know it because i see it in netstat/tcpview (screenshot) and also because we restart proxy servers at night and i have to reconnect ASDM every morning . I have set manually direct connection in java, but no success. I also tried to set another proxy server in IE, but ASDM is still using the same proxy. ASDM doesn't reflect any settings. I can telnet to port 443. Is there any option to set proxy server using deviceinfo.conf or preferences.conf?
06-05-2013 02:28 AM
ASDM works fine for me, it uses my internet explorer proxy settings, the exceptions too. But I know that java is notorious for such things.
Try to open the ASDM Launcher and click the little java icon to open the Java Console and look around a bit. Type "s" get a dump of the configuration and see what proxy is configured. Maybe also try "p" to reload the proxy configs. Do you have several java versions installed ?
06-05-2013 04:02 AM
Here is my java config. Proxy settings and bypass list is different from settings I acctually have in IE. The "p" option in Java Console doesn't work. I had only one version (1.7.0_19) installed, but both 32 and 64-bit. I have uninstalled both version a then installed new 64-bit version only:
Using JRE version 1.7.0_21 Java HotSpot(TM) 64-Bit Server VM
User home directory = C:\Users\user
----------------------------------------------------
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
q: hide console
s: dump system properties
----------------------------------------------------
Application Logging Started at Wed Jun 05 12:17:45 CEST 2013
---------------------------------------------
Local Launcher Version = 1.5.56
Local Launcher Version Display = 1.5(56)
Dump system properties ...
----------------------------------------------------
apple.awt.graphics.UseQuartz = true
apple.laf.useScreenMenuBar = true
awt.toolkit = sun.awt.windows.WToolkit
file.encoding = Cp1250
file.encoding.pkg = sun.io
file.separator = \
https.protocols = TLSv1,SSLv3
java.awt.graphicsenv = sun.awt.Win32GraphicsEnvironment
java.awt.printerjob = sun.awt.windows.WPrinterJob
java.class.path = lzma.jar;jploader.jar;asdm-launcher.jar;retroweaver-rt-2.0.jar
java.class.version = 51.0
java.endorsed.dirs = C:\Program Files\Java\jre7\lib\endorsed
java.ext.dirs = C:\Program Files\Java\jre7\lib\ext;C:\Windows\Sun\Java\lib\ext
java.home = C:\Program Files\Java\jre7
java.io.tmpdir = C:\Users\user\AppData\Local\Temp\
java.library.path = C:\Windows\System32;C:\Windows\Sun\Java\bin;C:\Windows\system32;etc...
java.runtime.name = Java(TM) SE Runtime Environment
java.runtime.version = 1.7.0_21-b11
java.specification.name = Java Platform API Specification
java.specification.vendor = Oracle Corporation
java.specification.version = 1.7
java.vendor = Oracle Corporation
java.vendor.url = http://java.oracle.com/
java.vendor.url.bug = http://bugreport.sun.com/bugreport/
java.version = 1.7.0_21
java.vm.info = mixed mode
java.vm.name = Java HotSpot(TM) 64-Bit Server VM
java.vm.specification.name = Java Virtual Machine Specification
java.vm.specification.vendor = Oracle Corporation
java.vm.specification.version = 1.7
java.vm.vendor = Oracle Corporation
java.vm.version = 23.21-b01
javaplugin.proxy.config.bypass = *localhost,*127.0.0.1,etc...
javaplugin.proxy.config.list = http=proxy.our_network:3128,https=proxy.our_network:3128,ftp=proxy.our_network:3128,socks=proxy.our_network:3128
javaplugin.proxy.config.type = manual
line.separator = \r\n
os.arch = amd64
os.name = Windows 7
os.version = 6.1
path.separator = ;
sun.arch.data.model = 64
sun.awt.enableExtraMouseButtons = true
sun.boot.class.path = C:\Program Files\Java\jre7\lib\resources.jar;C:\Program Files\Java\jre7\lib\rt.jar;C:\Program Files\Java\jre7\lib\sunrsasign.jar;C:\Program Files\Java\jre7\lib\jsse.jar;C:\Program Files\Java\jre7\lib\jce.jar;C:\Program Files\Java\jre7\lib\charsets.jar;C:\Program Files\Java\jre7\lib\jfr.jar;C:\Program Files\Java\jre7\classes
sun.boot.library.path = C:\Program Files\Java\jre7\bin
sun.cpu.endian = little
sun.cpu.isalist = amd64
sun.desktop = windows
sun.io.unicode.encoding = UnicodeLittle
sun.java.command = com.cisco.launcher.Launcher
sun.java.launcher = SUN_STANDARD
sun.jnu.encoding = Cp1250
sun.management.compiler = HotSpot 64-Bit Tiered Compilers
sun.os.patch.level = Service Pack 1
sun.swing.enableImprovedDragGesture = true
user.country = CZ
user.dir = C:\Program Files (x86)\Cisco Systems\ASDM
user.home = C:\Users\user
user.language = cs
user.name = user
user.script =
user.timezone = Europe/Prague
user.variant =
----------------------------------------------------
Done.
06-05-2013 04:15 AM
I use Java 6 and in the console I have option "p", which tells java to reload the proxy settings. Seems that was removed in Java 7, for whatever reason.
Try one more thing. In Control Panel, java applet, configure the proxy to use system settings and not direct. Then configure internet explorer to connect directly. That's what I currently use (I don't use Direct in the java control panel).
And I know this sounds ridiculous, but I would also reboot the PC where ASDM runs, just to test.
In any case, this is not an ASDM issue from what I can tell.
06-05-2013 05:16 AM
"Try one more thing. In Control Panel, java applet, configure the proxy to use system settings and not direct. Then configure internet explorer to connect directly." ... I did it, but no change. I also rebooted PC several times.
I will turn to Oracle forum.
Thanks
06-05-2013 05:37 AM
No problem. Sorry, I am out of ideas
07-02-2013 12:02 AM
Hey there,
did you find a solution for this problem? Same here since update to JAVA 1.7.0_25 =(
Thanks,
Markus
07-02-2013 06:35 AM
I will ask the Oracle forum and let you know.
07-18-2013 02:55 AM
It seems, that it's global issue with 7u21 and 7u25 >>
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide