Anaplan script is failing while executing remotely

Options
Sunilkumar
Sunilkumar Member, ALL USERS Posts: 3 New Contributor

Hi,

 

I am trying to execute Anaplan script remotely but its failing with below error.

 


Absolute path to JAVA 8 executable not provided. Will attempt to figure out path from JAVA_HOME or Windows registry...
JAVA_HOME is not defined, will attempt to fetch value from registry...
Checking Windows Registry for Java Version...
Checking Windows Registry for JAVA_HOME...
JAVA_HOME is C:\Program Files\Java\jdk1.8.0_201
Found Java executable from JAVA_HOME , at C:\Program Files\Java\jdk1.8.0_201\bin\java.exe...
Current Java version = 1.8
Current Java version is valid for Anaplan Connect.
Running Anaplan Connect...
Using Class-Path: \\Server name\directory$\anaplanconnect\anaplan-connect-1.4.3.jar
2020-02-13 15:17:39 DEBUG [c.a.client.Program :1725 ] 14928 |-- ================================================================\
======
2020-02-13 15:17:39 DEBUG [c.a.client.Program :1726 ] 14928 |-- Anaplan Connect 1.4.3
2020-02-13 15:17:39 DEBUG [c.a.client.Program :1727 ] 14928 |-- Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)/ (25.201-\
b09)/
2020-02-13 15:17:39 DEBUG [c.a.client.Program :1729 ] 14928 |-- (Windows Server 2008 R2amd64)/6.1
2020-02-13 15:17:39 DEBUG [c.a.client.Program :1730 ] 14928 |-- ================================================================\
======
2020-02-13 15:17:39 INFO [c.a.client.Service :83 ] 14928 |-- Initializing Service...
2020-02-13 15:17:39 INFO [a.BasicAuthenticator:26 ] 14928 |-- Authenticating via Basic...
2020-02-13 15:17:39 INFO [t.AnaplanApiProvider:117 ] 14928 |-- Setting up proxy...
2020-02-13 15:17:41 INFO [.t.r.FeignApiRetryer:49 ] 14928 |-- Retrying API request: Attempt (1)
2020-02-13 15:17:41 DEBUG [.t.r.FeignApiRetryer:50 ] 14928 |-- Request details: Unexpected response code for CONNECT: 403 execu\
ting POST https://auth.anaplan.com/token/authenticate
2020-02-13 15:17:44 INFO [.t.r.FeignApiRetryer:49 ] 14928 |-- Retrying API request: Attempt (2)
2020-02-13 15:17:44 DEBUG [.t.r.FeignApiRetryer:50 ] 14928 |-- Request details: Unexpected response code for CONNECT: 403 execu\
ting POST https://auth.anaplan.com/token/authenticate
2020-02-13 15:17:49 INFO [.t.r.FeignApiRetryer:49 ] 14928 |-- Retrying API request: Attempt (3)
2020-02-13 15:17:49 DEBUG [.t.r.FeignApiRetryer:50 ] 14928 |-- Request details: Unexpected response code for CONNECT: 403 execu\
ting POST https://auth.anaplan.com/token/authenticate
2020-02-13 15:17:55 ERROR [c.a.client.Program :654 ] 14928 |-- Anaplan API: Basic Authentication failed! (Retryable: Unexpected\
response code for CONNECT: 403 executing POST https://auth.anaplan.com/token/authenticate (IO: Unexpected response code for CONNEC\
T: 403))

 

Can someone help me to resolve this issue and execute the script successfully?

Tagged:

Comments

  • Sunilkumar
    Sunilkumar Member, ALL USERS Posts: 3 New Contributor

    Hi Anirudh,

     

    Thanks for your help on this.

     

    I have updated the required Java paths and ran the script.But unfortunately script has failed with same error.

     

    Regards

    Sunil

  • Sunilkumar
    Sunilkumar Member, ALL USERS Posts: 3 New Contributor

    Hi,

     

    Thanks for your response.

     

    Yes, I am able to execute the script successfully when I am executing locally.

     

    Regards

    Sunil