rich_parker
01/29/2020, 5:53 PMMetaGeek
INFO Started syncing stream charges
INFO message='Request to Stripe api' method=get path=https://api.stripe.com/v1/charges?created[gte]=1577862000
Traceback (most recent call last):
File "/var/meltano/project/.meltano/loaders/target-postgres/venv/bin/target-postgres", line 11, in <module>
load_entry_point('target-postgres==1.1.3', 'console_scripts', 'target-postgres')()
File "/var/meltano/project/.meltano/loaders/target-postgres/venv/lib/python3.6/site-packages/target_postgres/__init__.py", line 138, in main
state = persist_lines(config, input)
File "/var/meltano/project/.meltano/loaders/target-postgres/venv/lib/python3.6/site-packages/target_postgres/__init__.py", line 101, in persist_lines
stream_to_sync[stream].create_schema_if_not_exists()
File "/var/meltano/project/.meltano/loaders/target-postgres/venv/lib/python3.6/site-packages/target_postgres/db_sync.py", line 297, in create_schema_if_not_exists
(schema_name,)
File "/var/meltano/project/.meltano/loaders/target-postgres/venv/lib/python3.6/site-packages/target_postgres/db_sync.py", line 133, in query
with self.open_connection() as connection:
File "/var/meltano/project/.meltano/loaders/target-postgres/venv/lib/python3.6/site-packages/target_postgres/db_sync.py", line 130, in open_connection
return psycopg2.connect(conn_string)
File "/var/meltano/project/.meltano/loaders/target-postgres/venv/lib/python3.6/site-packages/psycopg2/__init__.py", line 130, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
psycopg2.OperationalError: could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5502?
INFO METRIC: {"type": "timer", "metric": "http_request_duration", "value": 1.0993385314941406, "tags": {"endpoint": "charges", "status": "succeeded"}}
INFO message='Stripe API response' path=https://api.stripe.com/v1/charges?created[gte]=1577862000 response_code=200
WARNING Removed 8 paths during transforms:
application_fee_amount
billing_details
disputed
payment_method
payment_method_details
receipt_url
statement_descriptor_suffix
transfer_data
WARNING Removed paths list: ['application_fee_amount', 'billing_details', 'disputed', 'payment_method', 'payment_method_details', 'receipt_url', 'statement_descriptor_suffix', 'transfer_data']
INFO METRIC: {"type": "counter", "metric": "record_count", "value": 0, "tags": {"endpoint": "charges"}}
INFO METRIC: {"type": "counter", "metric": "record_count", "value": 0, "tags": {"endpoint": "events"}}
INFO METRIC: {"type": "counter", "metric": "record_count", "value": 0, "tags": {"endpoint": "customers"}}
INFO METRIC: {"type": "counter", "metric": "record_count", "value": 0, "tags": {"endpoint": "plans"}}
INFO METRIC: {"type": "counter", "metric": "record_…yannis_roussos
01/29/2020, 6:02 PMpsycopg2.OperationalError: could not connect to server: Connection refused
Is the server running on host "localhost" (127.0.0.1) and accepting
TCP/IP connections on port 5502?
Check my response on the following thread for mor info:
https://meltano.slack.com/archives/CFG3C3C66/p1580306622004300rich_parker
01/29/2020, 10:09 PMyannis_roussos
01/30/2020, 9:16 AMmicael_bergeron
01/30/2020, 9:00 PMmicael_bergeron
01/30/2020, 9:09 PMmicael_bergeron
01/30/2020, 9:14 PMmicael_bergeron
01/30/2020, 9:15 PMrich_parker
01/30/2020, 11:04 PMmicael_bergeron
01/30/2020, 11:21 PMrich_parker
02/05/2020, 4:25 PM