Cayce Collins
03/15/2024, 3:20 AMRetrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ReadTimeoutError("HTTPSConnectionPool(host='<gooddata-host>.com', port=443): Read timed out. (read timeout=None)")': /api/v1/entities/workspaces/<workspaceId>/visualizationObjects/<insightId>?include=ALL
We're making the call as one might expect:
sdk = GoodDataSdk.create(host, token)
insight = sdk.insights.get_insight(workspace, insight_id)
It is not consistent with every request we make, so we're trying to understand this error a bit more. This was also done at times when our GD CN (3.1.0 - we are a paying customer) services had no substantial load.
cc: @James Lee, @Phanindra, @Pete Lorenz, @Kshirod Mohanty, @Sunil Kumar VanapalliBoris
03/15/2024, 10:20 AMBoris
03/15/2024, 10:23 AMCayce Collins
03/15/2024, 10:41 PMKshirod Mohanty
03/15/2024, 10:47 PMCayce Collins
03/16/2024, 8:30 PMRetrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', ConnectionResetError(104, 'Connection reset by peer'))': /api/v1/entities/workspaces/<workspaceId>/visualizationObjects/<insightId>?include=ALL
also, I find it strange that it is immediately logging the total=2 retry message but we never see the first two (0 an d 1). When we've had URL issues in the past due to params/vars, it will show us multiple retry attempts with incrementing totals, such as this:
[2024-03-18 00:01:44.408 warning] Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x125eedf70>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known')': /api/v1/entities/workspaces/<workspaceId>/visualizationObjects/<insightId>?include=ALL [urllib3.connectionpool - connectionpool.py:824 - urlopen()]
[2024-03-18 00:01:44.410 warning] Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x125f3bf70>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known')': /api/v1/entities/workspaces/<workspaceId>/visualizationObjects/<insightId>?include=ALL [urllib3.connectionpool - connectionpool.py:824 - urlopen()]
[2024-03-18 00:01:44.411 warning] Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x125f3be80>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known')': /api/v1/entities/workspaces/<workspaceId>/visualizationObjects/<insightId>?include=ALL [urllib3.connectionpool - connectionpool.py:824 - urlopen()]
[2024-03-18 00:01:44.413 error] Failed to query gooddata table insight <insightId>: HTTPSConnectionPool(host='<gooddata-host>', port=443): Max retries exceeded with url: /api/v1/entities/workspaces/<workspaceId>/visualizationObjects/<insightId>?include=ALL (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x125f3bbe0>: Failed to establish a new connection: [Errno 8] nodename nor servname provided, or not known')) [gooddata_tables.py:120 - get_table_insight()]Cayce Collins
03/16/2024, 8:34 PMCayce Collins
03/16/2024, 8:42 PMCayce Collins
03/18/2024, 8:01 AMBoris
03/18/2024, 9:19 AMCayce Collins
05/15/2024, 7:51 PMgunicorn and different worker classes (such as gevent and gthread) but no matter what configurations we attempt they all run into the same issue.
My guess is some type of urllib3 connection pool issue with threading, but I can't be sure. I've explained all of this in greater detail in a support case I put in today: https://support.gooddata.com/hc/en-us/requests/121068
We've been manually handling the issue but it is starting to block our progress as we are scaling up our statement generation for clientsCayce Collins
05/15/2024, 8:05 PM