My Oracle Support Banner

EPMAgentService GET https://XXXXXXXXXXX.oraclecloud.com/aif/rest/features/EPMAGENT returned a response status of 403 Forbidden (Doc ID 2670844.1)

Last updated on SEPTEMBER 24, 2024

Applies to:

Oracle Enterprise Planning and Budgeting Cloud Service - Version 19.12.73 and later
Information in this document applies to any platform.

Symptoms

When install the agent as a Windows service, using EPMAgentService.exe, gets error message:

GET  https://XXXXXXXXXXX.oraclecloud.com/aif/rest/features/EPMAGENT returned a response status of 403 Forbidden

eg: EPMAgentService.exe -install EPMAgentTEST C:\EPMAgentData\config\agentparams.ini

Complete Error message :

Beginning epmagent start service at 12/05/2020 14:49:59
Starting agent server at 12/05/2020 14:49:59
Agent server started successfully at 12/05/2020 14:49:59
Service started successfully at 12/05/2020 14:49:59
Registering agent to cloud
Reading SSL certificates
D:\Oracle\EPMAgent\cert\EpmCloud.cer
GET https://XXXXXXXXXXX.oraclecloud.com/aif/rest/features/EPMAGENT returned a response status of 403 Forbidden

Beginning epmagent stop service at 12/05/2020 14:52:49
Stopping epmagent at port:9092
Unable to reach epmagent server, server might have terminated.
Error occurred:12/05/2020 14:52:51 Unable to connect to the remote server
System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it [::1]:9092
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.WebClient.DownloadDataInternal(Uri address, WebRequest& request)
   at System.Net.WebClient.DownloadString(Uri address)
   at EPMAgentService.AgentWindowsService.OnStop()

agentparams.ini=
   
EPM_AGENT_HOME=D:\Oracle\EPMAgent\
EPM_APP_DATA_HOME=D:\Oracle\EPMAgent\
AGENT_NAME=EPMAGENT
CLUSTER=EPMCLUSTER
PORT=9090
CLOUD_URL= https://XXXXXXXXXXX.oraclecloud.com
CLOUD_DOMAIN=YYYYYYY
CLOUD_USER_NAME=XXXXXXXXXXX@oracle.com
CLOUD_PASSWORD=
LOG_LEVEL=ALL
POLL_INTERVAL=60
EXECUTION_POOL_SIZE=2
REGISTER_WITH_IP=N
JYTHON_HOME=
GROOVY_HOME=
CUSTOM_MEM_ARGS=-Xms128m -Xmx4096m
CUSTOM_JAVA_OPTIONS=-Dhttps.proxyHost=<Proxy host name> -Dhttps.proxyPort=8080
CUSTOM_CLASS_PATH=
CUSTOM_INTERFACE_CLASS_NAME=

Cause

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
Symptoms
Cause
Solution


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