This error can happen when trying to login to broker via Harvest Administrator/Workbench GUI or you can also receive this error message "Cannot set broker name" while running command line utilities or other functionality of Harvest. What could the problem be and how do I resolve this problem? There could be several reasons for why this problem happens. Mostly the problem is network related, when you are unable to reach the broker machine. A few things can be done to resolve the problem.
Release:Harvest-Software 13 and newer Change Manager-Concurrent User
Component:
i. Add the ipaddress and hostname of the broker machine in the file hosts that is located in C:\Windows\system32\drivers\etc directory.For Unix:
ii. Add the ipaddress and hostname of the broker machine in the file hosts that is located in /etc directory.After adding the ipaddress and hostname in the hosts file, the broker machine should now be reachable in network and the problem will get resolved.
If telnet is disabled, the second option would be to try this with putty if you have that installed. A third option would be to execute the following from powershell on the client machine:
$t = New-Object System.Net.Sockets.TcpClient 'brokername', 5101; if($t.Connected) {"OK"}
(change “brokername” to the actual broker name)