Control Center
Run #156487
Open log

Metadata

Target
Netflix
Sync template
Facebook Graph - Incremental Sync
Status
failed
Started
2026-05-12 18:48:32.208187
Finished
2026-05-12 18:50:36.055664
Error
Command exited with code 1

Log

or connection Netflix (facebook) / sync template Facebook Graph - Incremental Sync (type=dlt)
Resolved command: cd /srv/kpiper && python facebook_graph_pipeline.py
Injected profile context env vars (tokens exported: 1).
Pipeline env overrides applied: ENABLE_PAGE_INSIGHTS, ENABLE_PAGE_OBJECTS, ENABLE_PAGE_POSTS, ENABLE_PAGE_POST_ATTACHMENTS, ENABLE_PAGE_POST_INSIGHTS, PAGE_ID, PAGE_INSIGHTS_LOOKBACK_DAYS, POSTS_BATCH_SIZE, POSTS_LIMIT, POSTS_PAGINATION, POST_INCREMENTAL_LOOKBACK_DAYS, POST_INSIGHTS_LOOKBACK_DAYS, SOURCES__FACEBOOK_GRAPH_REST_API_SOURCE__ACCESS_TOKEN, SYNC_MODE
Refreshed Meta Page Token at 2026-05-12T18:48:32.186178.
Forced unbuffered Python output for child process.
/usr/local/lib/python3.11/site-packages/dlt/pipeline/progress.py:27: UserWarning: psutil dependency is not installed and memory stats will not be available. Add psutil to your environment or pass dump_system_stats=False to disable this warning.
  return log()
Traceback (most recent call last):
  File "/srv/kpiper/facebook_graph_pipeline.py", line 393, in _request_json
    with urlopen(request, timeout=timeout_seconds) as response:  # noqa: S310
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/urllib/request.py", line 216, in urlopen
    return opener.open(url, data, timeout)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/urllib/request.py", line 519, in open
    response = self._open(req, data)
               ^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/urllib/request.py", line 536, in _open
    result = self._call_chain(self.handle_open, protocol, protocol +
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/urllib/request.py", line 496, in _call_chain
    result = func(*args)
             ^^^^^^^^^^^
  File "/usr/local/lib/python3.11/urllib/request.py", line 1391, in https_open
    return self.do_open(http.client.HTTPSConnection, req,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/urllib/request.py", line 1352, in do_open
    r = h.getresponse()
        ^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/http/client.py", line 1415, in getresponse
    response.begin()
  File "/usr/local/lib/python3.11/http/client.py", line 330, in begin
    version, status, reason = self._read_status()
                              ^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/http/client.py", line 291, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/socket.py", line 718, in readinto
    return self._sock.recv_into(b)
           ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/ssl.py", line 1314, in recv_into
    return self.read(nbytes, buffer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/ssl.py", line 1166, in read
    return self._sslobj.read(len, buffer)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TimeoutError: The read operation timed out

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/srv/kpiper/facebook_graph_pipeline.py", line 1592, in <module>
    load_info = pipeline.run(facebook_graph_rest_api_source())
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/dlt/extract/decorators.py", line 201, in __call__
    source = self._deco_f(*args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/dlt/extract/decorators.py", line 299, in _wrap
    rv = conf_f(*args, **kwargs)
         ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/site-packages/dlt/common/configuration/inject.py", line 281, in _wrap
    return f(*bound_args.args, **bound_args.kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/kpiper/facebook_graph_pipeline.py", line 1366, in facebook_graph_rest_api_source
    recent_posts_for_insights = _collect_page_posts(
                                ^^^^^^^^^^^^^^^^^^^^
  File "/srv/kpiper/facebook_graph_pipeline.py", line 1127, in _collect_page_posts
    for item in items:
  File "/srv/kpiper/facebook_graph_pipeline.py", line 487, in _iter_edge_with_field_fallback
    yield from _iter_edge(client, path, request_params, paginate=paginate, max_items=max_items)
  File "/srv/kpiper/facebook_graph_pipeline.py", line 454, in _iter_edge
    response = _graph_get_url(client, next_url) if next_url else _graph_get_json(client, path, params)
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/srv/kpiper/facebook_graph_pipeline.py", line 435, in _graph_get_url
    return _request_json(
           ^^^^^^^^^^^^^^
  File "/srv/kpiper/facebook_graph_pipeline.py", line 419, in _request_json
    raise RuntimeError(str(exc)) from exc
RuntimeError: The read operation timed out
[2026-05-12T18:50:36.043163] Command failed with code 1.

Open full log