ConnectTimeOutException

Product:

Planning Analytics Workspace 2.1.19

Microsoft Windows 2022 server

Problem:
Unable to connect to a TM1 server from Planning Analytics Workspace (PAW) and the error message “ConnectTimeoutException” appears.

Planning Analytics For Excel: ConnectTimeOutException error message. Unable to refresh contents of widget.

500 (internal server error)

A connection could not be established from PAW to the TM1 server model however the same TM1 server model was accessible via Architect.

Other TM1 server models connect fine from PAW.

Suggested Solution:
In the tm1s.cfg file of the affected TM1 server model, the parameter IPaddressV4 was configured incorrectly.

Set the IPaddressV4 to the correct value (e.g. IPaddressV4=”10.200.100.22″) and restart the TM1 server.

 

More Information:

https://www.ibm.com/docs/en/planning-analytics/2.1.0?topic=parameters-ipaddressv4

https://bihints.com/sites/default/files/tm1scfg.html

Planning Analytics Configuration File Breakdown

if the machine has multiple network cards (Ethernet or vEthernet, it does not matter) then the “TM1 Admin Server IP address” is the one with the lowest Interface Metric number.
This value can be found by running this command in Powershell:

Get-NetIpInterface

 

If we want to modify the interface number of one card (so that to clarify the configuration), This can be done by using the following command:

set-netipinterface -ifIndex <ifindex_of_the_card_to_modify> -InterfaceMetric <new_number_to_use>

(a reboot might be necessary)