My Oracle Support Banner

EM 13c: Applying Monitoring Templates in Enterprise Manager 13c Cloud Control Fails with Error: Job Has Been Aborted After Retrying For Maximum Number Of Times (25) OEM Template (Doc ID 2781902.1)

Last updated on MARCH 08, 2022

Applies to:

Enterprise Manager Base Platform - Version and later
Information in this document applies to any platform.


Enterprise Manager (EM) 13.4 Cloud Control

Applying a Monitoring Template fails with this error:

Job has been aborted after retrying for maximum number of times (25) OEM template


An existing Monitoring Template shows Pending status with the following error:

Encountered communication error between Oracle Management Service (OMS) and Agent.


Each Agent is able to upload data successfully to the OMS but logs this error at the OMS:

oracle.sysman.emSDK.agent.comm.exception.VerifyConnectionException: unable to connect to http server at https://<AGENT_HOSTNAME>.<PORT>/emd/main/. [handshake has no peer]

Errors in <EM_INSTANCE_HOME>/em/EMGC_OMS<n>/sysman/log/emoms.trc:

2021-06-02 14:40:49,324 [RJob Step 279999] DEBUG http.HTTPClientTerminus logp.251 - Establishing connection to agent at https://<agent-hostname>:<port>/emd/main/...
2021-06-02 14:40:49,325 [RJob Step 279999] DEBUG client.Communication logp.251 - using cached proxy details for https://<agent-hostname>:<port>/emd/main/
2021-06-02 14:40:49,327 [RJob Step 279999] DEBUG client.Communication logp.251 - https://<agent-hostname>:<port>/emd/main/ accessed directly (without proxy)
2021-06-02 14:40:49,328 [RJob Step 279999] DEBUG http.TMClientConnectionManager logp.251 - checking out connection to agent at https://<agent-hostname>:<port>/emd/main/
2021-06-02 14:40:49,329 [RJob Step 279999] DEBUG http.ClientConnection logp.251 - setting user-interaction allowed to false
2021-06-02 14:40:49,336 [RJob Step 279999] DEBUG http.OMSHttpsContext logp.251 - client SSL session negotiated with null:-1, using prototocol NONE and ciphersuite SSL_NULL_WITH_NULL_NULL
2021-06-02 14:40:49,337 [RJob Step 279999] DEBUG http.OMSHttpsContext logp.251 - SSL Packet Buffer Size: 16921
2021-06-02 14:40:49,338 [RJob Step 279999] DEBUG http.OMSHttpsContext logp.251 - SSL Application Buffer Size: 16916
2021-06-02 14:40:49,339 [RJob Step 279999] DEBUG http.OMSHttpsContext logp.251 - diable CN check : false. URL : https://<agent-hostname>:<port>/emd/main/
2021-06-02 14:40:49,340 [RJob Step 279999] DEBUG oms.TMRemoteClient logp.251 - TMRemoteClient[0x4a6c0e0c] is now IDLE
at oracle.sysman.gcagent.oms.TMRemoteClient.unreserveTerminus(
at oracle.sysman.gcagent.oms.TMRemoteClient.makeSingleRequest(
at oracle.sysman.gcagent.oms.TMRemoteClient.makeSingleRequest(
at oracle.sysman.gcagent.oms.TMRemoteClient.getTargetInstances(
at oracle.sysman.gcagent.oms.TMRemoteClient.getTargetInstance(

2021-06-02 14:40:49,342 [RJob Step 279999] INFO client.TMClient logp.251 - TMClient.getTargetInstance() raised VerifyConnectionException: "unable to connect to http server at https://<agent-hostname>:<port>/emd/main/. [handshake has no peer]" from agent @ https://<agent-hostname>:<port>/emd/main/
2021-06-02 14:40:49,345 [RJob Step 279999] WARN applicationModule.ApplyTemplateAMImpl logp.251 - ApplyTemplateAMImpl: applyTemplate operaion will be retried:: CommException : Encountered communication error between OMS and Agent.

 The OMS is running with the default SSLCipherSuite and no SSLCipherSuite set at the Agent side in <AGENT_INST>/sysman/config/ file.

The OMS is running with self-signed certificates:

[oracle@<OMS_HOSTNAME> bin]$ ./emctl secdiag openurl -url https://<OMS_HOSTNAME>:<UPLOAD_PORT>/empbs/upload
Oracle Enterprise Manager Cloud Control 13c Release 4
Copyright (c) 1996, 2020 Oracle Corporation. All rights reserved.
Log file: /tmp/OpenPage_2021_06_01_09_32_093781281399099791936.log
Opening page: https://<OMS_HOSTNAME>:<UPLOAD_PORT>/empbs/upload
Using non-validating trust manager; all certificates will be blindly accepted.
Proxy server is not set
Using protocol: TLSv1
Negotiated protocol: TLSv1
Getting the certificate chain
Details of cert# 1 in chain:
Issuer: CN=<OMS_HOSTNAME>, C=US, ST=CA, L=EnterpriseManager on <OMS_HOSTNAME>, OU=EnterpriseManager on <OMS_HOSTNAME>, O=EnterpriseManager on <OMS_HOSTNAME>
Valid from: Sun May 09 09:54:39 EDT 2021
Valid till: Thu May 08 09:54:39 EDT 2031
Serial#: 91725768179708004200
Public key: Sun RSA public key, 1024 bits
 modulus: 151432849528661195570186529978217036967039545503574527390207817960785716331811591687315240470176682288399782197327710013161124155714069099080113932058373734931287075236027922047853326556138049062643715381255969118145955976418197348811186703652324362970110463437317587062553066968192592433857994674593427287907
 public exponent: 65537
Signature algorithm: SHA512withRSA




To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.