When a user runs any tabcmd command without specifying --server, the default http://localhost is used silently and they see a raw connection error:
HTTPConnectionPool(host='localhost', port=80): Max retries exceeded with url: /api/2.4/auth/signin (Caused by NewConnectionError(...Failed to establish a new connection: [WinError 10061] No connection could be made because the target machine actively refused it...))
This is confusing for users who simply forgot to provide a server URL. The fix should detect that the server value is still the default http://localhost (or that no server was explicitly provided) and print a clear, user-friendly message such as:
No server URL specified. Please provide one with --server <url>.
Or at minimum, wrap the connection error with a hint about --server.
When a user runs any tabcmd command without specifying
--server, the defaulthttp://localhostis used silently and they see a raw connection error:This is confusing for users who simply forgot to provide a server URL. The fix should detect that the server value is still the default
http://localhost(or that no server was explicitly provided) and print a clear, user-friendly message such as:Or at minimum, wrap the connection error with a hint about
--server.