D 2024-02-02 05:36:52.005899+00:00 Params: [('source_key', 'agdicmlk...'), ('last_polled', '2024-02-02-05-04-01')]
I 2024-02-02 05:36:52.026545+00:00 Source: @robb@social.lol (Mastodon) @robb@social.lol, https://brid.gy/mastodon/@robb@social.lol
I 2024-02-02 05:36:52.026948+00:00 Last poll: https://brid.gy/log?start_time=1706850241&key=agdicmlkLWd5ch4LEghNYXN0b2RvbiIQQHJvYmJAc29jaWFsLmxvbAw
I 2024-02-02 05:36:52.042078+00:00 Updating @robb@social.lol (Mastodon) /mastodon/@robb@social.lol : {'poll_status': 'polling', 'last_poll_attempt': datetime.datetime(2024, 2, 2, 5, 36, 52, 27059, tzinfo=datetime.timezone.utc), 'rate_limited': False}
I 2024-02-02 05:36:52.133118+00:00 no refresh_token
I 2024-02-02 05:36:52.158227+00:00 requests.get https://social.lol/api/v1/accounts/109523762776095110/statuses {'params': {'limit': 30}, 'headers': {'Authorization': '...'}}
I 2024-02-02 05:36:52.866955+00:00 Redirected to https://social.lol/api/v1/accounts/109523762776095110/statuses?limit=30
I 2024-02-02 05:36:52.868829+00:00 Received 200
I 2024-02-02 05:36:52.901622+00:00 requests.get https://social.lol/api/v1/notifications {'params': {'exclude_types[]': ['follow', 'favourite', 'reblog']}, 'headers': {'Authorization': '...'}}
I 2024-02-02 05:36:53.926969+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 05:36:53.929429+00:00 Received 200
I 2024-02-02 05:36:53.986194+00:00 Found 60 public activities: dict_keys(['tag:social.lol,2013:111859049690174454', 'tag:social.lol,2013:111858928469213603', 'tag:social.lol,2013:111858430714746892', 'tag:social.lol,2013:111858423171094248', 'tag:social.lol,2013:111858301200235405', 'tag:social.lol,2013:111857974668881187', 'tag:social.lol,2013:111857900635271641', 'tag:social.lol,2013:111857694376709597', 'tag:social.lol,2013:111857436286633760', 'tag:social.lol,2013:111857137979987048', 'tag:social.lol,2013:111857103978043556', 'tag:social.lol,2013:111856997617210162', 'tag:social.lol,2013:111856217577297131', 'tag:social.lol,2013:111856170350960372', 'tag:social.lol,2013:111855623204546530', 'tag:social.lol,2013:111855621656420377', 'tag:social.lol,2013:111855468766030492', 'tag:social.lol,2013:111855440234709341', 'tag:social.lol,2013:111855434908894152', 'tag:social.lol,2013:111851392412851250', 'tag:social.lol,2013:111850930668503292', 'tag:social.lol,2013:111850050442618088', 'tag:social.lol,2013:111850007421978303', 'tag:social.lol,2013:111849905251260487', 'tag:social.lol,2013:111845675405269835', 'tag:social.lol,2013:111845632010809004', 'tag:social.lol,2013:111845512037085620', 'tag:social.lol,2013:111859864713418998', 'tag:social.lol,2013:111859341751889020', 'tag:social.lol,2013:111859239309631504', 'tag:social.lol,2013:111858464388959554', 'tag:social.lol,2013:111858375606893862', 'tag:social.lol,2013:111858311784012299', 'tag:social.lol,2013:111857658996015119', 'tag:social.lol,2013:111857127016904133', 'tag:social.lol,2013:111856815139477504', 'tag:social.lol,2013:111856216090045395', 'tag:social.lol,2013:111855619467584088', 'tag:social.lol,2013:111855572232344469', 'tag:social.lol,2013:111854671551078952', 'tag:social.lol,2013:111853703198097759', 'tag:social.lol,2013:111853698603326272', 'tag:social.lol,2013:111851408245414029', 'tag:social.lol,2013:111851398154630222', 'tag:social.lol,2013:111850322694174009', 'tag:social.lol,2013:111850162509375754', 'tag:social.lol,2013:111846085540222157', 'tag:social.lol,2013:111845893137250195', 'tag:social.lol,2013:111845859841361515', 'tag:social.lol,2013:111845769639605206', 'tag:social.lol,2013:111845760863520468', 'tag:social.lol,2013:111845695462659032', 'tag:social.lol,2013:111845638962151992', 'tag:social.lol,2013:111845527373627919', 'tag:social.lol,2013:111845507802999062', 'tag:social.lol,2013:111844907874890189', 'tag:social.lol,2013:111844354645133367', 'tag:social.lol,2013:111841083243592781', 'tag:social.lol,2013:111840999815897069', 'tag:social.lol,2013:111839578320701851'])
I 2024-02-02 05:36:53.986424+00:00 Found 6 private activities: dict_keys(['tag:social.lol,2013:111851381172792466', 'tag:social.lol,2013:111851337602923683', 'tag:social.lol,2013:111851126140599026', 'tag:social.lol,2013:111851636739210063', 'tag:social.lol,2013:111851368983628212', 'tag:social.lol,2013:111851336872729814'])
I 2024-02-02 05:36:53.988507+00:00 skipping refetch h-feed. last-syndication-url None, last-refetch 2023-01-30 09:29:57.360424+00:00
I 2024-02-02 05:36:54.014492+00:00 Updating @robb@social.lol (Mastodon) /mastodon/@robb@social.lol : {'last_public_post': datetime.datetime(2024, 2, 2, 3, 54, 39), 'recent_private_posts': 0, 'last_polled': datetime.datetime(2024, 2, 2, 5, 36, 52, 27059, tzinfo=datetime.timezone.utc), 'poll_status': 'ok'}
E 2024-02-02 05:36:54.080675+00:00 Exception on /_ah/queue/poll [POST]
Traceback (most recent call last):
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/flask/app.py", line 1463, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/flask/app.py", line 872, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/flask/app.py", line 762, in handle_user_exception
return self.ensure_sync(handler)(e) # type: ignore[no-any-return]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/flask_background.py", line 43, in background_handle_exception
raise e
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/flask/app.py", line 870, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/flask/app.py", line 855, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args) # type: ignore[no-any-return]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/flask/views.py", line 110, in view
return current_app.ensure_sync(self.dispatch_request)(**kwargs) # type: ignore[no-any-return]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workspace/tasks.py", line 111, in dispatch_request
util.add_poll_task(source)
File "/workspace/util.py", line 127, in add_poll_task
add_task(queue, eta_seconds=eta_seconds, source_key=source.key.urlsafe().decode(),
File "/workspace/util.py", line 172, in add_task
task = tasks_client.create_task(CreateTaskRequest(parent=queue_path, task=params))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/google/cloud/tasks_v2/services/cloud_tasks/client.py", line 2454, in create_task
self._validate_universe_domain()
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/google/cloud/tasks_v2/services/cloud_tasks/client.py", line 537, in _validate_universe_domain
or CloudTasksClient._compare_universes(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/layers/google.python.pip/pip/lib/python3.11/site-packages/google/cloud/tasks_v2/services/cloud_tasks/client.py", line 514, in _compare_universes
credentials_universe = credentials.universe_domain
^^^^^^^^^^^^^^^^^^^^^^^^^^^
AttributeError: 'Credentials' object has no attribute 'universe_domain'