Anaplan API: Basic Authentication failed for Linux

dominic.literal
Occasional Contributor

Anaplan API: Basic Authentication failed for Linux

 

Dear Expert,

 

Good day!

Would like to seek your insights with regards to Process script issue using Linux interface as below.

Thank you in advance.

 

Check list done as below but still the same error “Anaplan API: Basic Authentication failed”

  1. Anaplan access checked (able to access the workspace and model) and password considered also with no special character
  2. Anaplan Connect version checked (1.4.4)
  3. Java 8 version checked 

Regards,

Dom

5 REPLIES 5
ben_speight
Super Contributor

Re: Anaplan API: Basic Authentication failed for Linux

What version of which Linux distribution are you using? It looks suspiciously old, as does the Java SE.

The secure connections that Anaplan Connect makes with Anaplan's services rely on a set of trusted root certificates (in a file named "cacerts") to verify that the service being connected to really is who they claim to be eg https://auth.anaplan.com. Your Java runtime hasn't been shipped with one. I'd strongly recommend upgrading both Linux and Java to versions that are still maintained by the suppliers; if that is not possible or doesn't fix the issue then the solution will depend on the answer the above question.

dominic.literal
Occasional Contributor

Re: Anaplan API: Basic Authentication failed for Linux

@ben_speight 

 

Thanks for the input.

Will check this one also to the client. Thank you. 

 

Regards,

Dom

dominic.literal
Occasional Contributor

Re: Anaplan API: Basic Authentication failed for Linux

@ben_speight 

 

Hi,

 

Good day!

As per client, the Linux and Java version as below.

         - Linux version :SLES 11 SP4

         - Java version :OpenJDK8 (Client tried also OpenJDK15 version but still the same error)

Thank you.

 

Regards,

Dom

ben_speight
Super Contributor

Re: Anaplan API: Basic Authentication failed for Linux

My suggestion would be
a) ensure the ca-certificates-mozilla package is installed, which provides the bundle in in /var/lib/ca-certificates/java-cacerts
b) ensure lib/security/cacerts in your JRE install (eg /usr/lib64/jvm/jre/lib/security/cacerts) is a symbolic link to /var/lib/ca-certificates/java-cacerts

dominic.literal
Occasional Contributor

Re: Anaplan API: Basic Authentication failed for Linux

@ben_speight 

 

Thanks for the reply again.

Will check this one to the client. Thank you for your inputs.

 

Regards,

Dom