D 2024-02-01 19:53:28.008411+00:00 Params: [('source_key', 'agdicmlk...'), ('last_polled', '2024-02-01-19-24-40')]
I 2024-02-01 19:53:28.047374+00:00 Source: @cory@social.lol (Mastodon) @cory@social.lol, https://brid.gy/mastodon/@cory@social.lol
I 2024-02-01 19:53:28.047787+00:00 Last poll: https://brid.gy/log?start_time=1706815480&key=agdicmlkLWd5ch4LEghNYXN0b2RvbiIQQGNvcnlAc29jaWFsLmxvbAw
I 2024-02-01 19:53:28.066486+00:00 Updating @cory@social.lol (Mastodon) /mastodon/@cory@social.lol : {'poll_status': 'polling', 'last_poll_attempt': datetime.datetime(2024, 2, 1, 19, 53, 28, 47917, tzinfo=datetime.timezone.utc), 'rate_limited': False}
I 2024-02-01 19:53:28.183696+00:00 no refresh_token
I 2024-02-01 19:53:28.214766+00:00 requests.get https://social.lol/api/v1/accounts/109606224363698309/statuses {'params': {'limit': 30}, 'headers': {'Authorization': '...'}}
I 2024-02-01 19:53:29.276393+00:00 Redirected to https://social.lol/api/v1/accounts/109606224363698309/statuses?limit=30
I 2024-02-01 19:53:29.279064+00:00 Received 200
I 2024-02-01 19:53:29.283908+00:00 requests.get https://social.lol/api/v1/statuses/111857960582461877/favourited_by {'headers': {'Authorization': '...'}}
I 2024-02-01 19:53:29.437013+00:00 Received 200
I 2024-02-01 19:53:29.480358+00:00 requests.get https://social.lol/api/v1/notifications {'params': {'exclude_types[]': ['follow', 'favourite', 'reblog']}, 'headers': {'Authorization': '...'}}
I 2024-02-01 19:53:30.315489+00:00 Redirected to https://social.lol/api/v1/notifications?exclude_types%5B%5D=follow&exclude_types%5B%5D=favourite&exclude_types%5B%5D=reblog
I 2024-02-01 19:53:30.320031+00:00 Received 200
I 2024-02-01 19:53:30.357145+00:00 Found 55 public activities: dict_keys(['tag:social.lol,2013:111857960582461877', 'tag:social.lol,2013:111857958193108054', 'tag:social.lol,2013:111857839576982534', 'tag:social.lol,2013:111857839523196325', 'tag:social.lol,2013:111857839438820513', 'tag:social.lol,2013:111857839372860920', 'tag:social.lol,2013:111857832390617920', 'tag:social.lol,2013:111857443386398504', 'tag:social.lol,2013:111857434095486053', 'tag:social.lol,2013:111857089951326038', 'tag:social.lol,2013:111854236609507087', 'tag:social.lol,2013:111854124658409588', 'tag:social.lol,2013:111853169012113370', 'tag:social.lol,2013:111852981276508348', 'tag:social.lol,2013:111852978847865928', 'tag:social.lol,2013:111852915463071233', 'tag:social.lol,2013:111852913834862579', 'tag:social.lol,2013:111852873565875155', 'tag:social.lol,2013:111852864820312267', 'tag:social.lol,2013:111852859299545546', 'tag:social.lol,2013:111852857922351834', 'tag:social.lol,2013:111852819924285101', 'tag:social.lol,2013:111852347501285387', 'tag:social.lol,2013:111852150378127843', 'tag:social.lol,2013:111852147834657313', 'tag:social.lol,2013:111852141616801651', 'tag:social.lol,2013:111852140448150814', 'tag:social.lol,2013:111856592125374009', 'tag:social.lol,2013:111855905984129938', 'tag:social.lol,2013:111853072964429714', 'tag:social.lol,2013:111855114405122381', 'tag:social.lol,2013:111853080696692756', 'tag:social.lol,2013:111852989090171769', 'tag:social.lol,2013:111852200358488069', 'tag:social.lol,2013:111852145436594412', 'tag:social.lol,2013:111852135499156628', 'tag:social.lol,2013:111852127901810645', 'tag:social.lol,2013:111852108501192697', 'tag:social.lol,2013:111851982676545761', 'tag:social.lol,2013:111851313159664929', 'tag:social.lol,2013:111851256521673367', 'tag:social.lol,2013:111847705099666875', 'tag:social.lol,2013:111847222049670525', 'tag:social.lol,2013:111847170352996730', 'tag:social.lol,2013:111847154583201519', 'tag:social.lol,2013:111847107762386815', 'tag:social.lol,2013:111846775085814970', 'tag:social.lol,2013:111846179199176550', 'tag:social.lol,2013:111842086519848031', 'tag:social.lol,2013:111842079140997164', 'tag:social.lol,2013:111842072071788218', 'tag:social.lol,2013:111842061221951131', 'tag:social.lol,2013:111842053238266746', 'tag:social.lol,2013:111841330978048316', 'tag:social.lol,2013:111840925896627056'])
I 2024-02-01 19:53:30.357376+00:00 Found 10 private activities: dict_keys(['tag:social.lol,2013:111852795024060616', 'tag:social.lol,2013:111852788359131443', 'tag:social.lol,2013:111852778953404115', 'tag:social.lol,2013:111852792516964453', 'tag:social.lol,2013:111852787192327581', 'tag:social.lol,2013:111851195365641339', 'tag:social.lol,2013:111845857168442962', 'tag:social.lol,2013:111844266203364763', 'tag:social.lol,2013:111842706601825737', 'tag:social.lol,2013:111842349436168412'])
D 2024-02-01 19:53:30.359773+00:00 discovering original posts for: https://social.lol/@cory/111857960582461877
I 2024-02-01 19:53:30.360056+00:00 Original post discovery found original posts set(), mentions set()
I 2024-02-01 19:53:30.360435+00:00 requests.head https://social.lol/@cory/111857960582461877 {'headers': None}
I 2024-02-01 19:53:30.520081+00:00 Received 200
I 2024-02-01 19:53:30.520478+00:00 starting posse post discovery with syndicated https://social.lol/@cory/111857960582461877
I 2024-02-01 19:53:30.552973+00:00 requests.head https://coryd.dev/ {'headers': {}}
I 2024-02-01 19:53:30.815727+00:00 Received 200
D 2024-02-01 19:53:30.817061+00:00 fetching author url https://coryd.dev/
I 2024-02-01 19:53:30.817329+00:00 requests.get https://coryd.dev/ {'gateway': False, 'headers': {}}
I 2024-02-01 19:53:30.956220+00:00 Received 200
D 2024-02-01 19:53:30.971909+00:00 No h-feed found, fallback to top-level h-entrys.
D 2024-02-01 19:53:30.972546+00:00 ignoring h-entry with no u-url!
D 2024-02-01 19:53:30.972713+00:00 ignoring h-entry with no u-url!
D 2024-02-01 19:53:30.972823+00:00 ignoring h-entry with no u-url!
D 2024-02-01 19:53:30.972934+00:00 ignoring h-entry with no u-url!
D 2024-02-01 19:53:30.973041+00:00 ignoring h-entry with no u-url!
D 2024-02-01 19:53:30.973140+00:00 ignoring h-entry with no u-url!
D 2024-02-01 19:53:30.973228+00:00 ignoring h-entry with no u-url!
D 2024-02-01 19:53:30.973323+00:00 ignoring h-entry with no u-url!
I 2024-02-01 19:53:30.973568+00:00 requests.head https://blog.coryd.dev/ {'headers': {}}
W 2024-02-01 19:53:31.038031+00:00 Couldn't resolve URL https://blog.coryd.dev/ : HTTPSConnectionPool(host='blog.coryd.dev', port=443): Max retries exceeded with url: / (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x3e9e997e6190>: Failed to resolve 'blog.coryd.dev' ([Errno -2] Name or service not known)"))
W 2024-02-01 19:53:31.038375+00:00 Couldn't resolve URL https://blog.coryd.dev/: https://blog.coryd.dev/
D 2024-02-01 19:53:31.044594+00:00 fetching author url https://blog.coryd.dev/
I 2024-02-01 19:53:31.044903+00:00 requests.get https://blog.coryd.dev/ {'gateway': False, 'headers': {}}
I 2024-02-01 19:53:31.051963+00:00 Could not fetch author url https://blog.coryd.dev/
Traceback (most recent call last):
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/urllib3/connection.py", line 203, in _new_conn
sock = connection.create_connection(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/urllib3/util/connection.py", line 60, in create_connection
for res in socket.getaddrinfo(host, port, family, socket.SOCK_STREAM):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/layers/google.python.runtime/python/lib/python3.11/socket.py", line 962, in getaddrinfo
for res in _socket.getaddrinfo(host, port, family, type, proto, flags):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
socket.gaierror: [Errno -2] Name or service not known

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

Traceback (most recent call last):
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/urllib3/connectionpool.py", line 790, in urlopen
response = self._make_request(
^^^^^^^^^^^^^^^^^^^
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/urllib3/connectionpool.py", line 491, in _make_request
raise new_e
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/urllib3/connectionpool.py", line 467, in _make_request
self._validate_conn(conn)
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/urllib3/connectionpool.py", line 1096, in _validate_conn
conn.connect()
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/urllib3/connection.py", line 611, in connect
self.sock = sock = self._new_conn()
^^^^^^^^^^^^^^^^
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/urllib3/connection.py", line 210, in _new_conn
raise NameResolutionError(self.host, self, e) from e
urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPSConnection object at 0x3e9e9351eed0>: Failed to resolve 'blog.coryd.dev' ([Errno -2] Name or service not known)

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

Traceback (most recent call last):
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
^^^^^^^^^^^^^
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/urllib3/connectionpool.py", line 844, in urlopen
retries = retries.increment(
^^^^^^^^^^^^^^^^^^
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/urllib3/util/retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason # type: ignore[arg-type]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='blog.coryd.dev', port=443): Max retries exceeded with url: / (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x3e9e9351eed0>: Failed to resolve 'blog.coryd.dev' ([Errno -2] Name or service not known)"))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/workspace/original_post_discovery.py", line 300, in _process_author
author_mf2 = util.fetch_mf2(author_url)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/util.py", line 273, in fetch_mf2
return util.fetch_mf2(url, get_fn=requests_get, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/oauth_dropins/webutil/util.py", line 2223, in fetch_mf2
resp = get_fn(fragmentless(url), gateway=gateway, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/util.py", line 268, in requests_get
return util.requests_get(url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/oauth_dropins/webutil/util.py", line 1662, in call
resp = getattr((session or requests), fn)(url, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/requests/api.py", line 73, in get
return request("get", url, params=params, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/requests/api.py", line 59, in request
return session.request(method=method, url=url, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/requests/adapters.py", line 519, in send
raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='blog.coryd.dev', port=443): Max retries exceeded with url: / (Caused by NameResolutionError("<urllib3.connection.HTTPSConnection object at 0x3e9e9351eed0>: Failed to resolve 'blog.coryd.dev' ([Errno -2] Name or service not known)"))
D 2024-02-01 19:53:31.060744+00:00 posse post discovery found no relationship for https://social.lol/@cory/111857960582461877
I 2024-02-01 19:53:31.281421+00:00 skipping refetch h-feed. last-syndication-url None, last-refetch 2023-04-05 01:01:07.886830+00:00
I 2024-02-01 19:53:31.313605+00:00 Updating @cory@social.lol (Mastodon) /mastodon/@cory@social.lol : {'last_public_post': datetime.datetime(2024, 2, 1, 19, 50, 25, 489000), 'recent_private_posts': 0, 'last_polled': datetime.datetime(2024, 2, 1, 19, 53, 28, 47917, tzinfo=datetime.timezone.utc), 'poll_status': 'ok'}
I 2024-02-01 19:53:31.420438+00:00 Added poll task projects/brid-gy/locations/us-central1/queues/poll/tasks/14300215434363749331 with ETA 1706819357: {'app_engine_http_request': {'http_method': 'POST', 'relative_uri': '/_ah/queue/poll', 'body': b'source_key=agdicmlkLWd5ch4LEghNYXN0b2RvbiIQQGNvcnlAc29jaWFsLmxvbAw&last_polled=2024-02-01-19-53-28', 'headers': {'Content-Type': 'application/x-www-form-urlencoded'}}, 'schedule_time': seconds: 1706819357
}