alex
01/03/2025, 12:53 PMMeltano el tap-purecloud target-s3-parquet --select locations --full-refresh
(Same issue exists for the other streams)
The logs:
{'run_id': 'e4f66554-7912-45d7-9994-33dbfc54e681', 'state_id': 'purecloud_locations_to_s3', 'stdio': 'stderr', 'cmd_type': 'extractor', 'name': 'tap-purecloud', 'event': '2025-01-03 10:14:27,758 INFO Skipping parse of env var settings...', 'level': 'info', 'timestamp': '2025-01-03T10:14:27.759678Z'}
... | tap-purecloud | Added 'conversation_participant' as child stream to 'conversation'", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.833213Z'}
... | tap-purecloud | Added 'conversation_participant_session' as child stream to 'conversation_participant'", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.833852Z'}
... | tap-purecloud | Added 'conversation_participant_session_metric' as child stream to 'conversation_participant_session'", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.834261Z'}
... | tap-purecloud | Added 'conversation_participant_session_segment' as child stream to 'conversation_participant_session'", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.834554Z'}
... | tap-purecloud | Added 'group_image' as child stream to 'groups'", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.834880Z'}
... | tap-purecloud | Added 'group_owner' as child stream to 'groups'", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.835329Z'}
... | tap-purecloud | Added 'queue_division' as child stream to 'queues'", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.835612Z'}
... | tap-purecloud | Added 'queue_membership' as child stream to 'queues'", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.835881Z'}
... | tap-purecloud | Added 'queue_wrapup_code' as child stream to 'queues'", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.836157Z'}
... | tap-purecloud | Added 'users_division' as child stream to 'users'", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.836411Z'}
... | tap-purecloud | Added 'users_language' as child stream to 'users'", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.836666Z'}
... | tap-purecloud | Added 'users_location' as child stream to 'users'", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.836943Z'}
... | tap-purecloud | Added 'users_presence' as child stream to 'users'", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.837203Z'}
... | tap-purecloud | Added 'users_skill' as child stream to 'users'", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.839141Z'}
... | tap-purecloud | Skipping deselected stream 'conversation'.", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.841975Z'}
... | tap-purecloud | Skipping deselected stream 'conversation_participant'.", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.842300Z'}
... | tap-purecloud | Skipping deselected stream 'conversation_participant_session'.", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.842511Z'}
... | tap-purecloud | Skipping deselected stream 'conversation_participant_session_metric'.", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.842705Z'}
... | tap-purecloud | Skipping deselected stream 'conversation_participant_session_segment'.", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.842966Z'}
... | tap-purecloud | Skipping deselected stream 'group_image'.", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.843163Z'}
... | tap-purecloud | Skipping deselected stream 'group_owner'.", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.843519Z'}
... | tap-purecloud | Skipping deselected stream 'groups'.", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.843704Z'}
... | tap-purecloud | Skipping deselected stream 'languages'.", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.843893Z'}
... | tap-purecloud.locations | Beginning full_table sync of 'locations'...", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.844078Z'}
... | tap-purecloud.locations | Tap has custom mapper. Using 1 provided map(s).', 'level': 'info', 'timestamp': '2025-01-03T10:14:27.844270Z'}
... | target-s3-parquet | Initializing 'target-s3-parquet' target sink...", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.844572Z'}
... | target-s3-parquet.locations | Initializing target sink for stream 'locations'...", 'level': 'info', 'timestamp': '2025-01-03T10:14:27.844782Z'}
... | target-s3-parquet.locations | Initialized S3 Parquet with batch size: 100000', 'level': 'info', 'timestamp': '2025-01-03T10:14:27.849688Z'}
... | target-s3-parquet.locations | Setting up locations', 'level': 'info', 'timestamp': '2025-01-03T10:14:27.850199Z'}
<<Note from author: here the target gets stuck (There are only 20 short rows to pull)>>
... | singer_sdk.metrics | METRIC: {"type": "timer", "metric": "sync_duration", "value": 1441.0389611721039, "tags": {"stream": "locations", "pid": 12, "context": {}, "status": "failed"}}', 'level': 'info', 'timestamp': '2025-01-03T10:38:28.875703Z'}
... | singer_sdk.metrics | METRIC: {"type": "counter", "metric": "record_count", "value": 0, "tags": {"stream": "locations", "pid": 12, "context": {}}}', 'level': 'info', 'timestamp': '2025-01-03T10:38:28.876287Z'}
... | tap-purecloud.locations | An unhandled error occurred while syncing 'locations'", 'level': 'info', 'timestamp': '2025-01-03T10:38:28.885488Z'}
... 'event': 'Traceback (most recent call last):', 'level': 'info', 'timestamp': '2025-01-03T10:38:28.886146Z'}
... 'event': ' File "/meltano/.meltano/extractors/tap-purecloud/venv/lib/python3.11/site-packages/urllib3/connection.py", line 174, in _new_conn', 'level': 'info', 'timestamp': '2025-01-03T10:38:28.886489Z'}
... 'event': ' conn = connection.create_connection(', 'level': 'info', 'timestamp': '2025-01-03T10:38:28.886764Z'}
... 'event': ' ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^', 'level': 'info', 'timestamp': '2025-01-03T10:38:28.887351Z'}
... 'event': ' File "/meltano/.meltano/extractors/tap-purecloud/venv/lib/python3.11/site-packages/urllib3/util/connection.py", line 95, in create_connection', 'level': 'info', 'timestamp': '2025-01-03T10:38:28.887737Z'}
... 'event': ' raise err', 'level': 'info', 'timestamp': '2025-01-03T10:38:28.888774Z'}
... 'event': ' File "/meltano/.meltano/extractors/tap-purecloud/venv/lib/python3.11/site-packages/urllib3/util/connection.py", line 85, in create_connection', 'level': 'info', 'timestamp': '2025-01-03T10:38:28.889135Z'}
... 'event': ' sock.connect(sa)', 'level': 'info', 'timestamp': '2025-01-03T10:38:28.889485Z'}
... 'event': 'TimeoutError: [Errno 110] Connection timed out', 'level': 'info', 'timestamp': '2025-01-03T10:38:28.889990Z'}
... 'event': '', 'level': 'info', 'timestamp': '2025-01-03T10:38:28.890273Z'}
... 'event': 'During handling of the above exception, another exception occurred:', 'level': 'info', 'timestamp': '2025-01-03T10:38:28.890545Z'}
visch
01/03/2025, 2:09 PM... 'event': ' File "/meltano/.meltano/extractors/tap-purecloud/venv/lib/python3.11/site-packages/urllib3/util/connection.py", line 95, in create_connection', 'level': 'info', 'timestamp': '2025-01-03T10:38:28.887737Z'}
Shows that it's related to your tap. Connection timed out points to there being a connection issue. If it works locally but not on the server there's a few options.
I'd honestly take everything you have there and jam it into google's new LLM or OpenAI's O1 and ask it for help since you're new.
It's most likely
1. configuration issue in production where you don't have things set right. To debug you want to run something like meltano config tap-purecloud list
to see what's different in configuration between local and production runs
2. Networking issue in the container where it can't reach where it needs toalex
01/03/2025, 2:19 PMvisch
01/03/2025, 2:21 PMalex
01/03/2025, 2:24 PMvisch
01/03/2025, 2:26 PM<<Note from author: here the target gets stuck (There are only 20 short rows to pull)>>Jobs shouldn't get "stuck"
visch
01/03/2025, 2:26 PM