Open
Description
Current bug occurred with duplicate detection, forcing me to temporarily suspend the duplicate detection task:
Session is closed
Traceback (most recent call last):
File "/app/src/core/tasks/operators/base.py", line 51, in run_task
await self.inner_task_logic()
File "/app/src/core/tasks/operators/url_duplicate/core.py", line 36, in inner_task_logic
tdo.is_duplicate = await self.pdap_client.is_url_duplicate(tdo.url)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/app/src/pdap_api/client.py", line 84, in is_url_duplicate
response_info = await self.access_manager.make_request(request_info)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/pdap_access_manager/access_manager.py", line 223, in make_request
async with method(**ri.kwargs()) as response:
File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 1425, in __aenter__
self._resp: _RetType = await self._coro
^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/site-packages/aiohttp/client.py", line 512, in _request
raise RuntimeError("Session is closed")
RuntimeError: Session is closed
Will need to resolve and then re-enable the task.
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Watching