EducationSoftwareStrategy.com
StrategyCommunity

Knowledge Base

Product

Community

Knowledge Base

TopicsBrowse ArticlesDeveloper Zone

Product

Download SoftwareProduct DocumentationSecurity Hub

Education

Tutorial VideosSolution GalleryEducation courses

Community

GuidelinesGrandmastersEvents
x_social-icon_white.svglinkedin_social-icon_white.svg
Strategy logoCommunity

© Strategy Inc. All Rights Reserved.

LegalTerms of UsePrivacy Policy
  1. Home
  2. Topics

KB487142: "Cannot invoke "okhttp3.Response.code()" because "<local14>" is null" returned when logging into MicroStrategy Library


Yanqing Liu

Cloud Support Expert I • MicroStrategy


The KB article gives instructions on how to fix the "okhttp3.Response.code()" because "<local14>" is null" error happened when logging into MicroStrategy Library.

Symptom

Strategy Library may return the following error during the login process:

“Cannot invoke "okhttp3.Response.code()" because "<local14>" is null.”

ka0PW0000004fz3YAA_0EMPW00000IJpyv.jpeg

 

Cause

The error may occur if the Intelligence Server alias name cannot be resolved by the library server. To verify this, check the StrategyLibrary-<library_application_name>.log.
Alongside the error “Cannot invoke "okhttp3.Response.code()" because "<local14>" is null.”, an additional error may also appear:

No such host is known (alias of the Intelligence Server)

ka0PW0000004fz3YAA_0EMPW00000IJevS.jpeg

The same alias name can be found in the fiddler log:

ka0PW0000004fz3YAA_0EMPW00000IJgu3.jpeg

Solution

Edit the hosts file on the Library Server machine and add the following line, ensuring the alias name of the Intelligence Server is recognized by the library server:

<ip> <host name > <alias of the Intelligence Server recorded in the library log>

Location of the hosts file:

  • Windows: “C:\Windows\System32\drivers\etc\hosts”
  • Linux: “/etc/hosts”

Comment

0 comments

Details

Knowledge Article

Published:

March 3, 2025

Last Updated:

March 3, 2025