Forum Stats

  • 3,875,272 Users
  • 2,266,902 Discussions
  • 7,912,132 Comments

Discussions

Issues adding Target AMAZON_EC2

User_2SQPZ
User_2SQPZ Member Posts: 13 Red Ribbon
edited Feb 27, 2020 10:55AM in Enterprise Manager

Hello

we did all the steps from this :

https://download.oracle.com/otn/java/oem/emaws.pdf?AuthParam=1582211284_e3726967b03a11b7199cb926b5f67d5e

But after i have this error:

ame: AWS_EC2_US_PROD Target Type: AmazonEC2Service

oracle.sysman.emSDK.emd.comm.MetricGetException: Unexpected HTTP response code [403] received.

at oracle.sysman.emSDK.emd.comm.ExceptionTranslator.throwAsMetricGetException(ExceptionTranslator.java:868)

at oracle.sysman.emSDK.emd.comm.ExceptionTranslator.rethrowGetMetric(ExceptionTranslator.java:377)

at oracle.sysman.emSDK.emd.comm.EMDClient.getMetric(EMDClient.java:2035)

at oracle.sysman.eml.metrics.collection.MetricCollection.getAgentSideMetricResult(MetricCollection.java:1756)

at oracle.sysman.eml.metrics.collection.MetricCollection.getMetricResult(MetricCollection.java:1908)

at oracle.sysman.eml.metrics.target.CollectionUtil.getMetricResult(CollectionUtil.java:2558)

at oracle.sysman.core.metrics.uimodel.applicationModule.MetricSettingsAMImpl.getRealTimeMetrics(MetricSettingsAMImpl.java:278)

at oracle.sysman.core.metrics.ui.MetricSettingsBean.getMetricColumnData(MetricSettingsBean.java:1334)

at oracle.sysman.core.metrics.ui.MetricSettingsBean.processOperationBindings(MetricSettingsBean.java:2594)

at oracle.sysman.core.metrics.ui.MetricSettingsViewBean.processRowSelection(MetricSettingsViewBean.java:408)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

at java.lang.reflect.Method.invoke(Method.java:606)

at com.sun.el.parser.AstValue.invoke(AstValue.java:254)

But if i do a telnet to the URI everything works fine

Answers