Grid Control 10g and 11g - OMS to Agent Communication Fails With 'Cannot Establish Proxy Connection' Due to Proxy-Related Settings (Doc ID 395717.1)

Last updated on AUGUST 19, 2015

Applies to:

Enterprise Manager Base Platform - Version 10.1.0.2 to 11.1.0.1 [Release 10.1 to 11.1]
Information in this document applies to any platform.
Checked for relevance on 02-Dec-2013

Symptoms

In the Grid Console, navigating to Setup -> Agents -> Clicking on 'agentmachine.domain' returns one of the following errors:

Communication between the Oracle Management Service host to the Agent host 

is unavailable. Any functions or displayed information requiring this 

communication link will be unavailable. For example: 

deleting/configuring/adding targets, uploading metric data, or 

displaying Agent home page information such as Agent to Management Service 

Response Time (ms). 



OR 



Communication from the Oracle Management Service host to the Agent host 

failed. Refer to help for details. Cannot establish proxy connection: 

403 Forbidden



OR



Communication from the Oracle Management Service host to the Agent host 

failed. Refer to help for details. ModuleException in parsing Response :: 

NTLM



OR



Communication from the Oracle Management Service host to  the Agent host 

failed. Refer to help for details. Cannot establish proxy connection: 407 

Proxy Authentication Required



OR



<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<HTML><HEAD>

<TITLE>404 Not Found</TITLE>

</HEAD><BODY>

<H1>Not Found</H1>

The requested URL /emd/main/ was not found on this server.<P>

<HR>

<ADDRESS>Apache/1.3.29 Server at proxyserver.domain Port 80</ADDRESS>

</BODY></HTML>



OR



oracle.sysman.emSDK.emd.comm.CommException: Cannot establish proxy connection: 

501 not supported


Additionally, the following error may be displayed when trying to look at the Targets -> Agent Host -> Performance page:

An error has occurred!

Unable to obtain data for target solaris.oracle.com. The target may be down. Switching to the last 24 hrs view


Trying to configure a Database monitored by the above Agent from the Grid Console, returns the error:

oracle.sysman.emSDK.emd.comm.CommException: Cannot establish proxy connection: 302 Moved Temporarily

OR

oracle.sysman.emSDK.emd.comm.CommException: javax.net.ssl.SSLException: SSL handshake failed: SSLIOClosedOverrideGoodbyeKiss


The <OMS_HOME>/sysman/log/emoms.trc may show one of the below Proxy Server related errors:

ERROR host.HostSummaryDataObject getHostSummary.819 - java.io.IOException: Cannot establish proxy connection: 504 Gateway Timeout
oracle.sysman.emSDK.emd.comm.CommException: java.io.IOException: Cannot establish proxy connection: 504 Gateway Timeout
at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest
(EMDClient.java:2340)
at oracle.sysman.emSDK.emd.comm.EMDClient.getMetrics(EMDClient.java:1120)
at oracle.sysman.eml.mntr.host.HostSummaryDataObject.getHostSummary
(HostSummaryDataObject.java:813)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.
java:25)
at java.lang.reflect.Method.invoke(Method.java:324)

OR

<timestamp>
[EMUI_14_25_51_/console/admin/rep/emdConfig/emdTargetsMain$type=oracle*_emd$target=ORACLE01_3A1831$ctxType=All_20Targets] ERROR emdConfig.EmdConfigTargetsData getEmdTargetsList.1525 -
ModuleException in parsing Response :: NTLM
oracle.sysman.emSDK.emd.comm.CommException: ModuleException in parsing Response :: NTLM
at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest_
(EMDClient.java:1433)
at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest
(EMDClient.java:1212)

OR

<timestamp> [Thread-37] ERROR track.TrackUtilities doCollection.376 - ECM: Encountered
CommException when performing a collection of Inventory collection for target with (internal) name
abchost.xyz.com and of (internal) type host: java.io.IOException:
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated

oracle.sysman.emSDK.emd.comm.CommException: java.io.IOException:
javax.net.ssl.SSLPeerUnverifiedException: peer not authenticated
at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest
(EMDClient.java:2340)
at oracle.sysman.emSDK.emd.comm.EMDClient.collectDefinedColls
(EMDClient.java:1000)
..

OR

2008-05-15 15:35:05,257 [116::EMUI_15_35_04_/console/database/config] DEBUG emSDK.comm getResponseForRequest.1678 - java.io.IOException: Cannot establish proxy connection: 302 Moved Temporarily
java.io.IOException: Cannot establish proxy connection: 302 Moved Temporarily
at HTTPClient.HTTPConnection.doConnect(HTTPConnection.java:4052)
at HTTPClient.HTTPConnection.connect(HTTPConnection.java:4024)
at oracle.sysman.emSDK.emd.comm.EMDClient.authenticateHTTPConnection
(EMDClient.java:1382)
at oracle.sysman.emSDK.emd.comm.EMDClient.getConnection(EMDClient.java:1296)
at oracle.sysman.emSDK.emd.comm.EMDClient.getConnection(EMDClient.java:1233)
...

OR

2006-03-09 14:52:05,212 [EMUI_14_51_15_/console/database/config] ERROR perf.sitemap initialize.278 - oracle.sysman.emSDK.emd.comm.CommException: javax.net.ssl.SSLException: SSL handshake failed: SSLIOClosedOverrideGoodbyeKiss oracle.sysman.emSDK.emd.comm.CommException: javax.net.ssl.SSLException: SSL handshake failed: SSLIOClosedOverrideGoodbyeKiss at oracle.sysman.emSDK.emd.comm.EMDClient.getResponseForRequest
(EMDClient.java:1539) at oracle.sysman.emSDK.emd.comm.EMDClient.getTarget(EMDClient.java:1131) at oracle.sysman.db.conf.DBConfigObject.getTargetInstance
(DBConfigObject.java:461) at oracle.sysman.db.conf.DBConfigObject.initPropertiesFromRepository
(DBConfigObject.java:629) at oracle.sysman.db.conf.DBConfigObject.initialize(DBConfigObject.java:432) at oracle.sysman.db.conf.DBConfigUI.initialize(DBConfigUI.java:271) at oracle.sysman.db.conf.DBConfigUI.<init>(DBConfigUI.java:203) at oracle.sysman.db.conf.DBConfigController.getBean(DBConfigController.java:523)
...


- The Agent is shown as Up and the Last Successful Upload : Unavailable.
The 'Upload Metric Data' button in the Agent homepage is disabled.

- But the 'emctl upload' command works fine at the Agent-side.

- Agent machine is not configured for DHCP, hence details in <Note.605009.1> are not applicable.

Changes

At the time of Grid Control installation or later, Proxy-Server related details were entered for any communication initiated from the OMS. Hence the OMS tries to communicate from the OMS to My Oracle Support (previously called Metalink) and the target Agents via the Proxy server.

Cause

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms