Justin Yang
05/08/2025, 2:12 PMmeltano run tap-postgres target-redshift
I get the error:
redshift_connector.error.InterfaceError: {'S': 'FATAL', 'C': '28000', 'M': 'no pg_hba.conf entry for host "???", user "wave", database "scylla", SSL off', 'F': '/opt/brazil-pkg-cache/packages/RedshiftPADB/RedshiftPADB-1.0.12086.0/AL2_x86_64/generic-flavor/src/src/pg/src/backend/libpq/auth.c', 'L': '477', 'R': 'ClientAuthentication'} cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=d990a55c-30b3-41b2-8bc0-2e20a200ee56 stdio=stderr string_id=target-redshift
I was able to confirm that I can run psql commands and query redshift so the network connection is ok. I wonder if there is something specific to the loader that I need to configure. The last relevant logging is:
Found credentials from IAM Role: Wave__DataEC2Role
so I wonder if its an IAM role issue.Edgar Ramรญrez (Arch.dev)
05/08/2025, 3:38 PMJustin Yang
05/08/2025, 5:42 PMloaders:
- name: target-redshift
variant: ticketswap
pip_url: git+<https://github.com/TicketSwap/target-redshift.git>
config:
dbname: scylla
default_target_schema: meltano_ingestion
host: <host>
load_method: upsert
user: <user>
password: ${TARGET_REDSHIFT_PASSWORD}
s3_bucket: <bucket>
s3_prefix: ${TARGET_REDSHIFT_S3_KEY_PREFIX}
aws_redshift_copy_role_arn: <arn>
port: '5439'
and some things are redactedEdgar Ramรญrez (Arch.dev)
05/08/2025, 5:43 PMJustin Yang
05/08/2025, 6:05 PMaws_redshift_copy_role_arn: <arn>
Justin Yang
05/08/2025, 6:05 PMJustin Yang
05/08/2025, 6:52 PMEdgar Ramรญrez (Arch.dev)
05/08/2025, 7:06 PMenable_iam_authentication: true
Justin Yang
05/08/2025, 7:07 PMJustin Yang
05/08/2025, 7:08 PMEdgar Ramรญrez (Arch.dev)
05/08/2025, 7:12 PMredshift_connector.error.InterfaceError
exception? That'd help me narrow down where in https://github.com/aws/amazon-redshift-python-driver this specific exception is raised.Justin Yang
05/08/2025, 7:38 PM2025-05-08T19:38:44.161746Z [error ]
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Traceback (most recent call last) โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ /usr/local/lib/python3.12/site-packages/meltano/core/logging/output_logger.py:217 in โ
โ redirect_logging โ
โ โ
โ 214 โ โ โ *ignore_errors, โ
โ 215 โ โ ) โ
โ 216 โ โ try: โ
โ โฑ 217 โ โ โ yield โ
โ 218 โ โ except ignored_errors: โ
โ 219 โ โ โ raise โ
โ 220 โ โ except RunnerError as err: โ
โ โ
โ /usr/local/lib/python3.12/site-packages/meltano/core/block/extract_load.py:509 in run โ
โ โ
โ 506 โ โ โ # TODO: legacy `meltano elt` style logging should be deprecated โ
โ 507 โ โ โ legacy_log_handler = self.output_logger.out("meltano", logger) โ
โ 508 โ โ โ with legacy_log_handler.redirect_logging(): โ
โ โฑ 509 โ โ โ โ await self.run_with_job() โ
โ 510 โ โ โ โ return โ
โ 511 โ โ else: โ
โ 512 โ โ โ logger.warning( โ
โ โ
โ /usr/local/lib/python3.12/site-packages/meltano/core/block/extract_load.py:549 in run_with_job โ
โ โ
โ 546 โ โ โ
โ 547 โ โ with closing(self.context.session) as session: โ
โ 548 โ โ โ async with job.run(session): โ
โ โฑ 549 โ โ โ โ await self.execute() โ
โ 550 โ โ
โ 551 โ async def terminate(self, *, graceful: bool = False) -> None: โ
โ 552 โ โ """Terminate an in flight ExtractLoad execution, potentially disruptive. โ
โ โ
โ /usr/local/lib/python3.12/site-packages/meltano/core/block/extract_load.py:501 in execute โ
โ โ
โ 498 โ โ async with self._start_blocks(): โ
โ 499 โ โ โ await self._link_io() โ
โ 500 โ โ โ manager = ELBExecutionManager(self) โ
โ โฑ 501 โ โ โ await manager.run() โ
โ 502 โ โ
โ 503 โ async def run(self) -> None: โ
โ 504 โ โ """Run the ELT task.""" โ
โ โ
โ /usr/local/lib/python3.12/site-packages/meltano/core/block/extract_load.py:716 in run โ
โ โ
โ 713 โ โ for IO to complete as appropriate. Expect a RunnerError to be raised if โ
โ 714 โ โ any of the blocks exit with a non 0 exit code. โ
โ 715 โ โ """ โ
โ โฑ 716 โ โ await self._wait_for_process_completion(self.elb.head) โ
โ 717 โ โ _check_exit_codes( โ
โ 718 โ โ โ self._producer_code, โ
โ 719 โ โ โ self._consumer_code, โ
โ โ
โ /usr/local/lib/python3.12/site-packages/meltano/core/block/extract_load.py:789 in โ
โ _wait_for_process_completion โ
โ โ
โ 786 โ โ โ โ โ line_length_limit=self.line_length_limit, โ
โ 787 โ โ โ โ โ stream_buffer_size=self.stream_buffer_size, โ
โ 788 โ โ โ โ ) โ
โ โฑ 789 โ โ โ raise output_futures_failed.exception() โ
โ 790 โ โ โ
โ 791 โ โ # If all the output handlers completed without raising an โ
โ 792 โ โ # exception, we still need to wait for all the underlying block โ
โ โ
โ /usr/local/lib/python3.12/site-packages/meltano/core/logging/utils.py:305 in โ
โ capture_subprocess_output โ
โ โ
โ 302 โ โ โ continue โ
โ 303 โ โ โ
โ 304 โ โ for writer in line_writers: โ
โ โฑ 305 โ โ โ if not await _write_line_writer(writer, line): โ
โ 306 โ โ โ โ # If the destination stream is closed, we can stop capturing output. โ
โ 307 โ โ โ โ return โ
โ 308 โ
โ โ
โ /usr/local/lib/python3.12/site-packages/meltano/core/logging/utils.py:273 in _write_line_writer โ
โ โ
โ 270 โ โ โ writer.write(line) โ
โ 271 โ โ โ await writer.drain() โ
โ 272 โ โ except (BrokenPipeError, ConnectionResetError): โ
โ โฑ 273 โ โ โ await writer.wait_closed() โ
โ 274 โ โ โ return False โ
โ 275 โ else: โ
โ 276 โ โ writer.writeline(line.decode(errors="replace")) โ
โ โ
โ /usr/local/lib/python3.12/asyncio/streams.py:364 in wait_closed โ
โ โ
โ 361 โ โ return self._transport.is_closing() โ
โ 362 โ โ
โ 363 โ async def wait_closed(self): โ
โ โฑ 364 โ โ await self._protocol._get_close_waiter(self) โ
โ 365 โ โ
โ 366 โ def get_extra_info(self, name, default=None): โ
โ 367 โ โ return self._transport.get_extra_info(name, default) โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
BrokenPipeError
Justin Yang
05/08/2025, 7:39 PM2025-05-08T19:38:43.737818Z [info ] Traceback (most recent call last): cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=5e9a043d-4c2e-4b6f-aaea-916e610d0501 stdio=stderr string_id=target-redshift
2025-05-08T19:38:43.738788Z [info ] File "/app/.meltano/loaders/target-redshift/venv/bin/target-redshift", line 8, in <module> cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=5e9a043d-4c2e-4b6f-aaea-916e610d0501 stdio=stderr string_id=target-redshift
2025-05-08T19:38:43.739410Z [info ] sys.exit(TargetRedshift.cli()) cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=5e9a043d-4c2e-4b6f-aaea-916e610d0501 stdio=stderr string_id=target-redshift
2025-05-08T19:38:43.739957Z [info ] ^^^^^^^^^^^^^^^^^^^^ cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=5e9a043d-4c2e-4b6f-aaea-916e610d0501 stdio=stderr string_id=target-redshift
2025-05-08T19:38:43.740505Z [info ] File "/app/.meltano/loaders/target-redshift/venv/lib/python3.12/site-packages/click/core.py", line 1161, in __call__ cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=5e9a043d-4c2e-4b6f-aaea-916e610d0501 stdio=stderr string_id=target-redshift
2025-05-08T19:38:43.741037Z [info ] return self.main(*args, **kwargs) cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=5e9a043d-4c2e-4b6f-aaea-916e610d0501 stdio=stderr string_id=target-redshift
2025-05-08T19:38:43.741592Z [info ] ^^^^^^^^^^^^^^^^^^^^^^^^^^ cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=5e9a043d-4c2e-4b6f-aaea-916e610d0501 stdio=stderr string_id=target-redshift
2025-05-08T19:38:43.742130Z [info ] File "/app/.meltano/loaders/target-redshift/venv/lib/python3.12/site-packages/click/core.py", line 1082, in main cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=5e9a043d-4c2e-4b6f-aaea-916e610d0501 stdio=stderr string_id=target-redshift
2025-05-08T19:38:43.742690Z [info ] rv = self.invoke(ctx) cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=5e9a043d-4c2e-4b6f-aaea-916e610d0501 stdio=stderr string_id=target-redshift
2025-05-08T19:38:43.743246Z [info ] ^^^^^^^^^^^^^^^^ cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=5e9a043d-4c2e-4b6f-aaea-916e610d0501 stdio=stderr string_id=target-redshift
2025-05-08T19:38:43.743811Z [info ] File "/app/.meltano/loaders/target-redshift/venv/lib/python3.12/site-packages/singer_sdk/plugin_base.py", line 92, in invoke cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=5e9a043d-4c2e-4b6f-aaea-916e610d0501 stdio=stderr string_id=target-redshift
2025-05-08T19:38:43.744361Z [info ] return super().invoke(ctx) cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=5e9a043d-4c2e-4b6f-aaea-916e610d0501 stdio=stderr string_id=target-redshift
2025-05-08T19:38:43.744911Z [info ] ^^^^^^^^^^^^^^^^^^^ cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=5e9a043d-4c2e-4b6f-aaea-916e610d0501 stdio=stderr string_id=target-redshift
2025-05-08T19:38:43.745465Z [info ] File "/app/.meltano/loaders/target-redshift/venv/lib/python3.12/site-packages/click/core.py", line 1443, in invoke cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=5e9a043d-4c2e-4b6f-aaea-916e610d0501 stdio=stderr string_id=target-redshift
2025-05-08T19:38:43.746062Z [info ] return ctx.invoke(self.callback, **ctx.params) cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=5e9a043d-4c2e-4b6f-aaea-916e610d0501 stdio=stderr string_id=target-redshift
2025-05-08T19:38:43.746622Z [info ] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=5e9a043d-4c2e-4b6f-aaea-916e610d0501 stdio=stderr string_id=target-redshift
2025-05-08T19:38:43.747170Z [info ] File "/app/.meltano/loaders/target-redshift/venv/lib/python3.12/site-packages/click/core.py", line 788, in invoke cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=5e9a043d-4c2e-4b6f-aaea-916e610d0501 stdio=stderr string_id=target-redshift
2025-05-08T19:38:43.753778Z [info ] return __callback(*args, **kwargs) cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=5e9a043d-4c2e-4b6f-aaea-916e610d0501 stdio=stderr string_id=target-redshift
2025-05-08T19:38:43.754662Z [info ] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=5e9a043d-4c2e-4b6f-aaea-916e610d0501 stdio=stderr string_id=target-redshift
2025-05-08T19:38:43.755286Z [info ] File "/app/.meltano/loaders/target-redshift/venv/lib/python3.12/site-packages/singer_sdk/target_base.py", line 586, in invoke cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=5e9a043d-4c2e-4b6f-aaea-916e610d0501 stdio=stderr string_id=target-redshift
2025-05-08T19:38:43.755864Z [info ] target.listen(file_input) cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=5e9a043d-4c2e-4b6f-aaea-916e610d0501 stdio=stderr string_id=target-redshift
2025-05-08T19:38:43.756413Z [info ] File "/app/.meltano/loaders/target-redshift/venv/lib/python3.12/site-packages/singer_sdk/_singerlib/encoding/_base.py", line 53, in listen cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=5e9a043d-4c2e-4b6f-aaea-916e610d0501 stdio=stderr string_id=target-redshift
2025-05-08T19:38:43.756971Z [info ] self._process_lines(file_input or self.default_input) cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=5e9a043d-4c2e-4b6f-aaea-916e610d0501 stdio=stderr string_id=target-redshift
2025-05-08T19:38:43.757522Z [info ] File "/app/.meltano/loaders/target-redshift/venv/lib/python3.12/site-packages/singer_sdk/target_base.py", line 305, in _process_lines cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=5e9a043d-4c2e-4b6f-aaea-916e610d0501 stdio=stderr string_id=target-redshift
Justin Yang
05/08/2025, 7:40 PMJustin Yang
05/08/2025, 7:40 PM2025-05-08T19:40:18.263914Z [info ] METRIC: {"type": "timer", "metric": "sync_duration", "value": 0.1827070713043213, "tags": {"stream": "public-amex_amexfiledownload", "pid": 857, "context": {}, "status": "succeeded"}} cmd_type=elb consumer=False job_name=scylla:tap-postgres-to-target-redshift name=tap-postgres producer=True run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=tap-postgres
2025-05-08T19:40:18.264753Z [info ] METRIC: {"type": "counter", "metric": "record_count", "value": 0, "tags": {"stream": "public-amex_amexfiledownload", "pid": 857, "context": {}}} cmd_type=elb consumer=False job_name=scylla:tap-postgres-to-target-redshift name=tap-postgres producer=True run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=tap-postgres
2025-05-08T19:40:18.265034Z [info ] Beginning full_table sync of 'public-amex_amexsponsoredfilesubmission'... cmd_type=elb consumer=False job_name=scylla:tap-postgres-to-target-redshift name=tap-postgres producer=True run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=tap-postgres
2025-05-08T19:40:18.265436Z [info ] Tap has custom mapper. Using 1 provided map(s). cmd_type=elb consumer=False job_name=scylla:tap-postgres-to-target-redshift name=tap-postgres producer=True run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=tap-postgres
2025-05-08T19:40:18.905847Z [info ] METRIC: {"type": "timer", "metric": "sync_duration", "value": 0.6418006420135498, "tags": {"stream": "public-amex_amexsponsoredfilesubmission", "pid": 857, "context": {}, "status": "succeeded"}} cmd_type=elb consumer=False job_name=scylla:tap-postgres-to-target-redshift name=tap-postgres producer=True run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=tap-postgres
2025-05-08T19:40:18.906592Z [info ] METRIC: {"type": "counter", "metric": "record_count", "value": 5028, "tags": {"stream": "public-amex_amexsponsoredfilesubmission", "pid": 857, "context": {}}} cmd_type=elb consumer=False job_name=scylla:tap-postgres-to-target-redshift name=tap-postgres producer=True run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=tap-postgres
2025-05-08T19:40:18.907181Z [info ] Beginning full_table sync of 'public-api_accesstoken'... cmd_type=elb consumer=False job_name=scylla:tap-postgres-to-target-redshift name=tap-postgres producer=True run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=tap-postgres
2025-05-08T19:40:18.907605Z [info ] Tap has custom mapper. Using 1 provided map(s). cmd_type=elb consumer=False job_name=scylla:tap-postgres-to-target-redshift name=tap-postgres producer=True run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=tap-postgres
2025-05-08T19:40:19.125805Z [info ] Found credentials from IAM Role: Wave__Data-ObservabilityScyllaGrafanaEC2Role cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.495927Z [info ] Traceback (most recent call last): cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.496400Z [info ] File "/app/.meltano/loaders/target-redshift/venv/bin/target-redshift", line 8, in <module> cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.496832Z [info ] sys.exit(TargetRedshift.cli()) cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.497205Z [info ] ^^^^^^^^^^^^^^^^^^^^ cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.497645Z [info ] File "/app/.meltano/loaders/target-redshift/venv/lib/python3.12/site-packages/click/core.py", line 1161, in __call__ cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.497968Z [info ] return self.main(*args, **kwargs) cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.498385Z [info ] ^^^^^^^^^^^^^^^^^^^^^^^^^^ cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.498693Z [info ] File "/app/.meltano/loaders/target-redshift/venv/lib/python3.12/site-packages/click/core.py", line 1082, in main cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.499045Z [info ] rv = self.invoke(ctx) cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.499394Z [info ] ^^^^^^^^^^^^^^^^ cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.499745Z [info ] File "/app/.meltano/loaders/target-redshift/venv/lib/python3.12/site-packages/singer_sdk/plugin_base.py", line 92, in invoke cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.500126Z [info ] return super().invoke(ctx) cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.500483Z [info ] ^^^^^^^^^^^^^^^^^^^ cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.506078Z [info ] File "/app/.meltano/loaders/target-redshift/venv/lib/python3.12/site-packages/click/core.py", line 1443, in invoke cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.506482Z [info ] return ctx.invoke(self.callback, **ctx.params) cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.506830Z [info ] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.507165Z [info ] File "/app/.meltano/loaders/target-redshift/venv/lib/python3.12/site-packages/click/core.py", line 788, in invoke cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.507507Z [info ] return __callback(*args, **kwargs) cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.507842Z [info ] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.508186Z [info ] File "/app/.meltano/loaders/target-redshift/venv/lib/python3.12/site-packages/singer_sdk/target_base.py", line 586, in invoke cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.508531Z [info ] target.listen(file_input) cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.508869Z [info ] File "/app/.meltano/loaders/target-redshift/venv/lib/python3.12/site-packages/singer_sdk/_singerlib/encoding/_base.py", line 53, in listen cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.509207Z [info ] self._process_lines(file_input or self.default_input) cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.509567Z [info ] File "/app/.meltano/loaders/target-redshift/venv/lib/python3.12/site-packages/singer_sdk/target_base.py", line 305, in _process_lines cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.509950Z [info ] counter = super()._process_lines(file_input) cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.510265Z [info ] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.510657Z [info ] File "/app/.meltano/loaders/target-redshift/venv/lib/python3.12/site-packages/singer_sdk/_singerlib/encoding/_base.py", line 80, in _process_lines cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.510960Z [info ] self._process_schema_message(line_dict) cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
Justin Yang
05/08/2025, 7:40 PM2025-05-08T19:40:19.518051Z [info ] File "/app/.meltano/loaders/target-redshift/venv/lib/python3.12/site-packages/singer_sdk/target_base.py", line 421, in _process_schema_message cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.518476Z [info ] _ = self.get_sink( cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.518831Z [info ] ^^^^^^^^^^^^^^ cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.519170Z [info ] File "/app/.meltano/loaders/target-redshift/venv/lib/python3.12/site-packages/singer_sdk/target_base.py", line 815, in get_sink cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.519510Z [info ] return self.add_sqlsink(stream_name, schema, key_properties) cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.519851Z [info ] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.520193Z [info ] File "/app/.meltano/loaders/target-redshift/venv/lib/python3.12/site-packages/singer_sdk/target_base.py", line 749, in add_sqlsink cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.520530Z [info ] sink.setup() cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.520867Z [info ] File "/app/.meltano/loaders/target-redshift/venv/lib/python3.12/site-packages/target_redshift/sinks.py", line 82, in setup cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.521203Z [info ] with self.connector.connect_cursor() as cursor: cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.521558Z [info ] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.521955Z [info ] File "/usr/local/lib/python3.12/contextlib.py", line 137, in __enter__ cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.522257Z [info ] return next(self.gen) cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.522593Z [info ] ^^^^^^^^^^^^^^ cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.522925Z [info ] File "/app/.meltano/loaders/target-redshift/venv/lib/python3.12/site-packages/target_redshift/connector.py", line 88, in connect_cursor cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.523262Z [info ] with redshift_connector.connect( cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.523594Z [info ] ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.523929Z [info ] File "/app/.meltano/loaders/target-redshift/venv/lib/python3.12/site-packages/redshift_connector/__init__.py", line 394, in connect cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.524264Z [info ] return Connection( cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.524596Z [info ] ^^^^^^^^^^^ cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.524928Z [info ] File "/app/.meltano/loaders/target-redshift/venv/lib/python3.12/site-packages/redshift_connector/core.py", line 795, in __init__ cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.530666Z [info ] raise self.error cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
2025-05-08T19:40:19.531307Z [info ] redshift_connector.error.InterfaceError: {'S': 'FATAL', 'C': '28000', 'M': 'no pg_hba.conf entry for host "???", user "wave", database "scylla", SSL off', 'F': '/opt/brazil-pkg-cache/packages/RedshiftPADB/RedshiftPADB-1.0.12086.0/AL2_x86_64/generic-flavor/src/src/pg/src/backend/libpq/auth.c', 'L': '477', 'R': 'ClientAuthentication'} cmd_type=elb consumer=True job_name=scylla:tap-postgres-to-target-redshift name=target-redshift producer=False run_id=7647d3c8-301e-4458-b684-f313babc0844 stdio=stderr string_id=target-redshift
Justin Yang
05/08/2025, 7:41 PMEdgar Ramรญrez (Arch.dev)
05/08/2025, 7:48 PMJustin Yang
05/08/2025, 8:07 PM| [ + ^ ?
Edgar Ramรญrez (Arch.dev)
05/08/2025, 8:42 PMJustin Yang
05/09/2025, 5:09 PMJustin Yang
05/09/2025, 5:09 PMJustin Yang
05/09/2025, 5:10 PMEdgar Ramรญrez (Arch.dev)
05/09/2025, 5:27 PM