D 2024-02-02 16:08:54.009891+00:00 Params: [('source_key', 'agdicmlk...'), ('last_polled', '2024-02-02-15-41-18')]
I 2024-02-02 16:08:54.041960+00:00 Source: @cory@social.lol (Mastodon) @cory@social.lol, https://brid.gy/mastodon/@cory@social.lol
I 2024-02-02 16:08:54.042393+00:00 Last poll: https://brid.gy/log?start_time=1706888478&key=agdicmlkLWd5ch4LEghNYXN0b2RvbiIQQGNvcnlAc29jaWFsLmxvbAw
I 2024-02-02 16:08:54.067936+00:00 Updating @cory@social.lol (Mastodon) /mastodon/@cory@social.lol : {'poll_status': 'polling', 'last_poll_attempt': datetime.datetime(2024, 2, 2, 16, 8, 54, 42539, tzinfo=datetime.timezone.utc), 'rate_limited': False}
I 2024-02-02 16:08:54.183349+00:00 no refresh_token
I 2024-02-02 16:08:54.207018+00:00 requests.get https://social.lol/api/v1/accounts/109606224363698309/statuses {'params': {'limit': 30}, 'headers': {'Authorization': '...'}}
I 2024-02-02 16:08:54.955222+00:00 Redirected to https://social.lol/api/v1/accounts/109606224363698309/statuses?limit=30
I 2024-02-02 16:08:54.958672+00:00 Received 200
I 2024-02-02 16:08:54.967085+00:00 requests.get https://social.lol/api/v1/statuses/111862729453765802/favourited_by {'headers': {'Authorization': '...'}}
I 2024-02-02 16:08:55.256383+00:00 Received 200
I 2024-02-02 16:08:55.292432+00:00 requests.get https://social.lol/api/v1/notifications {'params': {'exclude_types[]': ['follow', 'favourite', 'reblog']}, 'headers': {'Authorization': '...'}}
I 2024-02-02 16:08:56.227946+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-02 16:08:56.232234+00:00 Received 200
I 2024-02-02 16:08:56.291534+00:00 Found 63 public activities: dict_keys(['tag:social.lol,2013:111862733819310659', 'tag:social.lol,2013:111862730277051493', 'tag:social.lol,2013:111862729453765802', 'tag:social.lol,2013:111861313430356028', 'tag:social.lol,2013:111859577292622129', 'tag:social.lol,2013:111859571832130622', 'tag:social.lol,2013:111859571132960913', 'tag:social.lol,2013:111859399470859513', 'tag:social.lol,2013:111859314722125062', 'tag:social.lol,2013:111858959031910133', 'tag:social.lol,2013:111858796166964518', 'tag:social.lol,2013:111858787654226881', 'tag:social.lol,2013:111858553999999480', 'tag:social.lol,2013:111858551735396292', 'tag:social.lol,2013:111858490668853042', 'tag:social.lol,2013:111858482969161784', 'tag:social.lol,2013:111858360265430541', 'tag:social.lol,2013:111858334607604782', 'tag:social.lol,2013:111858295881866214', 'tag:social.lol,2013:111858292590925423', 'tag:social.lol,2013:111858232913658162', 'tag:social.lol,2013:111858223313012481', 'tag:social.lol,2013:111858145769394549', 'tag:social.lol,2013:111858143144508694', 'tag:social.lol,2013:111858124895326493', 'tag:social.lol,2013:111858124808185188', 'tag:social.lol,2013:111858117039615465', 'tag:social.lol,2013:111858087340181873', 'tag:social.lol,2013:111858084195594544', 'tag:social.lol,2013:111861625503276989', 'tag:social.lol,2013:111861337914219525', 'tag:social.lol,2013:111860698811087326', 'tag:social.lol,2013:111860470611369360', 'tag:social.lol,2013:111859456348945577', 'tag:social.lol,2013:111858808680850037', 'tag:social.lol,2013:111858786996422357', 'tag:social.lol,2013:111858785049735861', 'tag:social.lol,2013:111858529320001424', 'tag:social.lol,2013:111858355945227277', 'tag:social.lol,2013:111858331277984338', 'tag:social.lol,2013:111858229642421605', 'tag:social.lol,2013:111858220928458544', 'tag:social.lol,2013:111858142375910588', 'tag:social.lol,2013:111858123180578543', 'tag:social.lol,2013:111858108908075898', 'tag:social.lol,2013:111858081597111758', 'tag:social.lol,2013:111858076583502100', 'tag:social.lol,2013:111858074112411182', 'tag:social.lol,2013:111858067481198358', 'tag:social.lol,2013:111858057776982861', 'tag:social.lol,2013:111858040925799918', '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'])
I 2024-02-02 16:08:56.291823+00:00 Found 3 private activities: dict_keys(['tag:social.lol,2013:111859272240616978', 'tag:social.lol,2013:111852792516964453', 'tag:social.lol,2013:111852787192327581'])
D 2024-02-02 16:08:56.294604+00:00 discovering original posts for: https://social.lol/@cory/111862729453765802
I 2024-02-02 16:08:56.295236+00:00 requests.head https://mastodon.social/@Gur814 {'headers': {}}
I 2024-02-02 16:08:56.937461+00:00 Received 200
I 2024-02-02 16:08:56.937867+00:00 Original post discovery found original posts set(), mentions {'https://mastodon.social/@Gur814'}
I 2024-02-02 16:08:56.938248+00:00 requests.head https://social.lol/@cory/111862729453765802 {'headers': None}
I 2024-02-02 16:08:57.172376+00:00 Received 200
I 2024-02-02 16:08:57.172819+00:00 starting posse post discovery with syndicated https://social.lol/@cory/111862729453765802
I 2024-02-02 16:08:57.250613+00:00 requests.head https://coryd.dev/ {'headers': {}}
I 2024-02-02 16:08:57.641608+00:00 Received 200
D 2024-02-02 16:08:57.642783+00:00 fetching author url https://coryd.dev/
I 2024-02-02 16:08:57.643006+00:00 requests.get https://coryd.dev/ {'gateway': False, 'headers': {}}
I 2024-02-02 16:08:57.858659+00:00 Received 200
D 2024-02-02 16:08:57.889495+00:00 No h-feed found, fallback to top-level h-entrys.
D 2024-02-02 16:08:57.890519+00:00 ignoring h-entry with no u-url!
D 2024-02-02 16:08:57.890723+00:00 ignoring h-entry with no u-url!
D 2024-02-02 16:08:57.890843+00:00 ignoring h-entry with no u-url!
D 2024-02-02 16:08:57.890955+00:00 ignoring h-entry with no u-url!
D 2024-02-02 16:08:57.891055+00:00 ignoring h-entry with no u-url!
D 2024-02-02 16:08:57.891149+00:00 ignoring h-entry with no u-url!
D 2024-02-02 16:08:57.891239+00:00 ignoring h-entry with no u-url!
D 2024-02-02 16:08:57.891328+00:00 ignoring h-entry with no u-url!
I 2024-02-02 16:08:57.891548+00:00 requests.head https://blog.coryd.dev/ {'headers': {}}
W 2024-02-02 16:08:57.915840+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 0x3e62c357aa10>: Failed to resolve 'blog.coryd.dev' ([Errno -2] Name or service not known)"))
W 2024-02-02 16:08:57.916735+00:00 Couldn't resolve URL https://blog.coryd.dev/: https://blog.coryd.dev/
D 2024-02-02 16:08:57.917991+00:00 fetching author url https://blog.coryd.dev/
I 2024-02-02 16:08:57.918212+00:00 requests.get https://blog.coryd.dev/ {'gateway': False, 'headers': {}}
I 2024-02-02 16:08:57.923677+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 198, 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 793, 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 1099, in _validate_conn
conn.connect()
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/urllib3/connection.py", line 616, in connect
self.sock = sock = self._new_conn()
^^^^^^^^^^^^^^^^
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/urllib3/connection.py", line 205, in _new_conn
raise NameResolutionError(self.host, self, e) from e
urllib3.exceptions.NameResolutionError: <urllib3.connection.HTTPSConnection object at 0x3e62c3599a90>: 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 847, 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 0x3e62c3599a90>: 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 0x3e62c3599a90>: Failed to resolve 'blog.coryd.dev' ([Errno -2] Name or service not known)"))
D 2024-02-02 16:08:57.928714+00:00 posse post discovery found no relationship for https://social.lol/@cory/111862729453765802
I 2024-02-02 16:08:58.211494+00:00 skipping refetch h-feed. last-syndication-url None, last-refetch 2023-04-05 01:01:07.886830+00:00
I 2024-02-02 16:08:58.256461+00:00 Updating @cory@social.lol (Mastodon) /mastodon/@cory@social.lol : {'last_public_post': datetime.datetime(2024, 2, 2, 16, 4, 19, 304000), 'recent_private_posts': 0, 'last_polled': datetime.datetime(2024, 2, 2, 16, 8, 54, 42539, tzinfo=datetime.timezone.utc), 'poll_status': 'ok'}
I 2024-02-02 16:08:58.398255+00:00 Added poll task projects/brid-gy/locations/us-central1/queues/poll/tasks/75471955616602262031 with ETA 1706891868: {'app_engine_http_request': {'http_method': 'POST', 'relative_uri': '/_ah/queue/poll', 'body': b'source_key=agdicmlkLWd5ch4LEghNYXN0b2RvbiIQQGNvcnlAc29jaWFsLmxvbAw&last_polled=2024-02-02-16-08-54', 'headers': {'Content-Type': 'application/x-www-form-urlencoded'}}, 'schedule_time': seconds: 1706891868
}