[INFO - 2024-08-14T15:42:50+0800] [cs_tools.thoughtspot - thoughtspot.login 213] Attempting Basic authentication [DEBUG - 2024-08-14T15:42:50+0800] [cs_tools.api._client - _client.__before_request__ 81] >>> [07:42:50] HTTP POST -> /callosum/v1/tspublic/v1/session/login === HEADERS === Headers({'host': 'aiq.cwtanalytiqs.com', 'accept': '*/*', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'x-requested-by': 'CS Tools', 'user-agent': 'cs_tools/1.5.9 (+github: thoughtspot/cs_tools)', 'content-length': '68', 'content-type': 'application/x-www-form-urlencoded', 'cs-tools-request-start-utc-timestamp': '2024-08-14T07:42:50.840018+00:00'}) === DATA === {'username': 'UserId@domain.com', 'password': '[secure]', 'rememberme': 'true', 'auth_token': '[secure]', 'secret_key': '[secure]', 'access_token': '[secure]'} [DEBUG - 2024-08-14T15:42:52+0800] [cs_tools.api._client - _client.__after_response__ 115] <<< [07:42:52] HTTP 204 <- /callosum/v1/tspublic/v1/session/login (2.099747s) [DEBUG - 2024-08-14T15:42:52+0800] [cs_tools.api._client - _client.__before_request__ 81] >>> [07:42:52] HTTP GET -> /callosum/v1/tspublic/v1/session/info === HEADERS === Headers({'host': 'aiq.cwtanalytiqs.com', 'accept': '*/*', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'x-requested-by': 'CS Tools', 'user-agent': 'cs_tools/1.5.9 (+github: thoughtspot/cs_tools)', 'cookie': 'JSESSIONID=d31e686c-5a2b-42ba-950f-916c34872f2c; clientId=1e6f1be4-afc3-4f9e-adfe-4341435e3e93', 'cs-tools-request-start-utc-timestamp': '2024-08-14T07:42:52.939765+00:00'}) [DEBUG - 2024-08-14T15:42:53+0800] [cs_tools.api._client - _client.__after_response__ 115] <<< [07:42:53] HTTP 200 <- /callosum/v1/tspublic/v1/session/info (0.750324s) [DEBUG - 2024-08-14T15:42:53+0800] [cs_tools.api._client - _client.__before_request__ 81] >>> [07:42:53] HTTP GET -> /callosum/v1/tspublic/v1/session/orgs === HEADERS === Headers({'host': 'aiq.cwtanalytiqs.com', 'accept': '*/*', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'x-requested-by': 'CS Tools', 'user-agent': 'cs_tools/1.5.9 (+github: thoughtspot/cs_tools)', 'cookie': 'JSESSIONID=d31e686c-5a2b-42ba-950f-916c34872f2c; clientId=1e6f1be4-afc3-4f9e-adfe-4341435e3e93', 'cs-tools-request-start-utc-timestamp': '2024-08-14T07:42:53.690089+00:00'}) === PARAMS === {'batchsize': '-1', 'offset': '-1', 'auth_token': '[secure]', 'secret_key': '[secure]', 'password': '[secure]', 'access_token': '[secure]'} [DEBUG - 2024-08-14T15:42:53+0800] [cs_tools.api._client - _client.__after_response__ 115] <<< [07:42:53] HTTP 403 <- /callosum/v1/tspublic/v1/session/orgs (0.299793s) {"type":"Forbidden","description":"The client does not have access rights to the content; that is,it is unauthorized, so the server is refusing to give the requested resource. Unlike 401, the client\u0027s identity is known to the server."} [DEBUG - 2024-08-14T15:42:54+0800] [cs_tools.thoughtspot - thoughtspot.login 223] SESSION CONTEXT { "cs_tools_version": "1.5.9", "environment": { "os_args": "C:\\Users\\UserId\\AppData\\Roaming\\cs_tools\\.cs_tools\\Scripts\\cs_tools.exe tools searchable metadata --org 0 --syncer csv://C:\\Users\\UserId\\Documents\\cs_tools\\metadata_prod.toml --config prod", "is_ci": false, "is_dev": false }, "thoughtspot": { "cluster_id": "b6684241-0489-11ed-9424-c3223", "url": "https://aiq.cwtanalytiqs.com/", "version": "10.0.0", "timezone": "UTC", "is_cloud": true, "is_api_v2_enabled": true, "is_roles_enabled": false, "is_orgs_enabled": false, "notification_banner": null }, "system": { "system": "Windows (detail: Windows-11-10.0.22631-SP0)", "python": "3.12.4", "ran_at": "2024-08-14T07:42:49.056165Z" }, "user": { "guid": "7e0e100a-e778-4525-a22e-560e0374747e", "username": "UserId@domain.com", "display_name": "My Name", "privileges": [ "DATAMANAGEMENT", "ADMINISTRATION", "DATADOWNLOADING", "BYPASSRLS", "USERDATAUPLOADING", "AUTHORING", "SHAREWITHALL", "A3ANALYSIS" ], "org_context": 0, "email": "myemail@domain.com" } } [DEBUG - 2024-08-14T15:42:54+0800] [cs_tools.cli.dependencies.syncer - syncer.__enter__ 36] Registering syncer: csv [INFO - 2024-08-14T15:42:54+0800] [cs_tools.cli.dependencies.syncer - syncer.__enter__ 64] Initializing syncer: [DEBUG - 2024-08-14T15:42:54+0800] [cs_tools.api._client - _client.__before_request__ 81] >>> [07:42:54] HTTP GET -> /callosum/v1/tspublic/v1/user === HEADERS === Headers({'host': 'aiq.cwtanalytiqs.com', 'accept': '*/*', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'x-requested-by': 'CS Tools', 'user-agent': 'cs_tools/1.5.9 (+github: thoughtspot/cs_tools)', 'cookie': 'JSESSIONID=d31e686c-5a2b-42ba-950f-916c34872f2c; clientId=1e6f1be4-afc3-4f9e-adfe-4341435e3e93', 'cs-tools-request-start-utc-timestamp': '2024-08-14T07:42:54.051471+00:00'}) [DEBUG - 2024-08-14T15:44:55+0800] [cs_tools.api._client - _client.__before_request__ 81] >>> [07:44:55] HTTP POST -> /callosum/v1/tspublic/v1/session/logout === HEADERS === Headers({'host': 'aiq.cwtanalytiqs.com', 'content-length': '0', 'accept': '*/*', 'accept-encoding': 'gzip, deflate', 'connection': 'keep-alive', 'x-requested-by': 'CS Tools', 'user-agent': 'cs_tools/1.5.9 (+github: thoughtspot/cs_tools)', 'cookie': 'JSESSIONID=d31e686c-5a2b-42ba-950f-916c34872f2c; clientId=1e6f1be4-afc3-4f9e-adfe-4341435e3e93', 'cs-tools-request-start-utc-timestamp': '2024-08-14T07:44:55.508881+00:00'}) [DEBUG - 2024-08-14T15:44:57+0800] [cs_tools.api._client - _client.__after_response__ 115] <<< [07:44:57] HTTP 204 <- /callosum/v1/tspublic/v1/session/logout (1.530825s) [DEBUG - 2024-08-14T15:44:57+0800] [cs_tools.cli.commands.main - main.run 129] whoopsie, something went wrong! Traceback (most recent call last): File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\httpx\_transports\default.py", line 69, in map_httpcore_exceptions yield File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\httpx\_transports\default.py", line 233, in handle_request resp = self._pool.handle_request(req) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\httpcore\_sync\connection_pool.py", line 216, in handle_request raise exc from None File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\httpcore\_sync\connection_pool.py", line 196, in handle_request response = connection.handle_request( ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\httpcore\_sync\connection.py", line 101, in handle_request return self._connection.handle_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\httpcore\_sync\http11.py", line 143, in handle_request raise exc File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\httpcore\_sync\http11.py", line 113, in handle_request ) = self._receive_response_headers(**kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\httpcore\_sync\http11.py", line 186, in _receive_response_headers event = self._receive_event(timeout=timeout) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\httpcore\_sync\http11.py", line 238, in _receive_event raise RemoteProtocolError(msg) httpcore.RemoteProtocolError: Server disconnected without sending a response. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\cs_tools\cli\commands\main.py", line 100, in run return_code = app(standalone_mode=False) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\typer\main.py", line 326, in __call__ raise e File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\typer\main.py", line 309, in __call__ return get_command(self)(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\click\core.py", line 1157, in __call__ return self.main(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\typer\core.py", line 723, in main return _main( ^^^^^^ File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\typer\core.py", line 193, in _main rv = self.invoke(ctx) ^^^^^^^^^^^^^^^^ File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\click\core.py", line 1688, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\click\core.py", line 1688, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\click\core.py", line 1688, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\cs_tools\cli\ux.py", line 38, in invoke r = ctx.invoke(self.callback, **ctx.params) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\click\core.py", line 783, in invoke return __callback(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\typer\main.py", line 692, in wrapper return callback(**use_params) ^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\cs_tools\cli\tools\searchable\app.py", line 456, in metadata r = ts.api.v1.user_read() ^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\cs_tools\api\_rest_api_v1.py", line 164, in user_read r = self.request("GET", "callosum/v1/tspublic/v1/user", params=p) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\cs_tools\api\_rest_api_v1.py", line 58, in request return request_method(endpoint, **request_kw) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\cs_tools\api\_client.py", line 88, in request return self._session.request(method, url, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\httpx\_client.py", line 827, in request return self.send(request, auth=auth, follow_redirects=follow_redirects) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\httpx\_client.py", line 914, in send response = self._send_handling_auth( ^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\httpx\_client.py", line 942, in _send_handling_auth response = self._send_handling_redirects( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\httpx\_client.py", line 979, in _send_handling_redirects response = self._send_single_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\httpx\_client.py", line 1015, in _send_single_request response = transport.handle_request(request) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\httpx\_transports\default.py", line 232, in handle_request with map_httpcore_exceptions(): File "C:\Users\UserId\AppData\Local\Programs\Python\Python312\Lib\contextlib.py", line 158, in __exit__ self.gen.throw(value) File "C:\Users\UserId\AppData\Roaming\cs_tools\.cs_tools\Lib\site-packages\httpx\_transports\default.py", line 86, in map_httpcore_exceptions raise mapped_exc(message) from exc httpx.RemoteProtocolError: Server disconnected without sending a response.